Class ItemDef
Describes an item definition used by the prototype drop pipeline.
public sealed class ItemDef
- Inheritance
-
ItemDef
- Inherited Members
Properties
Id
Gets the stable numeric identifier used to reference this item in gameplay and persistence flows.
public int Id { get; init; }
Property Value
MaxStack
Gets the maximum stack size intended for higher-level inventory systems.
public int MaxStack { get; init; }
Property Value
Name
Gets the human-readable item name used by tooling and debug output.
public string Name { get; init; }
Property Value
Visual
Gets the visual metadata used by render backends to draw this item when represented as a world drop.
public TileVisualDef Visual { get; init; }