Namespace: GGG.Equipment

Runtime state for one slot in an equipment loadout.

[Serializable]
public sealed class EquipmentSlot

Inheritance

object ← EquipmentSlot

Inherited Members

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

Properties

Current

Gets the item entry currently held by this equipment slot.

public EquipmentEntry Current { get; }

Property Value

EquipmentEntry

Definition

Gets the definition associated with this runtime instance.

public EquipmentSlotDefinition Definition { get; }

Property Value

EquipmentSlotDefinition

IsOccupied

Gets whether this slot currently contains an item.

public bool IsOccupied { get; }

Property Value

bool

Methods

ToString()

Returns a readable representation of this instance.

public override string ToString()

Returns

string

A readable representation of this instance.