diff options
Diffstat (limited to 'classic/cpe.go')
| -rw-r--r-- | classic/cpe.go | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/classic/cpe.go b/classic/cpe.go new file mode 100644 index 0000000..222ec74 --- /dev/null +++ b/classic/cpe.go @@ -0,0 +1,17 @@ +package classic + +type ExtInfo struct { + AppName String + ExtensionCount int16 +} +func (e *ExtInfo) PacketId() byte { + return 0x10 +} + +type ExtEntry struct { + ExtName String + Version int32 +} +func (e *ExtEntry) PacketId() byte { + return 0x11 +} |
