Search Results for

    Show / Hide Table of Contents

    Interface IFactionResourceHandler

    Namespace: RTSEngine.ResourceExtension
    Assembly: cs.temp.dll.dll
    Syntax
    public interface IFactionResourceHandler

    Properties

    Amount

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

    Capacity

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

    Collectors

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

    FactionID

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

    FreeAmount

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

    Generators

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

    ProducerCount

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

    ReservedAmount

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

    ReservedCapacity

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

    Type

    Declaration
    ResourceTypeInfo Type { get; }
    Property Value
    Type Description
    ResourceTypeInfo

    Methods

    ReleaseAmount(ResourceTypeValue)

    Declaration
    void ReleaseAmount(ResourceTypeValue reserveValue)
    Parameters
    Type Name Description
    ResourceTypeValue reserveValue

    ReserveAmount(ResourceTypeValue)

    Declaration
    void ReserveAmount(ResourceTypeValue reserveValue)
    Parameters
    Type Name Description
    ResourceTypeValue reserveValue

    SetAmount(ResourceTypeValue, out Int32)

    Declaration
    void SetAmount(ResourceTypeValue setValue, out int restAmount)
    Parameters
    Type Name Description
    ResourceTypeValue setValue
    Int32 restAmount

    SetReserveAmount(ResourceTypeValue)

    Declaration
    void SetReserveAmount(ResourceTypeValue setReserveValue)
    Parameters
    Type Name Description
    ResourceTypeValue setReserveValue

    UpdateAmount(ResourceTypeValue, out Int32)

    Declaration
    void UpdateAmount(ResourceTypeValue updateValue, out int restAmount)
    Parameters
    Type Name Description
    ResourceTypeValue updateValue
    Int32 restAmount

    Events

    FactionResourceAmountUpdated

    Declaration
    event CustomEventHandler<IFactionResourceHandler, ResourceUpdateEventArgs> FactionResourceAmountUpdated
    Event Type
    Type Description
    CustomEventHandler<IFactionResourceHandler, ResourceUpdateEventArgs>

    FactionResourceProducersUpdated

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