添加协议

This commit is contained in:
aozhiwei 2020-05-21 11:47:21 +08:00
parent bf4e4fad50
commit 33eeeb25f8
3 changed files with 3 additions and 0 deletions

View File

@ -122,6 +122,7 @@ enum BuffEffectType_e
kBET_Camouflage = 5, //伪装 kBET_Camouflage = 5, //伪装
kBET_AdPlaying = 6, //看广告中 kBET_AdPlaying = 6, //看广告中
kBET_LordMode = 7, //上帝模式 kBET_LordMode = 7, //上帝模式
kBET_NewBieMode = 8, //新手模式血量低于50%
kBET_OnceChgAttr = 11, //一次性buff kBET_OnceChgAttr = 11, //一次性buff
kBET_End kBET_End
}; };

View File

@ -83,6 +83,7 @@ struct PlayerStats
int gold = 0; int gold = 0;
int score = 0; int score = 0;
std::vector<std::pair<int, int>> items;
int pass_score = 0; int pass_score = 0;
int rank_score = 0; int rank_score = 0;

View File

@ -573,6 +573,7 @@ message MFPlayerStats
optional int32 gold = 10; // optional int32 gold = 10; //
optional int32 score = 11; // optional int32 score = 11; //
repeated MFPair items = 6; // key:item_id value:
optional int32 pass_score = 9; // optional int32 pass_score = 9; //
optional int32 rank_score = 13; // optional int32 rank_score = 13; //
optional bool has_pass = 27; // optional bool has_pass = 27; //