S>C 0x67 SID_FRIENDSADD

Transport Layer:Transmission Control Protocol (TCP)
Application Layer:Battle.net v1 TCP Messages (SID)
Message Id:0x67
Message Name:SID_FRIENDSADD
Direction:Server to Client
Used By:Starcraft Original, Starcraft Broodwar
Warcraft III Reign of Chaos, Warcraft III The Frozen Throne
Message Format:
(does not include protocol header)
(STRING) Account
  (UINT8) Status
  (UINT8) Location id
 (UINT32) Product id
(STRING) Location name

Remarks

Sent to clients supporting this packet when an account is added to the client's friendlist. New friends are appended to the list.

Bitwise-values and meanings for Status:

0x01: Mutual
0x02: DND
0x04: Away

Value and meanings for Location id:

0x00: Offline
0x01: Not in chat
0x02: In chat
0x03: In public game
0x04: In private game not on your friends list
0x05: In private game is on your friends list

Usually requested with the chat command /friend add.

See [SID_FRIENDSLIST] for more information.

| Edited: Anonymous

Comments

idiat

The order of Friend Type and Friend Status should be switched.

Kyro

Actually, it's in the right order.

Caaaaarrrrlll

Renamed Friend Type to Status and Friend Status to Location.

Also made sure Status and Location were correct, as previously thought to be incorrect by idiat.