SMSG_LOG_XPGAIN
Client Version 1, Client Version 2
Wowm Representation
Autogenerated from wowm file at wow_message_parser/wowm/world/exp/smsg_log_xpgain.wowm:8.
smsg SMSG_LOG_XPGAIN = 0x01D0 {
Guid target;
u32 total_exp;
ExperienceAwardType exp_type;
if (exp_type == NON_KILL) {
u32 experience_without_rested;
f32 exp_group_bonus;
}
}
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 | 8 / Little | Guid | target | |
| 0x0C | 4 / Little | u32 | total_exp | |
| 0x10 | 1 / - | ExperienceAwardType | exp_type |
If exp_type is equal to NON_KILL:
| Offset | Size / Endianness | Type | Name | Comment |
|---|---|---|---|---|
| 0x11 | 4 / Little | u32 | experience_without_rested | |
| 0x15 | 4 / Little | f32 | exp_group_bonus | mangoszero sets to 1 and comments: 1 - none 0 - 100% group bonus output |
Client Version 3.3.5
Wowm Representation
Autogenerated from wowm file at wow_message_parser/wowm/world/exp/smsg_log_xpgain.wowm:21.
smsg SMSG_LOG_XPGAIN = 0x01D0 {
Guid target;
u32 total_exp;
ExperienceAwardType exp_type;
if (exp_type == NON_KILL) {
u32 experience_without_rested;
f32 exp_group_bonus;
}
Bool exp_includes_recruit_a_friend_bonus;
}
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 |
|---|---|---|---|---|
| - | 8 / Little | Guid | target | |
| - | 4 / Little | u32 | total_exp | |
| - | 1 / - | ExperienceAwardType | exp_type |
If exp_type is equal to NON_KILL:
| Offset | Size / Endianness | Type | Name | Comment |
|---|---|---|---|---|
| - | 4 / Little | u32 | experience_without_rested | |
| - | 4 / Little | f32 | exp_group_bonus | mangoszero sets to 1 and comments: 1 - none 0 - 100% group bonus output |
| - | 1 / - | Bool | exp_includes_recruit_a_friend_bonus |