Class DraggingOfItemPacket
[PacketHandler(35, PacketSizing.Fixed, Length = 26, Description = "Dragging Of Item")]
public class DraggingOfItemPacket : BaseGameNetworkPacket, IGameNetworkPacket
- Inheritance
-
DraggingOfItemPacket
- Implements
- Inherited Members
Constructors
DraggingOfItemPacket()
public DraggingOfItemPacket()
DraggingOfItemPacket(ushort, ushort, ushort, Serial, Point3D, Serial, Point3D)
public DraggingOfItemPacket(ushort itemId, ushort hue, ushort stackCount, Serial sourceId, Point3D sourceLocation, Serial targetId, Point3D targetLocation)
Parameters
itemIdushorthueushortstackCountushortsourceIdSerialsourceLocationPoint3DtargetIdSerialtargetLocationPoint3D
Properties
Hue
public ushort Hue { get; set; }
Property Value
ItemId
public ushort ItemId { get; set; }
Property Value
SourceId
public Serial SourceId { get; set; }
Property Value
SourceLocation
public Point3D SourceLocation { get; set; }
Property Value
StackCount
public ushort StackCount { get; set; }
Property Value
TargetId
public Serial TargetId { get; set; }
Property Value
TargetLocation
public Point3D TargetLocation { get; set; }
Property Value
Unknown
public byte Unknown { get; set; }
Property Value
Methods
ParsePayload(ref SpanReader)
Parses packet-specific payload after opcode validation.
protected override bool ParsePayload(ref SpanReader reader)
Parameters
readerSpanReaderPacket span reader positioned after opcode.
Returns
- bool
truewhen payload parsing succeeds; otherwisefalse.
Write(ref SpanWriter)
Writes packet content to the target span writer.
public override void Write(ref SpanWriter writer)
Parameters
writerSpanWriterDestination writer.