Search Results for

    Show / Hide Table of Contents

    Class FactionEntityAmountLimit

    Inheritance
    Object
    FactionEntityAmountLimit
    Namespace: RTSEngine.Faction
    Assembly: cs.temp.dll.dll
    Syntax
    [Serializable]
    public class FactionEntityAmountLimit

    Constructors

    FactionEntityAmountLimit(CodeCategoryField, Int32)

    Declaration
    public FactionEntityAmountLimit(CodeCategoryField definer, int maxAmount)
    Parameters
    Type Name Description
    CodeCategoryField definer
    Int32 maxAmount

    Properties

    Definer

    Declaration
    public CodeCategoryField Definer { get; }
    Property Value
    Type Description
    CodeCategoryField

    MaxAmount

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

    Methods

    Contains(String, IEnumerable<String>)

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

    IsMaxAmountReached(String, IEnumerable<String>)

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

    Update(Int32)

    Declaration
    public void Update(int value)
    Parameters
    Type Name Description
    Int32 value
    In This Article
    Back to top Unity RTS Engine Documentation