Table of Contents

Struct HotkeyData

Namespace
FishMMO.Shared
Assembly
FishMMO.Shared.dll

Data structure representing a hotkey assignment for a character.

public struct HotkeyData
Inherited Members

Fields

ReferenceID

Reference ID for the hotkey target (e.g., ability or item ID).

public long ReferenceID

Field Value

long

Remarks

Use UnsetReferenceID (-1) when the hotkey slot is empty. The C# default (0) is a valid ID; code that checks for "unset" MUST compare against UnsetReferenceID, not zero.

Slot

Slot index where the hotkey is assigned.

public int Slot

Field Value

int

Type

Type of the hotkey (e.g., ability, item).

public byte Type

Field Value

byte

UnsetReferenceID

Sentinel value indicating an unset/empty hotkey slot.

public const long UnsetReferenceID = -1

Field Value

long