Class PlacedEntityData
- Namespace
- MoonBark.GridPlacement.Core.Services
- Assembly
- MoonBark.GridPlacement.Core.dll
Data transfer object for serialized placed entity state. Pure C# data structure with no Godot dependencies.
Only finalized placed entities are serialized. Active placement states (ghost previews, mid-move operations, flip/rotate in progress) are intentionally excluded — games resume with a clean placement state.
public class PlacedEntityData
- Inheritance
-
PlacedEntityData
- Inherited Members
Properties
CellHeight
Cell height.
public float CellHeight { get; set; }
Property Value
CellWidth
Cell width.
public float CellWidth { get; set; }
Property Value
FormatVersion
Save format version. Consumers should validate this on load. Current version: 1
public int FormatVersion { get; set; }
Property Value
GridX
Grid X position.
public int GridX { get; set; }
Property Value
GridY
Grid Y position.
public int GridY { get; set; }
Property Value
OwnerKey
The owner who placed this object.
public string OwnerKey { get; set; }
Property Value
PlaceableHash
The ID of the placeable type.
public int PlaceableHash { get; set; }
Property Value
Rotation
Rotation in degrees.
public int Rotation { get; set; }
Property Value
Timestamp
Timestamp of placement.
public long Timestamp { get; set; }
Property Value
WorldX
World X position.
public float WorldX { get; set; }
Property Value
WorldY
World Y position.
public float WorldY { get; set; }