PacketLogger.FieldTemplate
Class representing the fields inside a packet template. 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.FieldTemplate Constructors
Properties
PacketLogger.FieldTemplate.fieldsList[PacketLogger.FieldTemplate]
PacketLogger.FieldTemplate.fieldsList[PacketLogger.FieldTemplate]
List of subfields present in this Field.
PacketLogger.FieldTemplate.lengthInt32
PacketLogger.FieldTemplate.lengthInt32
Length in bytes. length > 0 maybe a mandatory for some FieldType.
PacketLogger.FieldTemplate.nameString
PacketLogger.FieldTemplate.nameString
Dysplay Name of the field.
PacketLogger.FieldTemplate.subpacketPacketLogger.PacketTemplate
PacketLogger.FieldTemplate.subpacketPacketLogger.PacketTemplate
A subpacket Field.
PacketLogger.FieldTemplate.typeString
PacketLogger.FieldTemplate.typeString
Type of field. See FieldType for details on each type.
Methods