public enum ContainerFailureWhy a transaction did not apply.
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)
NoneIt applied.
NoSuchContainerThe set has no container by that name.
NoSuchSlotThat container has no such slot.
SlotEmptyThere is nothing in the slot to move.
NotEnoughThere are fewer there than the operation asked for.
RejectedThe destination's policy does not take that kind of item.
WrongSlotAn equipment slot that wants something else.
BoundA bound item and a destination that does not take bound items.
FullNowhere for it to go.
OccupiedThe destination holds something else and the operation was not a swap.
ReadOnlyNothing may change in that container.
UnknownItemThis 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