|

Message ID: |
0x65 |
Message Name: |
SID_FRIENDSLIST
|
Direction: |
Server -> Client (Received) |
Used By: |
Starcraft, Starcraft Broodwar, Warcraft III, Warcraft III: TFT |
Format: Help
Hint: Field names highlighted in blue will display a definition if you hover over the text. |
(BYTE) Number of Entries
For each entry:
(STRING) Account
(BYTE) Status
(BYTE) Location
(DWORD) ProductID
(STRING) Location name |
Remarks: |
This packet contains the current user's Friends List. If the friend is offline, their ProductID is 0. Location is only supplied when it is relevant - for example, if Status is set to offline (0x00), the location string will be empty.
Possible bitwise values for Status:
0x01: Mutual
0x02: DND
0x04: Away
View consts: [pas cpp vb]
Possible values for Location:
0x00: Offline
0x01: Not in chat
0x02: In chat
0x03: In a public game
0x04: In a private game, and you are not that person's friend.
0x05: In a private game, and you are that person's friend.
View consts: [pas cpp vb]
Whether you are a particular user's friend causes different behavior when receiving information about the type of game the user is in (this is true when receiving friend updates, too). When the Location field is 0x04, the user is in a password-protected game, and you are not on that user's friends list. When it is 0x05, the user is in a password-protected game, and you are on that user's friends list.
For example, let's say MyndFyre is logging on and Arta[vL] is on his friends list. Arta[vL] is also in a password-protected game. MyndFyre is not on Arta[vL]'s friends list. MyndFyre will receive location 0x04 for Arta[vL] and the Channel parameter will be a NULL string. And, if MyndFyre were to type in /f l, Battle.net would respond with SID_CHATEVENT saying "1. Arta[vL] is in a private game."
On the other hand, if Arta[vL] had listed MyndFyre as a friend, then on logon, MyndFyre will receive location 0x05 for Arta[vL] and the name of the password-protected game will come through the Channel parameter of the message. If MyndFyre were to type in /f l, Battle.net would respond with "1. Arta[vL] is in the private game vL." |
|
Please note: This message's official name is not known, and has been invented. |
Related Links: |
[S>0x0F] SID_CHATEVENT, [C>0x65] SID_FRIENDSLIST
|
|
Printable Version
|
User Comments:
None
|
|
|