diff --git a/ProtoDef b/ProtoDef index 4e2d2d1..8e07785 160000 --- a/ProtoDef +++ b/ProtoDef @@ -1 +1 @@ -Subproject commit 4e2d2d1c16827ba61da5ff8abbb42cc1d353210a +Subproject commit 8e07785e94626882fa3333184bb366e3f6625356 diff --git a/example_protocol.json b/example_protocol.json index 78fbdfe..042ef38 100644 --- a/example_protocol.json +++ b/example_protocol.json @@ -23,6 +23,13 @@ { "countType": "varint" } + ], + "string2": [ + "pstring", + { + "encoding": "utf-16", + "countType": "i16" + } ] }, "status": { @@ -140,7 +147,7 @@ }, { "name": "username", - "type": "string" + "type": "string2" } ] ],