SMSG_DESTROY_OBJECT

Client Version 1, Client Version 2

Immediately removes an object from the presence of the player.

Used by vmangos for logout.

Wowm Representation

Autogenerated from wowm file at wow_message_parser/wowm/world/gameobject/smsg_destroy_object.wowm:3.

smsg SMSG_DESTROY_OBJECT = 0x00AA {
    Guid guid;
}

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
0x048 / LittleGuidguid

Examples

Example 1

Comment

Remove object with GUID 6 from game world.

0, 10, // size
170, 0, // opcode (170)
6, 0, 0, 0, 0, 0, 0, 0, // guid: Guid

Client Version 3.3.5

Immediately removes an object from the presence of the player.

Used by vmangos for logout.

azerothcore: If the following bool is true, the client will call void CGUnit_C::OnDeath() for this object. OnDeath() does for eg trigger death animation and interrupts certain spells/missiles/auras/sounds...

Wowm Representation

Autogenerated from wowm file at wow_message_parser/wowm/world/gameobject/smsg_destroy_object.wowm:23.

smsg SMSG_DESTROY_OBJECT = 0x00AA {
    Guid guid;
    Bool target_died;
}

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
0x048 / LittleGuidguid
0x0C1 / -Booltarget_died