csharp
public sealed class InventoryModuleThe container algebra as a module a game composes.
Remarks
No definition types, which is worth a sentence. A bag is not authored content — how many slots a character's bags have is a game's rule and usually a progression one, and a .vxdef for it would be a definition with one number that nothing else can vary. What is authored is the item that goes in it, which is ItemsModule's.
It declares the slot-tag root instead, because an equipment set is a container whose slots are tags and a game that authors no item mentioning Item.Slot would have no such tags in its table.
Fields and properties (2)
public const string SlotRootThe tag every equipment slot's tag sits under.
public string NameWhat it is called, in a diagnostic and in the composition report.
Methods (1)
public void Configure(GameplayModuleBuilder builder)Declares what it brings.
Used by (2)
- MmoModulesMmo.Shared
- InventoryModuleTestsVixen.Gameplay.Inventory.Tests