Show / Hide Table of Contents

    Class MonsterTypeEntityExtensions

    Static class that contains extension methods for IMonsterTypeEntitys.

    Inheritance
    System.Object
    MonsterTypeEntityExtensions
    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.Creatures.Contracts.Extensions
    Assembly: Fibula.Creatures.Contracts.dll
    Syntax
    public static class MonsterTypeEntityExtensions

    Methods

    | Improve this Doc View Source

    HasCreatureFlag(IMonsterTypeEntity, CreatureFlag)

    Checks if the monster type has the given creature flag set.

    Declaration
    public static bool HasCreatureFlag(this IMonsterTypeEntity monsterTypeEntity, CreatureFlag creatureFlag)
    Parameters
    Type Name Description
    IMonsterTypeEntity monsterTypeEntity

    The monster type entity.

    CreatureFlag creatureFlag

    The creature flag to check for.

    Returns
    Type Description
    System.Boolean

    True if the monster type has the creature flag set, and false otherwise.

    • 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.