最大血量
This commit is contained in:
parent
2633482fe2
commit
813095f368
@ -116,6 +116,7 @@ void Human::FillMFTeamData(cs::MFTeamData* team_data)
|
||||
pos.ToPB(team_data->mutable_pos());
|
||||
attack_dir.ToPB(team_data->mutable_dir());
|
||||
team_data->set_health(health);
|
||||
team_data->set_max_health(GetMaxHP());
|
||||
team_data->set_disconnected(false);
|
||||
team_data->set_dead(dead);
|
||||
team_data->set_downed(downed);
|
||||
|
@ -414,6 +414,7 @@ message MFTeamData
|
||||
optional bool dead = 6; //是否死亡
|
||||
optional bool downed = 7; //是否倒下
|
||||
optional string name = 8; //名字
|
||||
optional float max_health = 9; //最大血量
|
||||
}
|
||||
|
||||
//同队队友数据
|
||||
|
Loading…
x
Reference in New Issue
Block a user