This commit is contained in:
aozhiwei 2023-06-08 19:15:03 +08:00
parent f4604568f6
commit 38f9689c25
3 changed files with 11 additions and 0 deletions

View File

@ -3659,3 +3659,8 @@ void Human::ShiledBreak()
RemoveBuffByUniId(hold_shield_buff->buff_uniid);
}
}
void Human::SendPersonalBattleReport()
{
}

View File

@ -292,6 +292,7 @@ private:
void FillSMGameOver(cs::SMGameOver& msg);
void SendBattleSettlement();
void SendBattleReport();
void SendPersonalBattleReport();
void Revive();
void AdjustDecHp(float old_health, float& new_health);
void ClearPartObjects();
@ -353,6 +354,7 @@ private:
bool already_report_battle_ = false;
bool sending_battlereport_ = false;
bool is_game_end_ = false;
bool sent_personal_report_ = false;
long long jump_frameno_ = 0;
float old_sync_speed = 0;

View File

@ -1552,6 +1552,10 @@ void Human::SendGameOver()
FillSMGameOver(msg);
SendNotifyMsg(msg);
}
if (sent_personal_report_) {
SendPersonalBattleReport();
sent_personal_report_ = true;
}
}
}
if (IsEntitySubType(EST_Player)) {