Vixen
c7401864
csharp
public readonly record struct SlotRef

One slot of one container: the coordinate every operation is written in.

Read the guide page for this →

Fields and properties (4)

  • public ContainerId Container

    Which container.

  • public int Slot

    Which slot in it, counting from zero.

  • public static SlotRef None

    Nowhere.

  • public bool IsSome

    Whether it names a slot at all.

Methods (2)

  • public SlotRef(ContainerId Container, int Slot)

    One slot of one container: the coordinate every operation is written in.

  • public override string ToString()

    Returns the fully qualified type name of this instance.

Used by (6)

  • AtomicityTestsVixen.Gameplay.Inventory.Tests
  • ConservationOracleTestsVixen.Gameplay.Inventory.Tests
  • ContainerChangeVixen.Gameplay.Inventory
  • ContainerSetVixen.Gameplay.Inventory
  • ContainerTransactionVixen.Gameplay.Inventory
  • StepVixen.Gameplay.Inventory