|
@@ -46,7 +46,11 @@ message PartyReadyPush {
|
|
|
message PartyFullPush {
|
|
|
}
|
|
|
|
|
|
-message PartyStartPush {
|
|
|
+message PartyResetPush {
|
|
|
+ repeated UserInfo Users = 1;
|
|
|
+ uint64 Step = 2;
|
|
|
+ map<string, bytes> state = 3;
|
|
|
+ string Road = 4;
|
|
|
}
|
|
|
|
|
|
message PartyFinishPush {
|
|
@@ -75,4 +79,21 @@ message PartyStageStartPush {
|
|
|
message PartyStageFinishPush {
|
|
|
uint32 StageIndex = 1; // 第几个小关
|
|
|
repeated uint32 Users = 2; // 过关用户
|
|
|
+}
|
|
|
+
|
|
|
+message PartyInfo {
|
|
|
+ uint64 PartyID = 1;
|
|
|
+ int32 PartyType = 2; // 1 = 糖豆人; 2 = ** ; 3 = **
|
|
|
+ int32 GameUserCount = 3; // 游戏人数
|
|
|
+ int32 ObUserCount = 4; // 观战人数
|
|
|
+ int32 Status = 5; // 房间状态 0 = 已创建;1=已满员; 2=已开始; 3 = 已结束; 4 = 已解散
|
|
|
+}
|
|
|
+
|
|
|
+message PartyListRequest {
|
|
|
+ int32 PartyType = 1; // 0 = 不限; 1 = 糖豆人; 2 = ** ; 3 = **
|
|
|
+}
|
|
|
+
|
|
|
+message PartyListResponse {
|
|
|
+ Result Result = 1;
|
|
|
+ repeated PartyInfo Parties = 2;
|
|
|
}
|