Show / Hide Table of Contents

    Class PredefinedItemSet_v772

    Class that implements a IPredefinedItemSet for the protocol version 7.72.

    Inheritance
    System.Object
    PredefinedItemSet_v772
    Implements
    IPredefinedItemSet
    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 Source

    PredefinedItemSet_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 Source

    BloodPoolTypeId

    The id of the type for a blood pool on the floor.

    Declaration
    public const ushort BloodPoolTypeId = 2886
    Field Value
    Type Description
    System.UInt16
    | Improve this Doc View Source

    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
    | Improve this Doc View Source

    SmallBoneTypeId

    The id of the type for a small bone.

    Declaration
    public const ushort SmallBoneTypeId = 3115
    Field Value
    Type Description
    System.UInt16
    | Improve this Doc View Source

    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 Source

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

    | Improve this Doc View Source

    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.

    Implements

    IPredefinedItemSet

    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.