csharp
public record class ContainerPolicyWhat a container will and will not take, and what it does to what it takes.
Remarks
Doc 28 § Inventory's claim, as data. Bags, equipment slots, bank tabs, guild bank tabs, mail attachments, trade windows, vendor buyback and loot windows are one container type with different policies — so there is one set of stacking rules, one set of capacity rules and one place a duplication bug could be.
Fields and properties (6)
public static ContainerPolicy DefaultTakes anything, stacks, keeps bound items, binds nothing, writable.
public GameplayTagQuery AcceptsWhat may go in, as a tag query over the item's own tags.
public bool AllowsStackingWhether two compatible instances merge into one slot.
public bool AllowsBoundWhether an already-bound item may be put in.
public ItemBinding BindsOnWhich binding trigger arriving here fires.
public bool IsReadOnlyWhether nothing may change. A vendor's stock list, a loot window after it is taken.
Used by (4)
- ContainerVixen.Gameplay.Inventory
- ContainerSetVixen.Gameplay.Inventory
- ContainerTransactionTestsVixen.Gameplay.Inventory.Tests
- ContentVixen.Gameplay.Inventory.Tests