PlacementApplicationState

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
2
3
4
5
6
7
public sealed record PlacementApplicationState(
    bool IsActive,
    string ItemId,
    Placeable? SelectedResource,
    int Rotation,
    TargetingSnapshot2D? Snapshot
)

Summary

Immutable state container for the placement application flow.

Metadata

Namespace: GridPlacement.Core.Application.Placement

Source File: cs/Core/Application/Placement/PlacementApplicationState.cs

Assembly: GridPlacement.Core

Type: record

Implements

  • IEquatable<PlacementApplicationState>

Constructors

PlacementApplicationState

1
2
3
4
5
6
7
public PlacementApplicationState(
    bool IsActive,
    string ItemId,
    Placeable? SelectedResource,
    int Rotation,
    TargetingSnapshot2D? Snapshot
)

Immutable state container for the placement application flow.


Properties

IsActive

1
public bool IsActive { get; init; }

ItemId

1
public string ItemId { get; init; }

SelectedResource

1
public Placeable? SelectedResource { get; init; }

Rotation

1
public int Rotation { get; init; }

Snapshot

1
public TargetingSnapshot2D? Snapshot { get; init; }

Empty

1
public static PlacementApplicationState Empty { get; }