- summary: One slot of a shortcut bar: its position and what it holds (a spell, an item, an emote ...).
- area: Game.Common
One slot of a shortcut bar: its position and what it holds (a spell, an item, an emote ...).
Kind struct · Area Game.Common
One entry of a shortcut bar.
HOW TO READ IT
1. Shortcut.slot_id is the position of the entry in the bar (0 = first slot).
2. Exactly one member of Shortcut.shortcut is set; it says what the slot holds:
Shortcut.shortcut_spell a spell (its spell id; 0 is the weapon),
Shortcut.shortcut_object_item an inventory item,
Shortcut.shortcut_preset a preset,
Shortcut.shortcut_smiley a smiley, Shortcut.shortcut_emote an emote,
Shortcut.shortcut_cosmetic_object a cosmetic object, Shortcut.shortcut_outfit an outfit.
One declared enum member is never read by the client: ignore it.
Not sent on its own — a record carried by the shortcut-bar messages and FightControlEvent, never sent on its own. inferred
Used by
Fields
| # | Field | Type | Meaning | You set it |
|---|---|---|---|---|
| 3 | slot_id | int32 | The position of the entry in the bar (0 = first slot). The client copies it into ShortcutProperties.id. | never |
| 2 | shortcut_spell | ShortcutSpell | A spell: put this spell on the slot. Type ShortcutSpell when recovered; the client turns this branch into ShortCutBarTypes.Spell. | never |
| 4 | shortcut_emote | ShortcutEmote | An emote. Type ShortcutEmote when recovered; the client turns this branch into ShortCutBarTypes.Emote. | never |
| 5 | shortcut_object_item | type not documented yet | An inventory item. Type ShortcutObjectItem when recovered; the client turns this branch into ShortCutBarTypes.Item. | never |
| 6 | shortcut_cosmetic_object | type not documented yet | A cosmetic object. Type ShortcutCosmeticObject when recovered; the client turns this branch into ShortCutBarTypes.CosmeticItem. | never |
| 7 | shortcut_smiley | ShortcutSmiley | A smiley. Type ShortcutSmiley when recovered; the client turns this branch into ShortCutBarTypes.Smiley. | never |
| 8 | shortcut_outfit | type not documented yet | An outfit. Type ShortcutOutfit when recovered; the client turns this branch into ShortCutBarTypes.Outfit. | never |
| 9 | shortcut_preset | type not documented yet | A preset. Type ShortcutPreset when recovered; the client turns this branch into ShortCutBarTypes.Preset. | never |