Show / Hide Table of Contents

    Class AddCreaturePacket

    Class that represents a packet with information about a creatue that was added to the game.

    Inheritance
    System.Object
    AddCreaturePacket
    Implements
    IOutboundPacket
    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.Communications.Packets.Outgoing
    Assembly: Fibula.Communications.Packets.dll
    Syntax
    public class AddCreaturePacket : IOutboundPacket

    Constructors

    | Improve this Doc View Source

    AddCreaturePacket(ICreature, Boolean, UInt32)

    Initializes a new instance of the AddCreaturePacket class.

    Declaration
    public AddCreaturePacket(ICreature creature, bool asKnown, uint removeThisCreatureId)
    Parameters
    Type Name Description
    ICreature creature

    The creature that was added.

    System.Boolean asKnown

    A value indicating whether the creature was added as a known creature or not.

    System.UInt32 removeThisCreatureId

    An id of another creature to remove from the known list, and replace with this new creature.

    Properties

    | Improve this Doc View Source

    AsKnown

    Gets a value indicating whether the creature was added as a known creature or not.

    Declaration
    public bool AsKnown { get; }
    Property Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    Creature

    Gets a reference to the creature added.

    Declaration
    public ICreature Creature { get; }
    Property Value
    Type Description
    ICreature
    | Improve this Doc View Source

    PacketType

    Gets the type of this packet.

    Declaration
    public OutgoingPacketType PacketType { get; }
    Property Value
    Type Description
    OutgoingPacketType
    | Improve this Doc View Source

    RemoveThisCreatureId

    Gets an id of another creature to remove from the known list, and replace with this new creature.

    Declaration
    public uint RemoveThisCreatureId { get; }
    Property Value
    Type Description
    System.UInt32

    Implements

    IOutboundPacket

    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.