Vixen
caa30e12
csharp
public readonly record struct ContainerId

Which container. A bag, an equipment set, a bank tab, a trade window's side.

Read the guide page for this →

Remarks

A hash of a name for Symbol's reason: a container id is exchanged between a client and a realm and stored in a durable row, so it has to be the same number in every process without a table to agree on. bags/0, equipment, bank/3.

Fields and properties (3)

  • public uint Value

    The hash of its name. Zero is None.

  • public static ContainerId None

    Not a container.

  • public bool IsSome

    Whether this names one.

Methods (3)

  • public ContainerId(uint Value)

    Which container. A bag, an equipment set, a bank tab, a trade window's side.

  • public static ContainerId From(string? name)

    The id a name hashes to.

  • public override string ToString()

    Returns the fully qualified type name of this instance.

Used by (9)

  • AtomicityTestsVixen.Gameplay.Inventory.Tests
  • ContainerVixen.Gameplay.Inventory
  • ContainerBasicsTestsVixen.Gameplay.Inventory.Tests
  • ContainerSetVixen.Gameplay.Inventory
  • ContainerTransactionVixen.Gameplay.Inventory
  • ContainerTransactionTestsVixen.Gameplay.Inventory.Tests
  • ContentVixen.Gameplay.Inventory.Tests
  • SlotRefVixen.Gameplay.Inventory
  • StepVixen.Gameplay.Inventory