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 SourceHasCreatureFlag(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. |