PacketLogger.PacketTemplate
Rapresents a general purpose template system for packets. The templates allow to format packets in the logger, making them readable. Example of "Damage" (0x0B) packet: { 'packetID': 0x0B, 'name': 'Damage 0x0B', 'showHexDump': true, 'fields':[ { 'name':'packetID', 'length':1, 'type':'packetID'}, { 'name':'Serial', 'length':4, 'type':'serial'}, { 'name':'Damage', 'length': 2, 'type':'int'}, ] }
TODO: PacketLogger.PacketTemplate Constructors
Properties
PacketLogger.PacketTemplate.dynamicLengthBoolean
PacketLogger.PacketTemplate.dynamicLengthBoolean
Advanced settings for PacketReader. Ask Crezdba about DLLImport.Razor.IsDynLength(buff[0])
PacketLogger.PacketTemplate.fieldsList[PacketLogger.FieldTemplate]
PacketLogger.PacketTemplate.fieldsList[PacketLogger.FieldTemplate]
List of fields present in this Packet.
PacketLogger.PacketTemplate.nameString
PacketLogger.PacketTemplate.nameString
A readable name for the packet, optional but useful.
PacketLogger.PacketTemplate.packetIDInt32
PacketLogger.PacketTemplate.packetIDInt32
packetID, mandatory.
PacketLogger.PacketTemplate.showHexDumpBoolean
PacketLogger.PacketTemplate.showHexDumpBoolean
If showHexDump is true the packet logger will show also the hex dump.
PacketLogger.PacketTemplate.versionInt32
PacketLogger.PacketTemplate.versionInt32
Template version,optional
Methods