SMSG_CREATURE_QUERY_RESPONSE
Client Version 1.12
Wowm Representation
Autogenerated from wowm
file at wow_message_parser/wowm/world/queries/smsg_creature_query_response.wowm:1
.
smsg SMSG_CREATURE_QUERY_RESPONSE = 0x0061 {
u32 creature_entry;
optional found {
CString name1;
CString name2;
CString name3;
CString name4;
CString sub_name;
u32 type_flags;
u32 creature_type;
(u32)CreatureFamily creature_family;
u32 creature_rank;
u32 unknown0;
u32 spell_data_id;
u32 display_id;
u8 civilian;
u8 racial_leader;
}
}
Header
SMSG have a header of 4 bytes.
SMSG Header
Offset | Size / Endianness | Type | Name | Description |
---|---|---|---|---|
0x00 | 2 / Big | uint16 | size | Size of the rest of the message including the opcode field but not including the size field. |
0x02 | 2 / Little | uint16 | opcode | Opcode that determines which fields the message contains. |
Body
Offset | Size / Endianness | Type | Name | Comment |
---|---|---|---|---|
0x04 | 4 / Little | u32 | creature_entry | When the found optional is not present all emulators bitwise OR the entry with 0x80000000 .`` |
Optionally the following fields can be present. This can only be detected by looking at the size of the message.
Offset | Size / Endianness | Type | Name | Comment |
---|---|---|---|---|
0x08 | - / - | CString | name1 | |
- | - / - | CString | name2 | |
- | - / - | CString | name3 | |
- | - / - | CString | name4 | |
- | - / - | CString | sub_name | |
- | 4 / Little | u32 | type_flags | |
- | 4 / Little | u32 | creature_type | cmangos: CreatureType.dbc wdbFeild8 |
- | 4 / - | CreatureFamily | creature_family | |
- | 4 / Little | u32 | creature_rank | cmangos: Creature Rank (elite, boss, etc) |
- | 4 / Little | u32 | unknown0 | cmangos: wdbFeild11 |
- | 4 / Little | u32 | spell_data_id | cmangos: Id from CreatureSpellData.dbc wdbField12 |
- | 4 / Little | u32 | display_id | cmangos: DisplayID wdbFeild13 and workaround, way to manage models must be fixed |
- | 1 / - | u8 | civilian | cmangos: wdbFeild14 |
- | 1 / - | u8 | racial_leader |
Examples
Example 1
0, 46, // size
97, 0, // opcode (97)
69, 0, 0, 0, // creature_entry: u32
// Optional found
84, 104, 105, 110, 103, 0, // name1: CString
0, // name2: CString
0, // name3: CString
0, // name4: CString
0, // sub_name: CString
0, 0, 0, 0, // type_flags: u32
0, 0, 0, 0, // creature_type: u32
0, 0, 0, 0, // creature_family: CreatureFamily NONE (0)
0, 0, 0, 0, // creature_rank: u32
0, 0, 0, 0, // unknown0: u32
0, 0, 0, 0, // spell_data_id: u32
0, 0, 0, 0, // display_id: u32
0, // civilian: u8
0, // racial_leader: u8
Client Version 2.4.3
Wowm Representation
Autogenerated from wowm
file at wow_message_parser/wowm/world/queries/smsg_creature_query_response.wowm:30
.
smsg SMSG_CREATURE_QUERY_RESPONSE = 0x0061 {
u32 creature_entry;
optional found {
CString name1;
CString name2;
CString name3;
CString name4;
CString sub_name;
CString description;
u32 type_flags;
u32 creature_type;
(u32)CreatureFamily creature_family;
u32 creature_rank;
u32 unknown0;
u32 spell_data_id;
u32[4] display_ids;
f32 health_multiplier;
f32 mana_multiplier;
u8 racial_leader;
}
}
Header
SMSG have a header of 4 bytes.
SMSG Header
Offset | Size / Endianness | Type | Name | Description |
---|---|---|---|---|
0x00 | 2 / Big | uint16 | size | Size of the rest of the message including the opcode field but not including the size field. |
0x02 | 2 / Little | uint16 | opcode | Opcode that determines which fields the message contains. |
Body
Offset | Size / Endianness | Type | Name | Comment |
---|---|---|---|---|
0x04 | 4 / Little | u32 | creature_entry | When the found optional is not present all emulators bitwise OR the entry with 0x80000000 .`` |
Optionally the following fields can be present. This can only be detected by looking at the size of the message.
Offset | Size / Endianness | Type | Name | Comment |
---|---|---|---|---|
0x08 | - / - | CString | name1 | |
- | - / - | CString | name2 | |
- | - / - | CString | name3 | |
- | - / - | CString | name4 | |
- | - / - | CString | sub_name | |
- | - / - | CString | description | mangosone: 'Directions' for guard, string for Icons 2.3.0 |
- | 4 / Little | u32 | type_flags | |
- | 4 / Little | u32 | creature_type | mangosone: CreatureType.dbc wdbFeild8 |
- | 4 / - | CreatureFamily | creature_family | |
- | 4 / Little | u32 | creature_rank | mangosone: Creature Rank (elite, boss, etc) |
- | 4 / Little | u32 | unknown0 | mangosone: wdbFeild11 |
- | 4 / Little | u32 | spell_data_id | mangosone: Id from CreatureSpellData.dbc wdbField12 |
- | 16 / - | u32[4] | display_ids | |
- | 4 / Little | f32 | health_multiplier | |
- | 4 / Little | f32 | mana_multiplier | |
- | 1 / - | u8 | racial_leader |
Client Version 3.3.5
Wowm Representation
Autogenerated from wowm
file at wow_message_parser/wowm/world/queries/smsg_creature_query_response.wowm:61
.
smsg SMSG_CREATURE_QUERY_RESPONSE = 0x0061 {
u32 creature_entry;
optional found {
CString name1;
CString name2;
CString name3;
CString name4;
CString sub_name;
CString description;
u32 type_flags;
u32 creature_type;
(u32)CreatureFamily creature_family;
u32 creature_rank;
u32 kill_credit1;
u32 kill_credit2;
u32[4] display_ids;
f32 health_multiplier;
f32 mana_multiplier;
u8 racial_leader;
u32[6] quest_items;
u32 movement_id;
}
}
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 |
---|---|---|---|---|
- | 4 / Little | u32 | creature_entry | When the found optional is not present all emulators bitwise OR the entry with 0x80000000 .`` |
Optionally the following fields can be present. This can only be detected by looking at the size of the message.
Offset | Size / Endianness | Type | Name | Comment |
---|---|---|---|---|
- | - / - | CString | name1 | |
- | - / - | CString | name2 | |
- | - / - | CString | name3 | |
- | - / - | CString | name4 | |
- | - / - | CString | sub_name | |
- | - / - | CString | description | mangosone: 'Directions' for guard, string for Icons 2.3.0 |
- | 4 / Little | u32 | type_flags | |
- | 4 / Little | u32 | creature_type | mangosone: CreatureType.dbc wdbFeild8 |
- | 4 / - | CreatureFamily | creature_family | |
- | 4 / Little | u32 | creature_rank | mangosone: Creature Rank (elite, boss, etc) |
- | 4 / Little | u32 | kill_credit1 | mangosone: new in 3.1 |
- | 4 / Little | u32 | kill_credit2 | mangosone: new in 3.1 |
- | 16 / - | u32[4] | display_ids | |
- | 4 / Little | f32 | health_multiplier | |
- | 4 / Little | f32 | mana_multiplier | |
- | 1 / - | u8 | racial_leader | |
- | 24 / - | u32[6] | quest_items | |
- | 4 / Little | u32 | movement_id | mangosone: CreatureMovementInfo.dbc |