Class DrawContainerAndAddItemCombinedPacket
Composite outbound packet that writes container open and contained items in a single payload. This helper is intentionally not registered because it wraps multiple protocol packets.
public class DrawContainerAndAddItemCombinedPacket : BaseGameNetworkPacket, IGameNetworkPacket
- Inheritance
-
DrawContainerAndAddItemCombinedPacket
- Implements
- Inherited Members
Constructors
DrawContainerAndAddItemCombinedPacket()
public DrawContainerAndAddItemCombinedPacket()
DrawContainerAndAddItemCombinedPacket(UOItemEntity)
public DrawContainerAndAddItemCombinedPacket(UOItemEntity container)
Parameters
containerUOItemEntity
Properties
Container
public UOItemEntity? Container { 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.