Struct CharacterHotkeyData
Character hotkey data transfer object.
public struct CharacterHotkeyData : IVersioned<CharacterHotkeyData>
- Implements
- Inherited Members
- Extension Methods
Constructors
CharacterHotkeyData(long, long, byte, int, long)
public CharacterHotkeyData(long id, long characterID, byte type, int slot, long referenceID)
Parameters
CharacterHotkeyData(long, long, long, byte, int, long)
public CharacterHotkeyData(long id, long version, long characterID, byte type, int slot, long referenceID)
Parameters
Fields
CharacterID
Character that owns this hotkey.
public readonly long CharacterID
Field Value
ID
Primary key.
public readonly long ID
Field Value
ReferenceID
Referenced ability or item ID.
public readonly long ReferenceID
Field Value
Slot
Hotkey slot index.
public readonly int Slot
Field Value
Type
Hotkey type identifier.
public readonly byte Type
Field Value
Version
Optimistic concurrency version.
public readonly long Version
Field Value
Methods
WithVersion(long)
Returns a new instance of this DTO with the specified version. Used by extension methods to create incremented copies.
public CharacterHotkeyData WithVersion(long newVersion)
Parameters
newVersionlongThe new version value.
Returns
- CharacterHotkeyData
A new instance with the updated version.