Gogs 1 månad sedan
förälder
incheckning
307f13eaa7
2 ändrade filer med 10 tillägg och 8 borttagningar
  1. 1 0
      bin/client_msg/common.proto
  2. 9 8
      bin/client_msg/msg.ts

+ 1 - 0
bin/client_msg/common.proto

@@ -43,6 +43,7 @@ message ReqLeaveRoom {
   string userId = 3;
   string leaveReason = 4; //1.
 }
+//离开房间通知
 message ResLeaveRoom {
   string msg = 1;
 }

+ 9 - 8
bin/client_msg/msg.ts

@@ -25,12 +25,13 @@ export enum MsgID {
     ResHeartBeat = 22,
     NextRound = 23,
     ReqLeaveRoom = 24,
-    ReqUserInfo = 25,
-    SiteShowResult = 26,
-    ReqInsufficientPoints = 27,
-    JoinRoomFail = 28,
-    RoomInfo = 29,
-    RoomSiteRount = 30,
-    ResPlayerLoadGameOver = 31,
-    ResPlayerLoadRoomOver = 32,
+    ResLeaveRoom = 25,
+    ReqUserInfo = 26,
+    SiteShowResult = 27,
+    ReqInsufficientPoints = 28,
+    JoinRoomFail = 29,
+    RoomInfo = 30,
+    RoomSiteRount = 31,
+    ResPlayerLoadGameOver = 32,
+    ResPlayerLoadRoomOver = 33,
 }