Table of Contents

Class DraggingOfItemPacket

Namespace
Moongate.Network.Packets.Outgoing.Entity
Assembly
Moongate.Network.Packets.dll
[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

itemId ushort
hue ushort
stackCount ushort
sourceId Serial
sourceLocation Point3D
targetId Serial
targetLocation Point3D

Properties

Hue

public ushort Hue { get; set; }

Property Value

ushort

ItemId

public ushort ItemId { get; set; }

Property Value

ushort

SourceId

public Serial SourceId { get; set; }

Property Value

Serial

SourceLocation

public Point3D SourceLocation { get; set; }

Property Value

Point3D

StackCount

public ushort StackCount { get; set; }

Property Value

ushort

TargetId

public Serial TargetId { get; set; }

Property Value

Serial

TargetLocation

public Point3D TargetLocation { get; set; }

Property Value

Point3D

Unknown

public byte Unknown { get; set; }

Property Value

byte

Methods

ParsePayload(ref SpanReader)

Parses packet-specific payload after opcode validation.

protected override bool ParsePayload(ref SpanReader reader)

Parameters

reader SpanReader

Packet span reader positioned after opcode.

Returns

bool

true when payload parsing succeeds; otherwise false.

Write(ref SpanWriter)

Writes packet content to the target span writer.

public override void Write(ref SpanWriter writer)

Parameters

writer SpanWriter

Destination writer.