更新协议
This commit is contained in:
parent
271a3c4353
commit
6f515cfc48
@ -1404,7 +1404,6 @@ message RoomOpponent{
|
||||
message ReqPlayroomInfo{
|
||||
int32 Uid = 1;
|
||||
}
|
||||
|
||||
message ResPlayroomInfo{
|
||||
int32 Uid = 1;
|
||||
string name = 2;
|
||||
@ -1414,6 +1413,20 @@ message ResPlayroomInfo{
|
||||
int32 GameId = 6; // 游戏id
|
||||
map<int32, ItemInfo> Items = 7; // 游戏奖励
|
||||
int32 Status = 8; // 状态 0 未开始 1 选择奖励 2 已结束
|
||||
bool defense = 9; // 是否有防御
|
||||
map<int32, int32> flip = 10; // 翻牌 <位置, 牌>
|
||||
}
|
||||
|
||||
// 请求翻牌
|
||||
message ReqPlayroomFlip{
|
||||
int32 Id = 1; // 翻牌位置
|
||||
}
|
||||
|
||||
message ResPlayroomFlip{
|
||||
RES_CODE Code = 1;
|
||||
string Msg = 2;
|
||||
int32 Id = 3; // 翻牌位置
|
||||
int32 CardId = 4; // 卡牌id
|
||||
}
|
||||
|
||||
message ReqPlayroomGame{
|
||||
|
||||
@ -3416,6 +3416,20 @@ message ResPlayroomInfo{
|
||||
int32 GameId = 6; // 游戏id
|
||||
map<int32, ItemInfo> Items = 7; // 游戏奖励
|
||||
int32 Status = 8; // 状态 0 未开始 1 选择奖励 2 已结束
|
||||
bool defense = 9; // 是否有防御
|
||||
map<int32, int32> flip = 10; // 翻牌 <位置, 牌>
|
||||
}
|
||||
|
||||
// 请求翻牌
|
||||
message ReqPlayroomFlip{
|
||||
int32 Id = 1; // 翻牌位置
|
||||
}
|
||||
|
||||
message ResPlayroomFlip{
|
||||
RES_CODE Code = 1;
|
||||
string Msg = 2;
|
||||
int32 Id = 3; // 翻牌位置
|
||||
int32 CardId = 4; // 卡牌id
|
||||
}
|
||||
|
||||
message ReqPlayroomGame{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user