XtGameKit/Packages/cn.xt.gacha/Proto/GachaOuter_C_3200.proto

34 lines
551 B
Protocol Buffer

syntax = "proto3";
package ET;
message GachaPoolStats
{
int32 poolId = 1;
int32 totalCount = 2;
int32 guaranteeRemain = 3;
}
// ResponseType R2C_GachaDraw
message C2G_GachaDraw // ISessionRequest
{
int32 RpcId = 1;
string reqId = 2;
int32 poolId = 3;
int32 drawType = 4; // 1=single 2=multi10
}
message R2C_GachaDraw // ISessionResponse
{
int32 RpcId = 1;
int32 Error = 2;
string Message = 3;
repeated RewardEntry rewards = 4;
repeated bool isNewHero = 5;
}
message Gacha_GachaInfo // IMessage
{
repeated GachaPoolStats stats = 1;
}