SMSG_CRITERIA_UPDATE
Client Version 3.3.5
Wowm Representation
Autogenerated from wowm
file at wow_message_parser/wowm/world/achievement/smsg_criteria_update.wowm:1
.
smsg SMSG_CRITERIA_UPDATE = 0x046A {
u32 achievement;
PackedGuid progress_counter;
PackedGuid player;
u32 flags;
DateTime time;
Seconds time_elapsed;
u32 unknown;
}
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 | achievement | |
- | - / - | PackedGuid | progress_counter | trinitycore/azerothcore: This is a u32 passed to the appendPackGUID function which promotes it to u64. |
- | - / - | PackedGuid | player | |
- | 4 / Little | u32 | flags | trinitycore: this are some flags, 1 is for keeping the counter at 0 in client |
- | 4 / Little | DateTime | time | |
- | 4 / Little | Seconds | time_elapsed | |
- | 4 / Little | u32 | unknown |