Show / Hide Table of Contents

    Class CreatureMovedPacket

    Class that represents a packet for when a creature has moved.

    Inheritance
    System.Object
    CreatureMovedPacket
    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 CreatureMovedPacket : IOutboundPacket

    Constructors

    | Improve this Doc View Source

    CreatureMovedPacket(Location, Byte, Location)

    Initializes a new instance of the CreatureMovedPacket class.

    Declaration
    public CreatureMovedPacket(Location fromLocation, byte fromStackpos, Location toLocation)
    Parameters
    Type Name Description
    Location fromLocation

    The location from which the move happened.

    System.Byte fromStackpos

    The position in the stack within the location from which the move happened.

    Location toLocation

    The location to which the move happened.

    Properties

    | Improve this Doc View Source

    FromLocation

    Gets the location from which the creature moved from.

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

    FromStackpos

    Gets the position in the stack of the creatue in the source location.

    Declaration
    public byte FromStackpos { get; }
    Property Value
    Type Description
    System.Byte
    | 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

    ToLocation

    Gets the location to which the creature moved.

    Declaration
    public Location ToLocation { get; }
    Property Value
    Type Description
    Location

    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.