Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ddnet/ddnet
/ SetSpectatorId
Method
SetSpectatorId
src/game/server/player.cpp:912–915 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
910
}
911
912
void CPlayer::SetSpectatorId(int Id)
913
{
914
m_SpectatorId = Id;
915
}
916
917
void CPlayer::ProcessScoreResult(CScorePlayerResult &Result)
918
{
Callers
4
ToggleSpecPauseVoted
Function · 0.80
OnClientDrop
Method · 0.80
OnSetSpectatorModeNetMessage
Method · 0.80
SetTeam
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected