Search Results for

    Show / Hide Table of Contents

    Class FactionSlotResourceManager

    Inheritance
    Object
    FactionSlotResourceManager
    Implements
    IFactionSlotResourceManager
    Namespace: RTSEngine.ResourceExtension
    Assembly: cs.temp.dll.dll
    Syntax
    public class FactionSlotResourceManager : IFactionSlotResourceManager

    Constructors

    FactionSlotResourceManager(IFactionSlot, IGameManager, Single, IEnumerable<ResourceTypeInfo>, IReadOnlyDictionary<ResourceTypeInfo, ResourceTypeValue>)

    Declaration
    public FactionSlotResourceManager(IFactionSlot factionSlot, IGameManager gameMgr, float resourceNeedRatio, IEnumerable<ResourceTypeInfo> mapResources, IReadOnlyDictionary<ResourceTypeInfo, ResourceTypeValue> resourceStartingAmount)
    Parameters
    Type Name Description
    IFactionSlot factionSlot
    IGameManager gameMgr
    System.Single resourceNeedRatio
    IEnumerable<ResourceTypeInfo> mapResources
    System.Collections.Generic.IReadOnlyDictionary<ResourceTypeInfo, ResourceTypeValue> resourceStartingAmount

    Properties

    ResourceHandlers

    Declaration
    public IReadOnlyDictionary<ResourceTypeInfo, IFactionResourceHandler> ResourceHandlers { get; }
    Property Value
    Type Description
    System.Collections.Generic.IReadOnlyDictionary<ResourceTypeInfo, IFactionResourceHandler>

    ResourceNeedRatio

    Declaration
    public float ResourceNeedRatio { get; set; }
    Property Value
    Type Description
    System.Single

    Implements

    IFactionSlotResourceManager
    In This Article
    Back to top Unity RTS Engine Documentation