This commit is contained in:
aozhiwei 2022-08-29 13:22:40 +08:00
parent b179287a9e
commit cf3eb470be
2 changed files with 2 additions and 0 deletions

View File

@ -697,6 +697,7 @@ void Human::FillMFTeamData(Human* hum, cs::MFTeamData* team_data, bool is_game_o
team_data->set_team_id(team_id); team_data->set_team_id(team_id);
team_data->set_player_id(GetUniId()); team_data->set_player_id(GetUniId());
team_data->set_player_id(meta->i->id());
team_data->set_score(stats.pve_score); team_data->set_score(stats.pve_score);
if (is_game_over || !real_dead || room->GetFrameNo() - GetRealDeadFrameNo(room) < 4) { if (is_game_over || !real_dead || room->GetFrameNo() - GetRealDeadFrameNo(room) < 4) {
TypeConvert::ToPb(GetPos(), team_data->mutable_pos()); TypeConvert::ToPb(GetPos(), team_data->mutable_pos());

View File

@ -643,6 +643,7 @@ message MFTeamData
optional string user_data = 60 [default = ""]; // optional string user_data = 60 [default = ""]; //
optional int32 can_follow = 62 [default = 0]; // optional int32 can_follow = 62 [default = 0]; //
optional int32 score = 63 [default = 0]; //pve模式积分 optional int32 score = 63 [default = 0]; //pve模式积分
optional int32 hero_id = 64 [default = 0]; //id()
// //
optional string account_id = 10; //id optional string account_id = 10; //id