xx 5 月之前
父節點
當前提交
e02c949230
共有 1 個文件被更改,包括 24 次插入0 次删除
  1. 24 0
      bin/client_msg/common.proto

+ 24 - 0
bin/client_msg/common.proto

@@ -0,0 +1,24 @@
+syntax = "proto3";
+
+//登录
+message ResLogin {
+  string openId = 1;
+  string nikeName = 2;
+}
+//登录 响应
+message ReqLogin {
+  string nikeName = 1;
+  string userId = 2;
+  string gameStatus = 3;
+  MsgError error = 4;
+}
+
+//error
+message MsgError {
+  int32 error_code = 1;
+  string error_msg = 2;
+}
+
+message Hello {
+  string name = 1;
+}