Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ddnet/ddnet
/ Server
Method
Server
src/game/server/teams.cpp:899–902 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
897
}
898
899
class IServer *CGameTeams::Server()
900
{
901
return m_pGameContext->Server();
902
}
903
904
void CGameTeams::RequestTeamSwap(CPlayer *pPlayer, CPlayer *pTargetPlayer, int Team)
905
{
Callers
15
ConKillPlayer
Method · 0.45
ConSetSwitch
Method · 0.45
ConTeleport
Method · 0.45
ConKill
Method · 0.45
ConDrySave
Method · 0.45
OnCharacterStart
Method · 0.45
OnTeamFinish
Method · 0.45
ToggleSpecPause
Function · 0.45
ToggleSpecPauseVoted
Function · 0.45
ConTeamTop5
Method · 0.45
ConTimes
Method · 0.45
ConTimeout
Method · 0.45
Calls
no outgoing calls
Tested by
1
TEST_F
Function · 0.36