PlacementCommands

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 class PlacementCommands : IPlacementCommands

Summary

Default implementation of IPlacementCommands that delegates to the core IPlacementService. This is a thin, engine-agnostic facade intended to be called by session/owner controllers.

Metadata

Namespace: GridPlacement.Core.Services.Placement

Source File: cs/Core/Services/Placement/PlacementCommands.cs

Assembly: GridPlacement.Core

Type: class

Implements

  • IPlacementCommands

Constructors

PlacementCommands

1
public PlacementCommands(IPlacementService placementService)

Methods

TryPlace

1
2
3
4
5
public PlacementResult TryPlace(
    GPUserId userId,
    Placeable placeable,
    CoreVector2 worldPosition
)

TryDemolish

1
2
3
4
public PlacementResult TryDemolish(
    GPUserId userId,
    CoreVector2 worldPosition
)