更新猜颜色协议
This commit is contained in:
parent
882d13ef5c
commit
40a484695e
Binary file not shown.
BIN
config/GuessColor.xlsx
Normal file
BIN
config/GuessColor.xlsx
Normal file
Binary file not shown.
Binary file not shown.
@ -1225,6 +1225,45 @@ message ResMiningReward{
|
||||
|
||||
```
|
||||
|
||||
### 猜颜色
|
||||
|
||||
```protobuf
|
||||
//猜颜色
|
||||
message ReqGuessColor{}
|
||||
message ResGuessColor{
|
||||
int32 Id = 1; // 活动id
|
||||
int32 Status = 2; // 0 未开始 1 进行中 2 已结束
|
||||
int32 EndTime = 3; // 结束时间
|
||||
int32 Template = 4; // 模板
|
||||
int32 Pass = 5; // 关卡
|
||||
repeated int32 Color = 6; // 剩余的颜色
|
||||
repeated int32 Pos = 7; // 已猜中的颜色 位置从左到右 从1开始
|
||||
opponent Opponent = 8; // 对手
|
||||
}
|
||||
|
||||
message opponent{
|
||||
string Name = 2;
|
||||
int32 Face = 3;
|
||||
int32 Avatar = 4;
|
||||
int32 Progress = 5;
|
||||
}
|
||||
|
||||
message ReqGuessColorTake{
|
||||
map<int32, int32> Map = 1; // 颜色 pos => color
|
||||
}
|
||||
|
||||
message ResGuessColorTake{
|
||||
RES_CODE Code = 1;
|
||||
string Msg = 2;
|
||||
}
|
||||
|
||||
message ReqGuessColorReward{}
|
||||
message ResGuessColorReward{
|
||||
RES_CODE Code = 1;
|
||||
string Msg = 2;
|
||||
}
|
||||
```
|
||||
|
||||
## 玩家日志
|
||||
|
||||
## 支付订单处理
|
||||
|
||||
@ -3275,4 +3275,39 @@ message ResItem{
|
||||
|
||||
message ItemNotify{
|
||||
map<int32, int32> Item = 1; // 道具id =》 变化的数量
|
||||
}
|
||||
|
||||
//猜颜色
|
||||
message ReqGuessColor{}
|
||||
message ResGuessColor{
|
||||
int32 Id = 1; // 活动id
|
||||
int32 Status = 2; // 0 未开始 1 进行中 2 已结束
|
||||
int32 EndTime = 3; // 结束时间
|
||||
int32 Template = 4; // 模板
|
||||
int32 Pass = 5; // 关卡
|
||||
repeated int32 Color = 6; // 剩余的颜色
|
||||
repeated int32 Pos = 7; // 已猜中的颜色 位置从左到右 从1开始
|
||||
opponent Opponent = 8; // 对手
|
||||
}
|
||||
|
||||
message opponent{
|
||||
string Name = 2;
|
||||
int32 Face = 3;
|
||||
int32 Avatar = 4;
|
||||
int32 Progress = 5;
|
||||
}
|
||||
|
||||
message ReqGuessColorTake{
|
||||
map<int32, int32> Map = 1; // 颜色 pos => color
|
||||
}
|
||||
|
||||
message ResGuessColorTake{
|
||||
RES_CODE Code = 1;
|
||||
string Msg = 2;
|
||||
}
|
||||
|
||||
message ReqGuessColorReward{}
|
||||
message ResGuessColorReward{
|
||||
RES_CODE Code = 1;
|
||||
string Msg = 2;
|
||||
}
|
||||
@ -380,6 +380,34 @@
|
||||
"key": "Id",
|
||||
"sheet_name" :"Gem",
|
||||
"fields" :["Area"]
|
||||
},
|
||||
{
|
||||
"in_file": "GuessColor.xlsx",
|
||||
"out_file": "GuessColorTemplate.json",
|
||||
"key": "Id",
|
||||
"sheet_name" :"template",
|
||||
"fields" :["Template", "PassNum", "ItemCost", "ItemId", "FirstPass", "FirstItem"]
|
||||
},
|
||||
{
|
||||
"in_file": "GuessColor.xlsx",
|
||||
"out_file": "GuessColorReward.json",
|
||||
"key": "Id",
|
||||
"sheet_name" :"Reward",
|
||||
"fields" :["Template", "Items"]
|
||||
},
|
||||
{
|
||||
"in_file": "GuessColor.xlsx",
|
||||
"out_file": "GuessColorPass.json",
|
||||
"key": "Id",
|
||||
"sheet_name" :"Pass",
|
||||
"fields" :["Min", "Max", "Num"]
|
||||
},
|
||||
{
|
||||
"in_file": "GuessColor.xlsx",
|
||||
"out_file": "GuessColorJackpot.json",
|
||||
"key": "Id",
|
||||
"sheet_name" :"Jackpot",
|
||||
"fields" :["Icon"]
|
||||
}
|
||||
]
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user