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

Method GetTeamName

src/game/server/gamecontroller.cpp:473–484  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

471}
472
473const char *IGameController::GetTeamName(int Team)
474{
475 switch(Team)
476 {
477 case TEAM_SPECTATORS:
478 return "spectators";
479 case TEAM_GAME:
480 return "game";
481 default:
482 dbg_assert_failed("Invalid Team: %d", Team);
483 }
484}
485
486void IGameController::SetGamePaused(bool Paused)
487{

Callers 3

DoTeamChangeMethod · 0.45
ConSetTeamMethod · 0.45
ConSetTeamAllMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected