Interface IBuildingPlacementHandler
Assembly: cs.temp.dll.dll
Syntax
public interface IBuildingPlacementHandler
Properties
CanRotateCurrent
Declaration
bool CanRotateCurrent { get; }
Property Value
Count
Declaration
Property Value
FactionSlot
Declaration
IFactionSlot FactionSlot { get; }
Property Value
Type |
Description |
IFactionSlot |
|
IsActive
Declaration
Property Value
Methods
Add(IBuildingPlacementTask, BuildingPlacementOptions)
Declaration
ErrorMessage Add(IBuildingPlacementTask task, BuildingPlacementOptions options)
Parameters
Returns
CanAdd(IBuildingPlacementTask, BuildingPlacementOptions)
Declaration
ErrorMessage CanAdd(IBuildingPlacementTask task, BuildingPlacementOptions options)
Parameters
Returns
CanPlace(IBuildingPlacer)
Declaration
ErrorMessage CanPlace(IBuildingPlacer buildingPlacer)
Parameters
Returns
Complete()
Declaration
Returns
Init(IGameManager, IFactionSlot)
Declaration
void Init(IGameManager gameMgr, IFactionSlot factionSlot)
Parameters
Type |
Name |
Description |
IGameManager |
gameMgr |
|
IFactionSlot |
factionSlot |
|
OnUpdate()
Declaration
Stop()
Declaration
Returns
Events
PlacementAdded
Declaration
event CustomEventHandler<IBuildingPlacementHandler, IPendingPlacementData> PlacementAdded
Event Type
PlacementStopped
Declaration
event CustomEventHandler<IBuildingPlacementHandler, IPendingPlacementData> PlacementStopped
Event Type