This commit is contained in:
aozhiwei 2024-01-17 11:00:37 +08:00
parent ca83bb5e90
commit 630786c8d6
2 changed files with 4 additions and 0 deletions

View File

@ -284,6 +284,7 @@ public:
int InitWithMobaBattle(long ip_saddr, int socket_handle, std::shared_ptr<cs::CMJoin> msg,
std::shared_ptr<MobaBattle> p);
void CreateAndroid(int android_num, std::shared_ptr<Team> team = nullptr);
int GetFullLevelIdx() { return ++curr_full_level_idx_;}
private:
void ShuaAndroid();
@ -429,6 +430,8 @@ private:
long long room_switch_ = 0;
long long acc_inactive_time_ = 0;
int curr_full_level_idx_ = 0;
const mt::RankMatchConf* rank_match_conf_ = nullptr;
Team* moba_team_a_ = nullptr;

View File

@ -367,6 +367,7 @@ void Team::GenBattleReportData(Human* player, a8::MutableXObject* params)
}
member_pb->SetVal("move_distance", hum->stats->move_distance);
member_pb->SetVal("full_level_idx", hum->stats->full_level_idx);
member_pb->SetVal("is_run_away", hum->stats->is_run_away);
member_pb->SetVal("hero_id", hum->meta->id());
member_pb->SetVal("hero_uniid", hum->hero_uniid);