Class FactionEntity
Inheritance
FactionEntity
Assembly: cs.temp.dll.dll
Syntax
public abstract class FactionEntity : Entity, IFactionEntity, IEntity, IMonoBehaviour, IEquatable<IEntity>
Properties
BuildingCreator
Declaration
public IBuildingCreator BuildingCreator { get; }
Property Value
Type |
Description |
IBuildingCreator |
|
buildingMgr
Declaration
protected IBuildingManager buildingMgr { get; }
Property Value
Type |
Description |
IBuildingManager |
|
DisableResources
Declaration
public IEnumerable<ResourceInput> DisableResources { get; }
Property Value
DropOffTarget
Declaration
public IDropOffTarget DropOffTarget { get; }
Property Value
Type |
Description |
IDropOffTarget |
|
FactionMgr
Declaration
public IFactionManager FactionMgr { get; }
Property Value
Type |
Description |
IFactionManager |
|
Health
Declaration
public IFactionEntityHealth Health { get; }
Property Value
Type |
Description |
IFactionEntityHealth |
|
InitResources
Declaration
public IEnumerable<ResourceInput> InitResources { get; }
Property Value
IsFactionLocked
Declaration
public bool IsFactionLocked { get; }
Property Value
IsMainEntity
Declaration
public bool IsMainEntity { get; }
Property Value
Rallypoint
Declaration
public IRallypoint Rallypoint { get; }
Property Value
Type |
Description |
IRallypoint |
|
ResourceGenerators
Declaration
public IEnumerable<IResourceGenerator> ResourceGenerators { get; }
Property Value
resourceMgr
Declaration
protected IResourceManager resourceMgr { get; }
Property Value
Type |
Description |
IResourceManager |
|
UnitCarrier
Declaration
public IUnitCarrier UnitCarrier { get; }
Property Value
Type |
Description |
IUnitCarrier |
|
unitMgr
Declaration
protected IUnitManager unitMgr { get; }
Property Value
Type |
Description |
IUnitManager |
|
Methods
Disable(Boolean, Boolean)
Declaration
protected override void Disable(bool isUpgrade, bool isFactionUpdate)
Parameters
Overrides
FetchComponents()
Declaration
protected override void FetchComponents()
Overrides
Init(IGameManager, InitEntityParameters)
Declaration
public override sealed void Init(IGameManager gameMgr, InitEntityParameters initParams)
Parameters
Overrides
OnFactionUpdated()
Declaration
protected virtual void OnFactionUpdated()
SetFaction(IEntity, Int32)
Declaration
public override sealed ErrorMessage SetFaction(IEntity targetFactionEntity, int targetFactionID)
Parameters
Type |
Name |
Description |
IEntity |
targetFactionEntity |
|
Int32 |
targetFactionID |
|
Returns
Overrides
SetFactionLocal(IEntity, Int32)
Declaration
public override sealed ErrorMessage SetFactionLocal(IEntity source, int targetFactionID)
Parameters
Returns
Overrides
UpdateSelectionColor()
Declaration
protected override sealed void UpdateSelectionColor()
Overrides
Implements