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;
}

SMSG have a header of 4 bytes.

SMSG Header

OffsetSize / EndiannessTypeNameDescription
0x002 OR 3 / Biguint16 OR uint16+uint8sizeSize 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 / Littleuint16opcodeOpcode that determines which fields the message contains.

Body

OffsetSize / EndiannessTypeNameComment
-1 / -ArenaTeamEventevent

If event is equal to JOIN:

OffsetSize / EndiannessTypeNameComment
-- / -CStringjoiner_name
-- / -CStringarena_team_name1
-8 / LittleGuidjoiner

Else If event is equal to LEAVE:

OffsetSize / EndiannessTypeNameComment
-- / -CStringleaver_name
-8 / LittleGuidleaver

Else If event is equal to REMOVE:

OffsetSize / EndiannessTypeNameComment
-- / -CStringkicked_player_name
-- / -CStringarena_team_name2
-- / -CStringkicker_name

Else If event is equal to LEADER_IS or is equal to DISBANDED:

OffsetSize / EndiannessTypeNameComment
-- / -CStringleader_name
-- / -CStringarena_team_name3

Else If event is equal to LEADER_CHANGED:

OffsetSize / EndiannessTypeNameComment
-- / -CStringold_leader
-- / -CStringnew_leader
-1 / -u8amount_of_strings
-? / -CString[amount_of_strings]string