Class ThingMovePacket
Class that represents a thing movement packet.
Inheritance
System.Object
ThingMovePacket
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.Incoming
Assembly: Fibula.Communications.Packets.dll
Syntax
public class ThingMovePacket : IIncomingPacket, IThingMoveInfo
Constructors
| Improve this Doc View SourceThingMovePacket(Location, UInt16, Byte, Location, Byte)
Initializes a new instance of the ThingMovePacket class.
Declaration
public ThingMovePacket(Location fromLocation, ushort thingClientId, byte fromStackPos, Location toLocation, byte count)
Parameters
Type | Name | Description |
---|---|---|
Location | fromLocation | The location from which the thing is being moved. |
System.UInt16 | thingClientId | The id of the thing being moved. |
System.Byte | fromStackPos | The position in the stack of the thing being moved. |
Location | toLocation | The location to which the thing is being moved. |
System.Byte | count | The amount of the thing being moved. |
Properties
| Improve this Doc View SourceAmount
Gets the amount of the thing being moved.
Declaration
public byte Amount { get; }
Property Value
Type | Description |
---|---|
System.Byte |
FromLocation
Gets the location from which the thing is being moved.
Declaration
public Location FromLocation { get; }
Property Value
Type | Description |
---|---|
Location |
FromStackPos
Gets the position in the stack at the location from which the thing is being moved.
Declaration
public byte FromStackPos { get; }
Property Value
Type | Description |
---|---|
System.Byte |
ThingClientId
Gets the id of the thing, as seen by the client.
Declaration
public ushort ThingClientId { get; }
Property Value
Type | Description |
---|---|
System.UInt16 |
ToLocation
Gets the location to which the thing is being moved.
Declaration
public Location ToLocation { get; }
Property Value
Type | Description |
---|---|
Location |