Class MobileIncomingPacket
[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
beholderUOMobileEntitybeheldUOMobileEntitystygianAbyssboolnewMobileIncomingbool
Properties
Beheld
public UOMobileEntity? Beheld { get; set; }
Property Value
Beholder
public UOMobileEntity? Beholder { get; set; }
Property Value
NewMobileIncoming
public bool NewMobileIncoming { get; set; }
Property Value
StygianAbyss
public bool StygianAbyss { 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.