This commit is contained in:
aozhiwei 2023-03-22 10:59:21 +08:00
parent 4020e50eb7
commit fa15c63e36
5 changed files with 7 additions and 7 deletions

View File

@ -3568,8 +3568,3 @@ void Human::ProcGemStoneItem(AddItemDTO& dto)
} }
dto.handled = true; dto.handled = true;
} }
void Human::SendTeamBattleReport()
{
}

View File

@ -419,7 +419,6 @@ private:
void FillSMGameOver(cs::SMGameOver& msg); void FillSMGameOver(cs::SMGameOver& msg);
void SendBattleSettlement(); void SendBattleSettlement();
void SendBattleReport(); void SendBattleReport();
void SendTeamBattleReport();
void Revive(); void Revive();
void AdjustDecHp(float old_health, float& new_health); void AdjustDecHp(float old_health, float& new_health);
void ClearPartObjects(); void ClearPartObjects();

View File

@ -1394,7 +1394,7 @@ void Human::SendGameOver()
FillSMGameOver(msg); FillSMGameOver(msg);
SendNotifyMsg(msg); SendNotifyMsg(msg);
} else { } else {
SendTeamBattleReport(); GetTeam()->SendTeamBattleReport(this);
} }
} }
if (IsEntitySubType(EST_Player)) { if (IsEntitySubType(EST_Player)) {

View File

@ -174,3 +174,8 @@ bool Team::HasPlayer()
} }
return false; return false;
} }
void Team::SendTeamBattleReport(Human* sender)
{
}

View File

@ -39,6 +39,7 @@ class Team
bool IsFreeTeam(); bool IsFreeTeam();
bool HasPlayer(); bool HasPlayer();
void FillSMGameOver(cs::SMGameOver& msg); void FillSMGameOver(cs::SMGameOver& msg);
void SendTeamBattleReport(Human* sender);
private: private:
int team_id_ = 0; int team_id_ = 0;