Table of Contents

Class ItemDef

Namespace
TileWorld.Engine.Content.Items
Assembly
TileWorld.Engine.dll

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

int

MaxStack

Gets the maximum stack size intended for higher-level inventory systems.

public int MaxStack { get; init; }

Property Value

int

Name

Gets the human-readable item name used by tooling and debug output.

public string Name { get; init; }

Property Value

string

Visual

Gets the visual metadata used by render backends to draw this item when represented as a world drop.

public TileVisualDef Visual { get; init; }

Property Value

TileVisualDef