Search Results for

    Show / Hide Table of Contents

    Class MonsterPool.SpawnRuleEntry

    Inheritance
    object
    MonsterPool.SpawnRuleEntry
    Namespace: Global
    Assembly: Dew.Core.dll
    Syntax
    [Serializable]
    public class MonsterPool.SpawnRuleEntry

    Fields

    chance

    Declaration
    public float chance
    Field Value
    Type Description
    float

    conditions

    Declaration
    public List<MonsterSpawnCondition> conditions
    Field Value
    Type Description
    System.Collections.Generic.List<T><MonsterSpawnCondition>

    maxCount

    Declaration
    [HorizontalGroup("A", 0, 0, 0, 0)]
    public int maxCount
    Field Value
    Type Description
    int

    minCount

    Declaration
    [HorizontalGroup("A", 0, 0, 0, 0)]
    public int minCount
    Field Value
    Type Description
    int

    monster

    Declaration
    [HideLabel]
    public AssetRef<Monster> monster
    Field Value
    Type Description
    AssetRef<Monster>

    useAnd

    Declaration
    [LabelText("All Conditions Must Match (AND)")]
    [ToggleLeft]
    [ShowIf("@conditions != null && conditions.Count > 1", true)]
    public bool useAnd
    Field Value
    Type Description
    bool

    Methods

    Clone()

    Declaration
    public MonsterPool.SpawnRuleEntry Clone()
    Returns
    Type Description
    MonsterPool.SpawnRuleEntry

    EvaluateCondition()

    Declaration
    public bool EvaluateCondition()
    Returns
    Type Description
    bool
    In This Article
    Back to top Shape of Dreams API Documentation