1
This commit is contained in:
parent
b28845e9f6
commit
fb0c0a6c61
@ -287,6 +287,10 @@ void Human::FillMFTeamData(cs::MFTeamData* team_data, bool is_game_over)
|
||||
team_data->set_downed(downed);
|
||||
if (is_game_over) {
|
||||
team_data->set_account_id(account_id);
|
||||
team_data->set_avatar_url(avatar_url);
|
||||
team_data->set_user_value1(user_value1);
|
||||
team_data->set_user_value2(user_value2);
|
||||
team_data->set_user_value3(user_value3);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -56,6 +56,9 @@ class Human : public MoveableEntity
|
||||
|
||||
std::string name;
|
||||
std::string avatar_url;
|
||||
long long user_value1 = 0;
|
||||
long long user_value2 = 0;
|
||||
long long user_value3 = 0;
|
||||
bool downed = false;
|
||||
bool disconnected = false;
|
||||
int anim_type = 0;
|
||||
|
@ -68,6 +68,9 @@ Player* PlayerMgr::CreatePlayerByCMJoin(Player* hum,
|
||||
hum->emoji2 = msg.emoji2();
|
||||
hum->parachute = msg.parachute();
|
||||
hum->has_pass = msg.has_pass();
|
||||
hum->user_value1 = msg.user_value1();
|
||||
hum->user_value2 = msg.user_value2();
|
||||
hum->user_value3 = msg.user_value3();
|
||||
#if 0
|
||||
if (hum->atk_add > 0.9999f) {
|
||||
hum->atk_add = hum->atk_add / 100.0f;
|
||||
|
Loading…
x
Reference in New Issue
Block a user