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

Method SetTeams

src/game/server/entities/character.cpp:2143–2147  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2141}
2142
2143void CCharacter::SetTeams(CGameTeams *pTeams)
2144{
2145 m_pTeams = pTeams;
2146 m_Core.SetTeamsCore(&m_pTeams->m_Core);
2147}
2148
2149bool CCharacter::TrySetRescue(int RescueMode)
2150{

Callers 1

OnCharacterSpawnMethod · 0.80

Calls 1

SetTeamsCoreMethod · 0.80

Tested by

no test coverage detected