Search Results for

    Show / Hide Table of Contents

    Class EntityComponentTaskInputBase

    Inheritance
    Object
    EntityComponentTaskInputBase
    EntityComponentTargetTaskInputBase<T>
    Implements
    IEntityComponentTaskInput
    Namespace: RTSEngine.EntityComponent
    Assembly: cs.temp.dll.dll
    Syntax
    [Serializable]
    public class EntityComponentTaskInputBase : IEntityComponentTaskInput

    Fields

    factionEntityRequirements

    Declaration
    protected FactionEntityRequirement[] factionEntityRequirements
    Field Value
    Type Description
    FactionEntityRequirement[]

    requiredResources

    Declaration
    protected ResourceInput[] requiredResources
    Field Value
    Type Description
    ResourceInput[]

    Properties

    Data

    Declaration
    public EntityComponentTaskUIData Data { get; }
    Property Value
    Type Description
    EntityComponentTaskUIData

    Entity

    Declaration
    public IEntity Entity { get; }
    Property Value
    Type Description
    IEntity

    FactionEntityRequirements

    Declaration
    public IReadOnlyList<FactionEntityRequirement> FactionEntityRequirements { get; }
    Property Value
    Type Description
    System.Collections.Generic.IReadOnlyList<FactionEntityRequirement>

    gameMgr

    Declaration
    protected IGameManager gameMgr { get; }
    Property Value
    Type Description
    IGameManager

    ID

    Declaration
    public int ID { get; }
    Property Value
    Type Description
    Int32

    IsEnabled

    Declaration
    public bool IsEnabled { get; }
    Property Value
    Type Description
    Boolean

    IsInitialized

    Declaration
    public bool IsInitialized { get; }
    Property Value
    Type Description
    Boolean

    LaunchTimes

    Amounts of times the task has been launched.

    Declaration
    public int LaunchTimes { get; }
    Property Value
    Type Description
    Int32

    logger

    Declaration
    protected IGameLoggingService logger { get; }
    Property Value
    Type Description
    IGameLoggingService

    MissingRequirementData

    Declaration
    public EntityComponentLockedTaskUIData MissingRequirementData { get; }
    Property Value
    Type Description
    EntityComponentLockedTaskUIData

    Object

    Declaration
    public virtual GameObject Object { get; }
    Property Value
    Type Description
    GameObject

    PendingAmount

    Current pending amount of active instances of the task.

    Declaration
    public int PendingAmount { get; }
    Property Value
    Type Description
    Int32

    RequiredResources

    Declaration
    public IReadOnlyList<ResourceInput> RequiredResources { get; }
    Property Value
    Type Description
    System.Collections.Generic.IReadOnlyList<ResourceInput>

    resourceMgr

    Declaration
    protected IResourceManager resourceMgr { get; }
    Property Value
    Type Description
    IResourceManager

    SourceComponent

    Declaration
    public IEntityComponent SourceComponent { get; }
    Property Value
    Type Description
    IEntityComponent

    Title

    Declaration
    public string Title { get; }
    Property Value
    Type Description
    String

    Methods

    CanComplete()

    Declaration
    public virtual ErrorMessage CanComplete()
    Returns
    Type Description
    ErrorMessage

    CanStart()

    Declaration
    public virtual ErrorMessage CanStart()
    Returns
    Type Description
    ErrorMessage

    Disable()

    Declaration
    public void Disable()

    Enable()

    Declaration
    public void Enable()

    Init(IEntityComponent, Int32, IGameManager)

    Declaration
    public void Init(IEntityComponent entityComponent, int taskID, IGameManager gameMgr)
    Parameters
    Type Name Description
    IEntityComponent entityComponent
    Int32 taskID
    IGameManager gameMgr

    IsFactionTypeAllowed(FactionTypeInfo)

    Declaration
    public bool IsFactionTypeAllowed(FactionTypeInfo factionType)
    Parameters
    Type Name Description
    FactionTypeInfo factionType
    Returns
    Type Description
    Boolean

    OnCancel()

    Declaration
    public virtual void OnCancel()

    OnComplete()

    Declaration
    public virtual void OnComplete()

    OnDisabled()

    Declaration
    protected virtual void OnDisabled()

    OnEnabled()

    Declaration
    protected virtual void OnEnabled()

    OnInit()

    Declaration
    protected virtual void OnInit()

    OnStart()

    Declaration
    public virtual void OnStart()

    Implements

    IEntityComponentTaskInput
    In This Article
    Back to top Unity RTS Engine Documentation