MCPcopy Create free account
hub / github.com/ddnet/ddnet / SendChatTeam

Method SendChatTeam

src/game/server/gamecontext.cpp:630–635  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

628}
629
630void CGameContext::SendChatTeam(int Team, const char *pText) const
631{
632 for(int i = 0; i < MAX_CLIENTS; i++)
633 if(m_apPlayers[i] != nullptr && GetDDRaceTeam(i) == Team)
634 SendChatTarget(i, pText);
635}
636
637void CGameContext::SendChat(int ChatterClientId, int Team, const char *pText, int SpamProtectionClientId, int VersionFlags)
638{

Callers 11

TickMethod · 0.80
CheckTeamFinishedMethod · 0.80
SwapTeamCharactersMethod · 0.80
ProcessSaveTeamMethod · 0.80
OnCharacterDeathMethod · 0.80
ConPracticeMethod · 0.80
ConUnPracticeMethod · 0.80
ConLockMethod · 0.80
ConInviteMethod · 0.80
ConTeam0ModeMethod · 0.80
HandleCharacterTilesMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected