Class ItemTypeEntityExtensions
Static class that contains extension methods for IMonsterTypeEntitys.
Inheritance
System.Object
ItemTypeEntityExtensions
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.Items.Contracts.Extensions
Assembly: Fibula.Items.Contracts.dll
Syntax
public static class ItemTypeEntityExtensions
Methods
| Improve this Doc View SourceHasItemFlag(IItemTypeEntity, ItemFlag)
Checks if the item type has the given item flag set.
Declaration
public static bool HasItemFlag(this IItemTypeEntity itemTypeEntity, ItemFlag itemFlag)
Parameters
Type | Name | Description |
---|---|---|
IItemTypeEntity | itemTypeEntity | The item type entity. |
ItemFlag | itemFlag | The item flag to check for. |
Returns
Type | Description |
---|---|
System.Boolean | True if the item type has the item flag set, and false otherwise. |