Table of Contents

Class MobileIncomingPacket

Namespace
Moongate.Network.Packets.Outgoing.Entity
Assembly
Moongate.Network.Packets.dll
[PacketHandler(120, PacketSizing.Variable, Description = "Draw Object")]
public class MobileIncomingPacket : BaseGameNetworkPacket, IGameNetworkPacket
Inheritance
MobileIncomingPacket
Implements
Derived
Inherited Members

Constructors

MobileIncomingPacket()

public MobileIncomingPacket()

MobileIncomingPacket(UOMobileEntity, UOMobileEntity, bool, bool)

public MobileIncomingPacket(UOMobileEntity beholder, UOMobileEntity beheld, bool stygianAbyss = true, bool newMobileIncoming = true)

Parameters

beholder UOMobileEntity
beheld UOMobileEntity
stygianAbyss bool
newMobileIncoming bool

Properties

Beheld

public UOMobileEntity? Beheld { get; set; }

Property Value

UOMobileEntity

Beholder

public UOMobileEntity? Beholder { get; set; }

Property Value

UOMobileEntity

NewMobileIncoming

public bool NewMobileIncoming { get; set; }

Property Value

bool

StygianAbyss

public bool StygianAbyss { get; set; }

Property Value

bool

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.