This commit is contained in:
aozhiwei 2024-03-20 17:15:50 +08:00
parent 293b705005
commit 5a3d41487f
2 changed files with 10 additions and 4 deletions

View File

@ -2512,9 +2512,15 @@ void Team::FillMFMobaBattleDataTeam(cs::MFMobaBattleDataTeam* p)
});
}
void Team::FillSMTeamFullNotify(cs::SMTeamFullNotify* p)
void Team::FillMFTeamFull(cs::MFTeamFull* p)
{
p->set_team_id(GetTeamId());
TraverseMembers
(
[p] (Human* hum) -> bool
{
hum->FillMFTeamMemberNew(p->add_members());
});
}
bool PBUtils::SupportSandTable(int proto_version)

View File

@ -3,8 +3,8 @@
namespace cs
{
class MFMobaBattleDataTeam;
class MFTeamFull;
class SMGameOver;
class SMTeamFullNotify;
}
namespace a8
@ -64,7 +64,7 @@ class Team : public std::enable_shared_from_this<Team>
long long GetLastKillFrameNo() { return last_kill_frameno_; }
bool MemberHasOb();
void FillMFMobaBattleDataTeam(cs::MFMobaBattleDataTeam* p);
void FillSMTeamFullNotify(cs::SMTeamFullNotify* p);
void FillMFTeamFull(cs::MFTeamFull* p);
private:
int team_id_ = 0;