Преглед изворни кода

添加是否主机的判断

王虎 пре 3 година
родитељ
комит
98fafaff3e
2 измењених фајлова са 2 додато и 0 уклоњено
  1. 1 0
      protos/room.proto
  2. 1 0
      protos/user.proto

+ 1 - 0
protos/room.proto

@@ -17,6 +17,7 @@ message RoomJoinRequest {
 message RoomJoinResponse {
     Result Result = 1;
     uint32 RoomID = 2;
+    bool MASTER = 3;
 }
 
 message RoomJoinPush {

+ 1 - 0
protos/user.proto

@@ -34,4 +34,5 @@ message LoginResponse {
     uint32 N=5;
     string Errmsg=6;
     uint64 T = 7;
+    bool Master = 8;
 }