1
This commit is contained in:
parent
e64b32dec1
commit
08dfa906c9
@ -949,7 +949,7 @@ void Human::FillMFTeamData(Human* hum, cs::MFTeamData* team_data, bool is_game_o
|
||||
team_data->set_hero_exp(GetHeroExp());
|
||||
team_data->set_hero_max_exp(GetHeroMaxExp());
|
||||
team_data->set_score(stats->pve_rank_score);
|
||||
team_data->set_main_skill_useable(GetMainSkill()->GetLeftTime() <= 0);
|
||||
team_data->set_main_skill_cd(GetMainSkill()->GetLeftTime());
|
||||
if (is_game_over || !real_dead || room->GetFrameNo() - GetRealDeadFrameNo(room) < 4) {
|
||||
TypeConvert::ToPb(GetPos(), team_data->mutable_pos());
|
||||
TypeConvert::ToPb(GetAttackDir(), team_data->mutable_dir());
|
||||
|
@ -724,7 +724,7 @@ message MFTeamData
|
||||
optional int32 hero_level = 72; //hero等级
|
||||
optional int32 hero_exp = 73; //hero经验
|
||||
optional int32 hero_max_exp = 74; //hero max经验
|
||||
optional int32 main_skill_useable = 80 [default = 0]; //技能是否可使用
|
||||
optional int32 main_skill_cd = 80 [default = 0]; //技能cd时间
|
||||
|
||||
//一下字段只在结算的时候该字段才有内容
|
||||
optional string account_id = 10; //账号id
|
||||
|
Loading…
x
Reference in New Issue
Block a user