diff --git a/protos/GMCommandProto.proto b/protos/GMCommandProto.proto new file mode 100644 index 0000000..29909d2 --- /dev/null +++ b/protos/GMCommandProto.proto @@ -0,0 +1,7 @@ +package com.ljsd.jieling.protocols; + +option optimize_for = SPEED; + +message GMCommand{ + optional string command =1 ; // 指令字符串 uid#type#prarm1#param2 +} \ No newline at end of file diff --git a/protos/MessageTypeProto.proto b/protos/MessageTypeProto.proto index f41503b..3a93569 100644 --- a/protos/MessageTypeProto.proto +++ b/protos/MessageTypeProto.proto @@ -32,6 +32,8 @@ enum MessageType{ GET_ITEMINFO_REQUEST = 10604; // GET_ITEMINFO_RESPONSE = 10605; + + GM_COMMAND = 10606; //GM // H 10700 // I 10800 // J 10900