Class CreatureMovedPacket
Class that represents a packet for when a creature has moved.
Inheritance
System.Object
CreatureMovedPacket
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.Communications.Packets.Outgoing
Assembly: Fibula.Communications.Packets.dll
Syntax
public class CreatureMovedPacket : IOutboundPacket
Constructors
| Improve this Doc View SourceCreatureMovedPacket(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 SourceFromLocation
Gets the location from which the creature moved from.
Declaration
public Location FromLocation { get; }
Property Value
Type | Description |
---|---|
Location |
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 |
PacketType
Gets the type of this packet.
Declaration
public OutgoingPacketType PacketType { get; }
Property Value
Type | Description |
---|---|
OutgoingPacketType |
ToLocation
Gets the location to which the creature moved.
Declaration
public Location ToLocation { get; }
Property Value
Type | Description |
---|---|
Location |