数据结构-公用键值对

master_huanxiang
xuexinpeng 2021-12-23 13:46:20 +08:00
parent d618e1d6e9
commit 6f9d61b0e9
1 changed files with 6 additions and 1 deletions

View File

@ -1207,13 +1207,18 @@ option optimize_for = SPEED;
optional string defServerName = 7;//
}
// key-val
message CommKeyVal{
optional int32 key = 1; //
optional int32 val = 2; //
}
//
message ExplorerMapInfo{
optional int32 teamId = 1; //id
optional int32 mapId = 2 ; //id
optional int32 hp = 3; //
optional int32 exploreTime = 4;//
repeated int32 dropReward = 5 ;//
repeated CommKeyVal dropReward = 5 ;//
}
message ExplorerMapSendInfo{
optional int32 mapId = 1; //id