Search Results for

    Show / Hide Table of Contents

    Interface IFactionManager

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

    Properties

    BuildingCenters

    Declaration
    IReadOnlyList<IBuilding> BuildingCenters { get; }
    Property Value
    Type Description
    System.Collections.Generic.IReadOnlyList<IBuilding>

    Buildings

    Declaration
    IReadOnlyList<IBuilding> Buildings { get; }
    Property Value
    Type Description
    System.Collections.Generic.IReadOnlyList<IBuilding>

    DropOffTargets

    Declaration
    IReadOnlyList<IFactionEntity> DropOffTargets { get; }
    Property Value
    Type Description
    System.Collections.Generic.IReadOnlyList<IFactionEntity>

    FactionEntities

    Declaration
    IEnumerable<IFactionEntity> FactionEntities { get; }
    Property Value
    Type Description
    IEnumerable<IFactionEntity>

    FactionEntityCategoryToAmount

    Declaration
    IReadOnlyDictionary<string, int> FactionEntityCategoryToAmount { get; }
    Property Value
    Type Description
    System.Collections.Generic.IReadOnlyDictionary<String, Int32>

    FactionEntityToAmount

    Declaration
    IReadOnlyDictionary<string, int> FactionEntityToAmount { get; }
    Property Value
    Type Description
    System.Collections.Generic.IReadOnlyDictionary<String, Int32>

    FactionID

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

    MainEntities

    Declaration
    IEnumerable<IFactionEntity> MainEntities { get; }
    Property Value
    Type Description
    IEnumerable<IFactionEntity>

    Slot

    Declaration
    IFactionSlot Slot { get; }
    Property Value
    Type Description
    IFactionSlot

    Units

    Declaration
    IEnumerable<IUnit> Units { get; }
    Property Value
    Type Description
    IEnumerable<IUnit>

    WorkerUnits

    Declaration
    IReadOnlyList<IUnit> WorkerUnits { get; }
    Property Value
    Type Description
    System.Collections.Generic.IReadOnlyList<IUnit>

    Methods

    AssignLimits(IEnumerable<FactionEntityAmountLimit>)

    Declaration
    bool AssignLimits(IEnumerable<FactionEntityAmountLimit> newLimits)
    Parameters
    Type Name Description
    IEnumerable<FactionEntityAmountLimit> newLimits
    Returns
    Type Description
    Boolean

    GetAttackUnits(Single)

    Declaration
    IEnumerable<IUnit> GetAttackUnits(float range = 1F)
    Parameters
    Type Name Description
    System.Single range
    Returns
    Type Description
    IEnumerable<IUnit>

    GetFactionEntitiesListByCode(String)

    Declaration
    IReadOnlyList<IFactionEntity> GetFactionEntitiesListByCode(string code)
    Parameters
    Type Name Description
    String code
    Returns
    Type Description
    System.Collections.Generic.IReadOnlyList<IFactionEntity>

    HasReachedLimit(IEntity)

    Declaration
    bool HasReachedLimit(IEntity entity)
    Parameters
    Type Name Description
    IEntity entity
    Returns
    Type Description
    Boolean

    HasReachedLimit(String, IEnumerable<String>)

    Declaration
    bool HasReachedLimit(string code, IEnumerable<string> category)
    Parameters
    Type Name Description
    String code
    IEnumerable<String> category
    Returns
    Type Description
    Boolean

    HasReachedLimit(String, String)

    Declaration
    bool HasReachedLimit(string code, string category)
    Parameters
    Type Name Description
    String code
    String category
    Returns
    Type Description
    Boolean

    Init(IGameManager, IFactionSlot)

    Declaration
    void Init(IGameManager gameMgr, IFactionSlot slot)
    Parameters
    Type Name Description
    IGameManager gameMgr
    IFactionSlot slot

    Events

    OwnFactionEntityAdded

    Declaration
    event CustomEventHandler<IFactionManager, EntityEventArgs<IFactionEntity>> OwnFactionEntityAdded
    Event Type
    Type Description
    CustomEventHandler<IFactionManager, EntityEventArgs<IFactionEntity>>

    OwnFactionEntityRemoved

    Declaration
    event CustomEventHandler<IFactionManager, EntityEventArgs<IFactionEntity>> OwnFactionEntityRemoved
    Event Type
    Type Description
    CustomEventHandler<IFactionManager, EntityEventArgs<IFactionEntity>>
    In This Article
    Back to top Unity RTS Engine Documentation