Class ObjectInstance
Represents a placed object instance stored in the world.
public sealed class ObjectInstance
- Inheritance
-
ObjectInstance
- Inherited Members
Properties
AnchorCoord
Gets the logical anchor coordinate used to place this object.
public required WorldTileCoord AnchorCoord { get; init; }
Property Value
Direction
Gets the facing direction of this object instance.
public Direction Direction { get; init; }
Property Value
InstanceId
Gets the stable runtime identifier of this object instance.
public required int InstanceId { get; init; }
Property Value
ObjectDefId
Gets the content definition identifier used to interpret this object instance.
public required int ObjectDefId { get; init; }
Property Value
StateFlags
Gets instance state flags reserved for future object-specific runtime state.
public ushort StateFlags { get; init; }