Class EntityComponentTaskInputBase
Inheritance
EntityComponentTaskInputBase
Assembly: cs.temp.dll.dll
[Serializable]
public class EntityComponentTaskInputBase : IEntityComponentTaskInput
Fields
Declaration
protected FactionEntityRequirement[] factionEntityRequirements
Field Value
Type |
Description |
FactionEntityRequirement[] |
|
Declaration
protected ResourceInput[] requiredResources
Field Value
Type |
Description |
ResourceInput[] |
|
Properties
Declaration
public EntityComponentTaskUIData Data { get; }
Property Value
Type |
Description |
EntityComponentTaskUIData |
|
Declaration
public IEntity Entity { get; }
Property Value
Declaration
public IReadOnlyList<FactionEntityRequirement> FactionEntityRequirements { get; }
Property Value
Type |
Description |
System.Collections.Generic.IReadOnlyList<FactionEntityRequirement> |
|
Declaration
protected IGameManager gameMgr { get; }
Property Value
Type |
Description |
IGameManager |
|
Declaration
Property Value
Declaration
public bool IsEnabled { get; }
Property Value
Declaration
public bool IsInitialized { get; }
Property Value
Amounts of times the task has been launched.
Declaration
public int LaunchTimes { get; }
Property Value
Declaration
protected IGameLoggingService logger { get; }
Property Value
Type |
Description |
IGameLoggingService |
|
Declaration
public EntityComponentLockedTaskUIData MissingRequirementData { get; }
Property Value
Type |
Description |
EntityComponentLockedTaskUIData |
|
Declaration
public virtual GameObject Object { get; }
Property Value
Type |
Description |
GameObject |
|
Current pending amount of active instances of the task.
Declaration
public int PendingAmount { get; }
Property Value
Declaration
public IReadOnlyList<ResourceInput> RequiredResources { get; }
Property Value
Type |
Description |
System.Collections.Generic.IReadOnlyList<ResourceInput> |
|
Declaration
protected IResourceManager resourceMgr { get; }
Property Value
Type |
Description |
IResourceManager |
|
Declaration
public IEntityComponent SourceComponent { get; }
Property Value
Declaration
public string Title { get; }
Property Value
Methods
Declaration
public virtual ErrorMessage CanComplete()
Returns
Declaration
public virtual ErrorMessage CanStart()
Returns
Declaration
Declaration
Declaration
public void Init(IEntityComponent entityComponent, int taskID, IGameManager gameMgr)
Parameters
Declaration
public bool IsFactionTypeAllowed(FactionTypeInfo factionType)
Parameters
Type |
Name |
Description |
FactionTypeInfo |
factionType |
|
Returns
Declaration
public virtual void OnCancel()
Declaration
public virtual void OnComplete()
Declaration
protected virtual void OnDisabled()
Declaration
protected virtual void OnEnabled()
Declaration
protected virtual void OnInit()
Declaration
public virtual void OnStart()
Implements