Class ObjectInfo
- Namespace
- MoonBark.GridPlacement.Core.Types
- Assembly
- MoonBark.GridPlacement.Core.dll
Information about a placed object at a grid position. Shown in the info panel during demolish/info modes.
public record ObjectInfo : IEquatable<ObjectInfo>
- Inheritance
-
ObjectInfo
- Implements
- Inherited Members
Properties
CanDemolish
Whether the object can be demolished.
public bool CanDemolish { get; init; }
Property Value
CanMove
Whether the object can be moved.
public bool CanMove { get; init; }
Property Value
EntityId
ECS entity ID of the placed object.
public int EntityId { get; init; }
Property Value
IsActive
Whether the object is currently active.
public bool IsActive { get; init; }
Property Value
Name
Display name of the placeable (e.g., "Wall", "Tower").
public string Name { get; init; }
Property Value
OwnerKey
Owner key of the entity (e.g., "player1").
public string OwnerKey { get; init; }
Property Value
PlaceableHash
Hash of the placeable type.
public int PlaceableHash { get; init; }