Show / Hide Table of Contents

    Class RawMonsterSpell

    Class that represents a raw monster spell rule.

    Inheritance
    System.Object
    RawMonsterSpell
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Fibula.Parsing.Contracts.Models
    Assembly: Fibula.Parsing.Contracts.dll
    Syntax
    public class RawMonsterSpell

    Constructors

    | Improve this Doc View Source

    RawMonsterSpell(IEnumerable<String>, IEnumerable<String>, String)

    Initializes a new instance of the RawMonsterSpell class.

    Declaration
    public RawMonsterSpell(IEnumerable<string> conditions, IEnumerable<string> effects, string chance)
    Parameters
    Type Name Description
    System.Collections.Generic.IEnumerable<System.String> conditions

    The conditions for the spell.

    System.Collections.Generic.IEnumerable<System.String> effects

    The effects of the spell.

    System.String chance

    The chance of the spell.

    Properties

    | Improve this Doc View Source

    Chance

    Gets the chance of this spell being picked.

    Declaration
    public byte Chance { get; }
    Property Value
    Type Description
    System.Byte
    | Improve this Doc View Source

    ConditionSet

    Gets the set of conditions for this rule.

    Declaration
    public IList<string> ConditionSet { get; }
    Property Value
    Type Description
    System.Collections.Generic.IList<System.String>
    | Improve this Doc View Source

    EffectSet

    Gets the set of effects for this rule.

    Declaration
    public IList<string> EffectSet { get; }
    Property Value
    Type Description
    System.Collections.Generic.IList<System.String>

    Extension Methods

    ObjectExtensions.YieldSingleItem<T>(T)
    ObjectExtensions.GetPropertyValue(Object, String)
    Validate.ThrowIfNull(Object, String)
    • Improve this Doc
    • View Source
    Back to top Copyright © 2018-2020 | The Fibula Project
    Generated using DocFX | Jose L. Nuñez de Caceres et al.