Difference between revisions of "FRDU:UnscrambleLocalFriendCode"
Jump to navigation
Jump to search
Steveice10 (talk | contribs) (Created page with "=Request= {| class="wikitable" border="1" |- ! Index Word ! Description |- | 0 | Header code [0x001C0042] |- | 1 | Friend code count |- | 2 | ((count * 12) << 14) <nowiki>|</no...") |
Steveice10 (talk | contribs) m (moved FRDU:DecodeLocalFriendCode to FRDU:UnscrambleLocalFriendCode) |
Latest revision as of 06:38, 8 December 2015
Request[edit]
Index Word | Description |
---|---|
0 | Header code [0x001C0042] |
1 | Friend code count |
2 | ((count * 12) << 14) | 0x402 |
3 | Pointer to encoded friend codes. Each is 12 bytes large. |
The following is located 0x100-bytes after the beginning of the above command buffer:
Index Word | Description |
---|---|
0 | ((count * 8) << 14) | 2 |
1 | Pointer to write decoded local friend codes to. Each is 8 bytes large. |
Response[edit]
Index Word | Description |
---|---|
0 | Header code |
1 | Result code |
Description[edit]
This decodes one or more encoded friend codes into local friend codes for use with some friend-related commands. Encoded friend codes seem to generally be retrieved from NWMUDS command GetNodeInformation.