Search Results for

    Show / Hide Table of Contents

    Interface IFactionSlot

    Namespace: RTSEngine.Faction
    Assembly: cs.temp.dll.dll
    Syntax
    public interface IFactionSlot

    Properties

    CurrentNPCMgr

    Declaration
    INPCManager CurrentNPCMgr { get; }
    Property Value
    Type Description
    INPCManager

    Data

    Declaration
    FactionSlotData Data { get; }
    Property Value
    Type Description
    FactionSlotData

    Enabled

    Declaration
    bool Enabled { get; }
    Property Value
    Type Description
    Boolean

    FactionMgr

    Declaration
    IFactionManager FactionMgr { get; }
    Property Value
    Type Description
    IFactionManager

    FactionSpawnPosition

    Declaration
    Vector3 FactionSpawnPosition { get; }
    Property Value
    Type Description
    Vector3

    ID

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

    State

    Declaration
    FactionSlotState State { get; }
    Property Value
    Type Description
    FactionSlotState

    Methods

    Init(FactionSlotData, Int32, IGameManager)

    Declaration
    void Init(FactionSlotData data, int ID, IGameManager gameMgr)
    Parameters
    Type Name Description
    FactionSlotData data
    Int32 ID
    IGameManager gameMgr

    InitDefaultFactionEntities()

    Declaration
    void InitDefaultFactionEntities()

    UpdateRole(FactionSlotRole)

    Declaration
    void UpdateRole(FactionSlotRole newRole)
    Parameters
    Type Name Description
    FactionSlotRole newRole

    UpdateState(FactionSlotState)

    Declaration
    void UpdateState(FactionSlotState newState)
    Parameters
    Type Name Description
    FactionSlotState newState

    Events

    FactionSlotStateUpdated

    Declaration
    event CustomEventHandler<IFactionSlot, EventArgs> FactionSlotStateUpdated
    Event Type
    Type Description
    CustomEventHandler<IFactionSlot, System.EventArgs>
    In This Article
    Back to top Unity RTS Engine Documentation