SMSG_QUEST_QUERY_RESPONSE
Client Version 1.12
Wowm Representation
Autogenerated from wowm
file at wow_message_parser/wowm/world/quest/smsg_quest_query_response.wowm:11
.
smsg SMSG_QUEST_QUERY_RESPONSE = 0x005D {
u32 quest_id;
u32 quest_method;
Level32 quest_level;
u32 zone_or_sort;
u32 quest_type;
Faction reputation_objective_faction;
u32 reputation_objective_value;
Faction required_opposite_faction;
u32 required_opposite_reputation_value;
u32 next_quest_in_chain;
Gold money_reward;
Gold max_level_money_reward;
u32 reward_spell;
u32 source_item_id;
u32 quest_flags;
QuestItemReward[4] rewards;
QuestItemReward[6] choice_rewards;
u32 point_map_id;
Vector2d position;
u32 point_opt;
CString title;
CString objective_text;
CString details;
CString end_text;
QuestObjective[4] objectives;
CString[4] objective_texts;
}
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 | quest_id | |
0x08 | 4 / Little | u32 | quest_method | Accepted values: 0, 1 or 2. 0==IsAutoComplete() (skip objectives/details) |
0x0C | 4 / Little | Level32 | quest_level | |
0x10 | 4 / Little | u32 | zone_or_sort | |
0x14 | 4 / Little | u32 | quest_type | |
0x18 | 2 / - | Faction | reputation_objective_faction | cmangos: shown in quest log as part of quest objective |
0x1A | 4 / Little | u32 | reputation_objective_value | cmangos: shown in quest log as part of quest objective |
0x1E | 2 / - | Faction | required_opposite_faction | cmangos: RequiredOpositeRepFaction, required faction value with another (oposite) faction (objective). cmangos sets to 0 |
0x20 | 4 / Little | u32 | required_opposite_reputation_value | cmangos: RequiredOpositeRepValue, required faction value with another (oposite) faction (objective). cmangos sets to 0 |
0x24 | 4 / Little | u32 | next_quest_in_chain | |
0x28 | 4 / Little | Gold | money_reward | |
0x2C | 4 / Little | Gold | max_level_money_reward | cmangos: used in XP calculation at client |
0x30 | 4 / Little | u32 | reward_spell | cmangos: reward spell, this spell will display (icon) (casted if RewSpellCast==0) |
0x34 | 4 / Little | u32 | source_item_id | |
0x38 | 4 / Little | u32 | quest_flags | |
0x3C | 32 / - | QuestItemReward[4] | rewards | |
0x5C | 48 / - | QuestItemReward[6] | choice_rewards | |
0x8C | 4 / Little | u32 | point_map_id | |
0x90 | 8 / - | Vector2d | position | |
0x98 | 4 / Little | u32 | point_opt | |
0x9C | - / - | CString | title | |
- | - / - | CString | objective_text | |
- | - / - | CString | details | |
- | - / - | CString | end_text | |
- | 64 / - | QuestObjective[4] | objectives | |
- | ? / - | CString[4] | objective_texts |
Client Version 2.4.3
Wowm Representation
Autogenerated from wowm
file at wow_message_parser/wowm/world/quest/smsg_quest_query_response.wowm:49
.
smsg SMSG_QUEST_QUERY_RESPONSE = 0x005D {
u32 quest_id;
u32 quest_method;
Level32 quest_level;
u32 zone_or_sort;
u32 quest_type;
u32 suggest_player_amount;
Faction reputation_objective_faction;
u32 reputation_objective_value;
Faction required_opposite_faction;
u32 required_opposite_reputation_value;
u32 next_quest_in_chain;
Gold money_reward;
Gold max_level_money_reward;
u32 reward_spell;
u32 casted_reward_spell;
u32 honor_reward;
u32 source_item_id;
u32 quest_flags;
u32 title_reward;
QuestItemReward[4] rewards;
QuestItemReward[6] choice_rewards;
u32 point_map_id;
Vector2d position;
u32 point_opt;
CString title;
CString objective_text;
CString details;
CString end_text;
QuestObjective[4] objectives;
CString[4] objective_texts;
}
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 | quest_id | |
0x08 | 4 / Little | u32 | quest_method | Accepted values: 0, 1 or 2. 0==IsAutoComplete() (skip objectives/details) |
0x0C | 4 / Little | Level32 | quest_level | |
0x10 | 4 / Little | u32 | zone_or_sort | |
0x14 | 4 / Little | u32 | quest_type | |
0x18 | 4 / Little | u32 | suggest_player_amount | |
0x1C | 2 / - | Faction | reputation_objective_faction | cmangos: shown in quest log as part of quest objective |
0x1E | 4 / Little | u32 | reputation_objective_value | cmangos: shown in quest log as part of quest objective |
0x22 | 2 / - | Faction | required_opposite_faction | cmangos: RequiredOpositeRepFaction, required faction value with another (oposite) faction (objective). cmangos sets to 0 |
0x24 | 4 / Little | u32 | required_opposite_reputation_value | cmangos: RequiredOpositeRepValue, required faction value with another (oposite) faction (objective). cmangos sets to 0 |
0x28 | 4 / Little | u32 | next_quest_in_chain | |
0x2C | 4 / Little | Gold | money_reward | |
0x30 | 4 / Little | Gold | max_level_money_reward | cmangos: used in XP calculation at client |
0x34 | 4 / Little | u32 | reward_spell | cmangos: reward spell, this spell will display (icon) (casted if RewSpellCast==0) |
0x38 | 4 / Little | u32 | casted_reward_spell | mangosone: casted spell |
0x3C | 4 / Little | u32 | honor_reward | |
0x40 | 4 / Little | u32 | source_item_id | |
0x44 | 4 / Little | u32 | quest_flags | |
0x48 | 4 / Little | u32 | title_reward | CharTitleId, new 2.4.0, player gets this title (id from CharTitles) |
0x4C | 32 / - | QuestItemReward[4] | rewards | |
0x6C | 48 / - | QuestItemReward[6] | choice_rewards | |
0x9C | 4 / Little | u32 | point_map_id | |
0xA0 | 8 / - | Vector2d | position | |
0xA8 | 4 / Little | u32 | point_opt | |
0xAC | - / - | CString | title | |
- | - / - | CString | objective_text | |
- | - / - | CString | details | |
- | - / - | CString | end_text | |
- | 64 / - | QuestObjective[4] | objectives | |
- | ? / - | CString[4] | objective_texts |
Client Version 3.3.5
Wowm Representation
Autogenerated from wowm
file at wow_message_parser/wowm/world/quest/smsg_quest_query_response.wowm:93
.
smsg SMSG_QUEST_QUERY_RESPONSE = 0x005D {
u32 quest_id;
u32 quest_method;
Level32 quest_level;
Level32 minimum_quest_level;
u32 zone_or_sort;
u32 quest_type;
u32 suggest_player_amount;
Faction reputation_objective_faction;
u32 reputation_objective_value;
Faction required_opposite_faction;
u32 required_opposite_reputation_value;
u32 next_quest_in_chain;
Gold money_reward;
Gold max_level_money_reward;
u32 reward_spell;
u32 casted_reward_spell;
u32 honor_reward;
f32 honor_reward_multiplier;
u32 source_item_id;
u32 quest_flags;
u32 title_reward;
u32 players_slain;
u32 bonus_talents;
u32 bonus_arena_points;
u32 unknown1;
QuestItemReward[4] rewards;
QuestItemReward[6] choice_rewards;
u32[5] reputation_rewards;
u32[5] reputation_reward_amounts;
u32[5] reputation_reward_overrides;
u32 point_map_id;
Vector2d position;
u32 point_opt;
CString title;
CString objective_text;
CString details;
CString end_text;
CString completed_text;
QuestObjective[4] objectives;
QuestItemRequirement[6] item_requirements;
CString[4] objective_texts;
}
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 | quest_id | |
- | 4 / Little | u32 | quest_method | Accepted values: 0, 1 or 2. 0==IsAutoComplete() (skip objectives/details) |
- | 4 / Little | Level32 | quest_level | |
- | 4 / Little | Level32 | minimum_quest_level | min required level to obtain (added for 3.3). Assumed allowed (database) range is -1 to 255 (still using uint32, since negative value would not be of any known use for client) |
- | 4 / Little | u32 | zone_or_sort | |
- | 4 / Little | u32 | quest_type | |
- | 4 / Little | u32 | suggest_player_amount | |
- | 2 / - | Faction | reputation_objective_faction | cmangos: shown in quest log as part of quest objective |
- | 4 / Little | u32 | reputation_objective_value | cmangos: shown in quest log as part of quest objective |
- | 2 / - | Faction | required_opposite_faction | cmangos: RequiredOpositeRepFaction, required faction value with another (oposite) faction (objective). cmangos sets to 0 |
- | 4 / Little | u32 | required_opposite_reputation_value | cmangos: RequiredOpositeRepValue, required faction value with another (oposite) faction (objective). cmangos sets to 0 |
- | 4 / Little | u32 | next_quest_in_chain | |
- | 4 / Little | Gold | money_reward | |
- | 4 / Little | Gold | max_level_money_reward | cmangos: used in XP calculation at client |
- | 4 / Little | u32 | reward_spell | cmangos: reward spell, this spell will display (icon) (casted if RewSpellCast==0) |
- | 4 / Little | u32 | casted_reward_spell | mangosone: casted spell |
- | 4 / Little | u32 | honor_reward | |
- | 4 / Little | f32 | honor_reward_multiplier | new reward honor (multiplied by around 62 at client side) |
- | 4 / Little | u32 | source_item_id | |
- | 4 / Little | u32 | quest_flags | |
- | 4 / Little | u32 | title_reward | CharTitleId, new 2.4.0, player gets this title (id from CharTitles) |
- | 4 / Little | u32 | players_slain | |
- | 4 / Little | u32 | bonus_talents | |
- | 4 / Little | u32 | bonus_arena_points | |
- | 4 / Little | u32 | unknown1 | |
- | 32 / - | QuestItemReward[4] | rewards | |
- | 48 / - | QuestItemReward[6] | choice_rewards | |
- | 20 / - | u32[5] | reputation_rewards | |
- | 20 / - | u32[5] | reputation_reward_amounts | |
- | 20 / - | u32[5] | reputation_reward_overrides | |
- | 4 / Little | u32 | point_map_id | |
- | 8 / - | Vector2d | position | |
- | 4 / Little | u32 | point_opt | |
- | - / - | CString | title | |
- | - / - | CString | objective_text | |
- | - / - | CString | details | |
- | - / - | CString | end_text | |
- | - / - | CString | completed_text | |
- | 64 / - | QuestObjective[4] | objectives | |
- | 72 / - | QuestItemRequirement[6] | item_requirements | |
- | ? / - | CString[4] | objective_texts |