SMSG_ARENA_TEAM_EVENT
Client Version 2.4.3, Client Version 3
Wowm Representation
Autogenerated from wowm
file at wow_message_parser/wowm/world/arena/smsg_arena_team_event.wowm:18
.
smsg SMSG_ARENA_TEAM_EVENT = 0x0357 {
ArenaTeamEvent event;
if (event == JOIN) {
CString joiner_name;
CString arena_team_name1;
Guid joiner;
}
else if (event == LEAVE) {
CString leaver_name;
Guid leaver;
}
else if (event == REMOVE) {
CString kicked_player_name;
CString arena_team_name2;
CString kicker_name;
}
else if (event == LEADER_IS
|| event == DISBANDED) {
CString leader_name;
CString arena_team_name3;
}
else if (event == LEADER_CHANGED) {
CString old_leader;
CString new_leader;
}
u8 amount_of_strings;
CString[amount_of_strings] string;
}
Header
SMSG have a header of 4 bytes.
SMSG Header
Offset | Size / Endianness | Type | Name | Description |
---|---|---|---|---|
0x00 | 2 OR 3 / Big | uint16 OR uint16+uint8 | size | Size of the rest of the message including the opcode field but not including the size field. Wrath server messages can be 3 bytes. If the first (most significant) size byte has 0x80 set, the header will be 3 bytes, otherwise it is 2. |
- | 2 / Little | uint16 | opcode | Opcode that determines which fields the message contains. |
Body
Offset | Size / Endianness | Type | Name | Comment |
---|---|---|---|---|
- | 1 / - | ArenaTeamEvent | event |
If event is equal to JOIN
:
Offset | Size / Endianness | Type | Name | Comment |
---|---|---|---|---|
- | - / - | CString | joiner_name | |
- | - / - | CString | arena_team_name1 | |
- | 8 / Little | Guid | joiner |
Else If event is equal to LEAVE
:
Offset | Size / Endianness | Type | Name | Comment |
---|---|---|---|---|
- | - / - | CString | leaver_name | |
- | 8 / Little | Guid | leaver |
Else If event is equal to REMOVE
:
Offset | Size / Endianness | Type | Name | Comment |
---|---|---|---|---|
- | - / - | CString | kicked_player_name | |
- | - / - | CString | arena_team_name2 | |
- | - / - | CString | kicker_name |
Else If event is equal to LEADER_IS
or
is equal to DISBANDED
:
Offset | Size / Endianness | Type | Name | Comment |
---|---|---|---|---|
- | - / - | CString | leader_name | |
- | - / - | CString | arena_team_name3 |
Else If event is equal to LEADER_CHANGED
:
Offset | Size / Endianness | Type | Name | Comment |
---|---|---|---|---|
- | - / - | CString | old_leader | |
- | - / - | CString | new_leader | |
- | 1 / - | u8 | amount_of_strings | |
- | ? / - | CString[amount_of_strings] | string |