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;
+}