1
This commit is contained in:
parent
b179287a9e
commit
cf3eb470be
@ -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());
|
||||||
|
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user