dao::messages::SetQuickslotMessage

struct

Derives from dao::messages::Message.

Puts an ability or an item in a slot of a creature’s quickbar, or clears the slot.

Sent to the creature, as the quickbar does when an icon is dropped, or to the game modes, which pass it on.

Declared in dao/Messages.h.

Functions

DAO_VFTABLE()

DAO_VFTABLE(67741)

SetQuickslotMessage()

SetQuickslotMessage()

Makes the message with the creature, slot and ability 0 and the strings empty.

Fields

Field Type  
ability std::int32_t = 0 the ability’s row in abi_base, or 0 to clear the slot
creature ObjectId{}  
refTemplate core::WStringRep an item’s template, or empty for the tagged item’s own
slot std::int32_t = 0 the slot, 0 to 49, or -1 for the first free one
tag core::WStringRep an item’s tag for an item’s slot, else empty