Vixen
caa30e12
csharp
public enum ContainerFailure

Why a transaction did not apply.

Read the guide page for this →

Remarks

⚠ A reason rather than a boolean, because every one of these is something a player is told. "Your bag is full", "that is soulbound", "a ring does not go there" and "you do not have five of those" are four different sentences, and a client that has to guess which one shows the wrong message at the worst moment.

Fields and properties (12)

  • None

    It applied.

  • NoSuchContainer

    The set has no container by that name.

  • NoSuchSlot

    That container has no such slot.

  • SlotEmpty

    There is nothing in the slot to move.

  • NotEnough

    There are fewer there than the operation asked for.

  • Rejected

    The destination's policy does not take that kind of item.

  • WrongSlot

    An equipment slot that wants something else.

  • Bound

    A bound item and a destination that does not take bound items.

  • Full

    Nowhere for it to go.

  • Occupied

    The destination holds something else and the operation was not a swap.

  • ReadOnly

    Nothing may change in that container.

  • UnknownItem

    This build does not know the item being moved.

Used by (4)

  • BindingTestsVixen.Gameplay.Inventory.Tests
  • ContainerResultVixen.Gameplay.Inventory
  • ContainerSetVixen.Gameplay.Inventory
  • ContainerTransactionTestsVixen.Gameplay.Inventory.Tests