|
@@ -0,0 +1,77 @@
|
|
|
+syntax = "proto3";
|
|
|
+package protos;
|
|
|
+
|
|
|
+import "userinfo.proto";
|
|
|
+import "result.proto";
|
|
|
+
|
|
|
+message PartyJoinRequest {
|
|
|
+ uint64 PartyID = 1;
|
|
|
+ int32 PartyType = 2; // 1 = 糖豆人; 2 = ** ; 3 = **
|
|
|
+ int32 Identidy = 3; // 身份 0 = 游戏者; 1 = 观察者
|
|
|
+}
|
|
|
+
|
|
|
+message PartyJoinResponse {
|
|
|
+ Result Result = 1;
|
|
|
+ uint32 PartyID = 2;
|
|
|
+ int32 Identidy = 3; // 身份 0 = 游戏者; 1 = 观察者
|
|
|
+}
|
|
|
+
|
|
|
+message PartyJoinPush {
|
|
|
+ UserInfo UserInfo = 1;
|
|
|
+}
|
|
|
+
|
|
|
+message PartyLeaveRequest {
|
|
|
+}
|
|
|
+
|
|
|
+message PartyLeaveResponse {
|
|
|
+ Result Result = 1;
|
|
|
+}
|
|
|
+
|
|
|
+message PartyLeavePush {
|
|
|
+ uint32 UserID = 1;
|
|
|
+}
|
|
|
+
|
|
|
+message PartyReadyRequest {
|
|
|
+}
|
|
|
+
|
|
|
+message PartyReadyResponse {
|
|
|
+ Result Result = 1;
|
|
|
+}
|
|
|
+
|
|
|
+message PartyReadyPush {
|
|
|
+ uint32 UserID = 1;
|
|
|
+}
|
|
|
+
|
|
|
+message PartyFullPush {
|
|
|
+}
|
|
|
+
|
|
|
+message PartyStartPush {
|
|
|
+}
|
|
|
+
|
|
|
+message PartyFinishPush {
|
|
|
+}
|
|
|
+
|
|
|
+message PartyStageCrossRequest {
|
|
|
+ uint32 StageIndex = 1; // 第几个小关
|
|
|
+}
|
|
|
+
|
|
|
+message PartyStageCrossResponse {
|
|
|
+ Result Result = 1;
|
|
|
+ uint32 CrossIndex = 2; // 第几个通关的
|
|
|
+}
|
|
|
+
|
|
|
+message PartyStageCrossPush {
|
|
|
+ uint32 UserID = 1;
|
|
|
+ uint32 StageIndex = 2; // 第几个小关
|
|
|
+ uint32 CrossIndex = 3; // 第几个通关的
|
|
|
+}
|
|
|
+
|
|
|
+message PartyStageStartPush {
|
|
|
+ uint32 StageIndex = 1; // 第几个小关
|
|
|
+ repeated uint32 Users = 2; // 参加用户
|
|
|
+}
|
|
|
+
|
|
|
+message PartyStageFinishPush {
|
|
|
+ uint32 StageIndex = 1; // 第几个小关
|
|
|
+ repeated uint32 Users = 2; // 过关用户
|
|
|
+}
|