BNETDocs
S>C 0x67 SID_FRIENDSADD
Message Id:0x67
Message Name:SID_FRIENDSADD
Direction:Server to Client
Used By:Starcraft Broodwar, Starcraft Original
Warcraft III The Frozen Throne, Warcraft III Reign of Chaos
Format:

(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:
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.