123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778 |
- 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 = 观察者
- uint32 sit = 4; // 座位号
- }
- 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; // 过关用户
- }
|