Gogs před 3 měsíci
rodič
revize
5f9432abaa
2 změnil soubory, kde provedl 15 přidání a 0 odebrání
  1. 14 0
      bin/client_msg/common.proto
  2. 1 0
      bin/client_msg/msg.ts

+ 14 - 0
bin/client_msg/common.proto

@@ -44,6 +44,19 @@ message ReqLeaveRoom {
   string userId = 3;
   string leaveReason = 4; //1.
 }
+//加入房间失败
+message JoinRoomFail {
+  string gameId = 1;
+  string confId = 2;
+  string userId = 3;
+}
+
+message ReqInsufficientPoints {
+  string gameId = 1;
+  string userId = 2;
+  int32 AvailableAmount = 3;
+  int32 RequiredAmount=4;
+}
 
 //加入房间
 message ResJoinRoom {
@@ -157,6 +170,7 @@ enum PlayerOptType {
     OPT_SITESHOW         =8;  // 发起上家比牌
     OPT_REFUSESITESHOW         =9;  // 拒绝与上家比牌
     OPT_AGREESITESHOW =10;//同意与上家比牌
+    OPT_SELECTSITESHOW         =11;  // 操作上家比牌,同意和拒绝
 }
 
 message PlayerOpt {

+ 1 - 0
bin/client_msg/msg.ts

@@ -27,4 +27,5 @@ export enum MsgID {
     ReqLeaveRoom = 24,
     ReqUserInfo = 25,
     SiteShowRequest = 26,
+    ReqInsufficientPoints = 27,
 }