Class MegaClilocPacket
Mega Cliloc packet (0xD6) - Used for tooltips and object properties
[PacketHandler(214, PacketSizing.Variable, Description = "Mega Cliloc")]
public class MegaClilocPacket : BaseGameNetworkPacket, IGameNetworkPacket
- Inheritance
-
MegaClilocPacket
- Implements
- Inherited Members
Remarks
Server Version (Outbound):
- BYTE[1] 0xD6
- BYTE[2] Length
- BYTE[2] 0x0001 (subcommand)
- BYTE[4] Serial of item/creature
- BYTE[2] 0x0000
- BYTE[4] Serial (repeated)
- Loop of properties:
- BYTE[4] Cliloc ID
- BYTE[2] Text length
- BYTE[?] Unicode text
- BYTE[4] 0x00000000 (terminator) Client Version (Inbound):
- BYTE[1] 0xD6
- BYTE[2] Length
- Loop of serials to request tooltip for:
- BYTE[4] Serial
Constructors
MegaClilocPacket()
public MegaClilocPacket()
Properties
IsClientRequest
Indicates if this is a client request (true) or server response (false)
public bool IsClientRequest { get; }
Property Value
Properties
List of cliloc properties for this object
public List<MegaClilocProperty> Properties { get; }
Property Value
RequestedSerials
For client requests: list of serials being requested
public List<Serial> RequestedSerials { get; }
Property Value
Serial
Serial of the object/creature this tooltip is for
public Serial Serial { get; }
Property Value
Subcommand
Subcommand type (0x0001 for server tooltip, 0x0000 for client request)
public ushort Subcommand { get; }
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.