SMSG_INIT_WORLD_STATES

Client Version 1.12

Wowm Representation

Autogenerated from wowm file at wow_message_parser/wowm/world/world/smsg_init_world_states.wowm:1.

smsg SMSG_INIT_WORLD_STATES = 0x02C2 {
    Map map;
    Area area;
    u16 amount_of_states;
    WorldState[amount_of_states] states;
}

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
0x044 / -Mapmap
0x084 / -Areaarea
0x0C2 / Littleu16amount_of_states
0x0E? / -WorldState[amount_of_states]states

Client Version 2.4.3

Wowm Representation

Autogenerated from wowm file at wow_message_parser/wowm/world/world/smsg_init_world_states.wowm:1.

smsg SMSG_INIT_WORLD_STATES = 0x02C2 {
    Map map;
    Area area;
    u16 amount_of_states;
    WorldState[amount_of_states] states;
}

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
0x044 / -Mapmap
0x084 / -Areaarea
0x0C2 / Littleu16amount_of_states
0x0E? / -WorldState[amount_of_states]states

Client Version 3.3.5

Wowm Representation

Autogenerated from wowm file at wow_message_parser/wowm/world/world/smsg_init_world_states.wowm:10.

smsg SMSG_INIT_WORLD_STATES = 0x02C2 {
    Map map;
    Area area;
    Area sub_area;
    u16 amount_of_states;
    WorldState[amount_of_states] states;
}

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
-4 / -Mapmap
-4 / -Areaarea
-4 / -Areasub_area
-2 / Littleu16amount_of_states
-? / -WorldState[amount_of_states]states