the player
the hotbar slot number (one-indexed)
na; always zero?
true, if we are adding a shortcut; false, if we are removing any current shortcut
optional; details about the shortcut to be created
true, if we are adding a shortcut; false, if we are removing any current shortcut
the player
optional; details about the shortcut to be created
the hotbar slot number (one-indexed)
na; always zero?
Facilitate a quick-use button for the hotbar.
The hotbar is the eight quick-use slots along the bottom center of the HUD. Each of these slots is the application of a medkit, or use of an implant, or repetition of a text macro. There are actually sixty-four of these slots, eight bound to the Function keys depending on which set is selected.
When
addShortcutistrue, the providedShortcutwill be defined and attached to the respective hotbar slot indicated byslot. If it isfalse, the givenslotwill be unbound. Nothing happens if theslotselection is invalid.This packet coordinates the shortcut both as an upstream and as a downstream packet, leaning heavily towards the latter. An interesting application is that, if the user does not already have a medkit or a medkit shortcut; but, if he places a medkit in his inventory, the shortcut will be automatically added to his hotbar. This, in turn, dispatches a packet informing the server. The prior functionality will rarely be appreciated, however, as players rarely never have their medkit shortcut unbound.
the player
the hotbar slot number (one-indexed)
na; always zero?
true, if we are adding a shortcut; false, if we are removing any current shortcut
optional; details about the shortcut to be created
ChangeShortcutBankMessage