SMSG_BATTLEFIELD_LIST

Client Version 1.12

Wowm Representation

Autogenerated from wowm file at wow_message_parser/wowm/world/battleground/smsg_battlefield_list.wowm:18.

smsg SMSG_BATTLEFIELD_LIST = 0x023D {
    Guid battlemaster;
    Map map;
    BattlegroundBracket bracket;
    u32 number_of_battlegrounds;
    u32[number_of_battlegrounds] battlegrounds;
}

SMSG have a header of 4 bytes.

SMSG Header

OffsetSize / EndiannessTypeNameDescription
0x002 / Biguint16sizeSize of the rest of the message including the opcode field but not including the size field.
0x022 / Littleuint16opcodeOpcode that determines which fields the message contains.

Body

OffsetSize / EndiannessTypeNameComment
0x048 / LittleGuidbattlemaster
0x0C4 / -Mapmap
0x101 / -BattlegroundBracketbracket
0x114 / Littleu32number_of_battlegrounds
0x15? / -u32[number_of_battlegrounds]battlegrounds

Client Version 2.4.3

Wowm Representation

Autogenerated from wowm file at wow_message_parser/wowm/world/battleground/smsg_battlefield_list.wowm:42.

smsg SMSG_BATTLEFIELD_LIST = 0x023D {
    Guid battlemaster;
    BattlegroundType battleground_type;
    u32 number_of_battlegrounds;
    u32[number_of_battlegrounds] battlegrounds;
}

Header

SMSG have a header of 4 bytes.

SMSG Header

OffsetSize / EndiannessTypeNameDescription
0x002 / Biguint16sizeSize of the rest of the message including the opcode field but not including the size field.
0x022 / Littleuint16opcodeOpcode that determines which fields the message contains.

Body

OffsetSize / EndiannessTypeNameComment
0x048 / LittleGuidbattlemaster
0x0C4 / -BattlegroundTypebattleground_type
0x104 / Littleu32number_of_battlegrounds
0x14? / -u32[number_of_battlegrounds]battlegrounds

Client Version 3.3.5

Wowm Representation

Autogenerated from wowm file at wow_message_parser/wowm/world/battleground/smsg_battlefield_list.wowm:77.

smsg SMSG_BATTLEFIELD_LIST = 0x023D {
    Guid battlemaster;
    BattlegroundType battleground_type;
    u8 unknown1;
    u8 unknown2;
    u8 has_win;
    u32 win_honor;
    u32 win_arena;
    u32 loss_honor;
    RandomBg random;
    if (random == RANDOM) {
        u8 win_random;
        u32 reward_honor;
        u32 reward_arena;
        u32 honor_lost;
    }
    u32 number_of_battlegrounds;
    u32[number_of_battlegrounds] battlegrounds;
}

Header

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
-8 / LittleGuidbattlemaster
-4 / -BattlegroundTypebattleground_type
-1 / -u8unknown1
-1 / -u8unknown2
-1 / -u8has_win
-4 / Littleu32win_honor
-4 / Littleu32win_arena
-4 / Littleu32loss_honor
-1 / -RandomBgrandom

If random is equal to RANDOM:

OffsetSize / EndiannessTypeNameComment
-1 / -u8win_random
-4 / Littleu32reward_honor
-4 / Littleu32reward_arena
-4 / Littleu32honor_lost
-4 / Littleu32number_of_battlegrounds
-? / -u32[number_of_battlegrounds]battlegrounds