OccupancyInfo

AUTO-GENERATED FILE – DO NOT EDIT MANUALLY

This page documents the supported public API surface only. Private, internal, benchmark, test, and implementation-detail types are intentionally omitted.

Declaration

1
public record OccupancyInfo

Summary

ECS occupancy information for a grid position.

Metadata

Namespace: GridPlacement.Core.Types

Source File: cs/Core/Types/TileInfo.cs

Assembly: GridPlacement.Core

Type: record

Implements

  • IEquatable<OccupancyInfo>

Properties

GridPosition

1
public CoreVector2I GridPosition { get; init; }

Grid position.


IsOccupied

1
public bool IsOccupied { get; init; }

Whether the position is occupied by an entity.


EntityId

1
public long? EntityId { get; init; }

Entity ID occupying this position (if any).


EntityType

1
public string EntityType { get; init; }

Type of entity occupying this position.


PlaceableId

1
public string? PlaceableId { get; init; }

Placeable ID of the entity (if applicable).