Class PredefinedItemSet_v772
Class that implements a IPredefinedItemSet for the protocol version 7.72.
Inheritance
System.Object
PredefinedItemSet_v772
Implements
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.Protocol.V772
Assembly: Fibula.Protocol.V772.dll
Syntax
public class PredefinedItemSet_v772 : IPredefinedItemSet
Constructors
| Improve this Doc View SourcePredefinedItemSet_v772(IItemFactory)
Initializes a new instance of the PredefinedItemSet_v772 class.
Declaration
public PredefinedItemSet_v772(IItemFactory itemFactory)
Parameters
Type | Name | Description |
---|---|---|
IItemFactory | itemFactory | A reference to the item factory in use. |
Fields
| Improve this Doc View SourceBloodPoolTypeId
The id of the type for a blood pool on the floor.
Declaration
public const ushort BloodPoolTypeId = 2886
Field Value
Type | Description |
---|---|
System.UInt16 |
BloodSplatterTypeId
The id of the type for a blood splatter on the floor.
Declaration
public const ushort BloodSplatterTypeId = 2889
Field Value
Type | Description |
---|---|
System.UInt16 |
SmallBoneTypeId
The id of the type for a small bone.
Declaration
public const ushort SmallBoneTypeId = 3115
Field Value
Type | Description |
---|---|
System.UInt16 |
SmallFireTypeId
The id of the type for a small file.
Declaration
public const ushort SmallFireTypeId = 2120
Field Value
Type | Description |
---|---|
System.UInt16 |
Methods
| Improve this Doc View SourceFindPoolForBloodType(BloodType)
Finds the splatter IItemTypeEntity for a given blood type.
Declaration
public IItemTypeEntity FindPoolForBloodType(BloodType bloodType)
Parameters
Type | Name | Description |
---|---|---|
BloodType | bloodType | The type of blood to look the item type for. |
Returns
Type | Description |
---|---|
IItemTypeEntity | The IItemTypeEntity that's predefined for that blood type, or null if none is. |
FindSplatterForBloodType(BloodType)
Finds the splatter IItemTypeEntity for a given blood type.
Declaration
public IItemTypeEntity FindSplatterForBloodType(BloodType bloodType)
Parameters
Type | Name | Description |
---|---|---|
BloodType | bloodType | The type of blood to look the item type for. |
Returns
Type | Description |
---|---|
IItemTypeEntity | The IItemTypeEntity that's predefined for that blood type, or null if none is. |