Table of Contents

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

bool

CanMove

Whether the object can be moved.

public bool CanMove { get; init; }

Property Value

bool

EntityId

ECS entity ID of the placed object.

public int EntityId { get; init; }

Property Value

int

IsActive

Whether the object is currently active.

public bool IsActive { get; init; }

Property Value

bool

Name

Display name of the placeable (e.g., "Wall", "Tower").

public string Name { get; init; }

Property Value

string

OwnerKey

Owner key of the entity (e.g., "player1").

public string OwnerKey { get; init; }

Property Value

string

PlaceableHash

Hash of the placeable type.

public int PlaceableHash { get; init; }

Property Value

int