Vixen
caa30e12
csharp
public sealed class InventoryModule

The container algebra as a module a game composes.

Read the guide page for this →

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 SlotRoot

    The tag every equipment slot's tag sits under.

  • public string Name

    What it is called, in a diagnostic and in the composition report.

Methods (1)

Used by (2)

  • MmoModulesMmo.Shared
  • InventoryModuleTestsVixen.Gameplay.Inventory.Tests