Class Building
Assembly: cs.temp.dll.dll
Syntax
public class Building : FactionEntity, IBuilding, IFactionEntity, IEntity, IMonoBehaviour, IEquatable<IEntity>
Properties
BorderComponent
Declaration
public IBorder BorderComponent { get; }
Property Value
CanLaunchTask
Declaration
public override sealed bool CanLaunchTask { get; }
Property Value
Overrides
CurrentCenter
Declaration
public IBorder CurrentCenter { get; }
Property Value
Health
Declaration
public IBuildingHealth Health { get; }
Property Value
Type |
Description |
IBuildingHealth |
|
IsBuilt
Declaration
public bool IsBuilt { get; }
Property Value
IsDummy
Declaration
public override bool IsDummy { get; }
Property Value
Overrides
IsPlacementInstance
Declaration
public bool IsPlacementInstance { get; }
Property Value
PlacerComponent
Declaration
public IBuildingPlacer PlacerComponent { get; }
Property Value
Type |
Description |
IBuildingPlacer |
|
Type
Declaration
public override EntityType Type { get; }
Property Value
Overrides
WorkerMgr
Declaration
public IBuildingWorkerManager WorkerMgr { get; }
Property Value
Type |
Description |
IBuildingWorkerManager |
|
Methods
Disable(Boolean, Boolean)
Declaration
protected override sealed void Disable(bool isUpgrade, bool isFactionUpdate)
Parameters
Overrides
FetchComponents()
Declaration
protected override void FetchComponents()
Overrides
Init(IGameManager, InitBuildingParameters)
Declaration
public void Init(IGameManager gameMgr, InitBuildingParameters initParams)
Parameters
InitPlacementInstance(IGameManager, InitBuildingParameters)
Declaration
public void InitPlacementInstance(IGameManager gameMgr, InitBuildingParameters initParams)
Parameters
OnConstructionComplete()
Declaration
protected virtual void OnConstructionComplete()
OnDisabled(Boolean, Boolean)
Declaration
protected virtual void OnDisabled(bool isUpgrade, bool isFactionUpdate)
Parameters
OnFactionUpdated()
Declaration
protected override void OnFactionUpdated()
Overrides
SubToEvents()
Declaration
protected override void SubToEvents()
Overrides
Events
BuildingBuilt
Declaration
public event CustomEventHandler<IBuilding, EventArgs> BuildingBuilt
Event Type
Type |
Description |
CustomEventHandler<IBuilding, System.EventArgs> |
|
Implements