Table of Contents

Interface IPlacementCoreService

Namespace
MoonBark.GridPlacement.Core.Interfaces
Assembly
MoonBark.GridPlacement.Core.dll
public interface IPlacementCoreService

Properties

Catalog

IPlaceableRuntimeCatalog Catalog { get; }

Property Value

IPlaceableRuntimeCatalog

Configuration

IGridConfiguration Configuration { get; }

Property Value

IGridConfiguration

Occupancy

IOccupancyService Occupancy { get; }

Property Value

IOccupancyService

Methods

CancelPlacement()

void CancelPlacement()

ConfirmPlacement(int)

void ConfirmPlacement(int entityId)

Parameters

entityId int

RequestPlacement(CoreVector2I, string, string)

PlacementApproved RequestPlacement(CoreVector2I position, string placeableId, string ownerKey)

Parameters

position CoreVector2I
placeableId string
ownerKey string

Returns

PlacementApproved

ValidatePlacement(CoreVector2I, string, string)

PlacementValidationResult ValidatePlacement(CoreVector2I position, string placeableId, string ownerKey)

Parameters

position CoreVector2I
placeableId string
ownerKey string

Returns

PlacementValidationResult