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

Method PlayerName

src/engine/client/client.cpp:1096–1107  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1094 }
1095}
1096const char *CClient::PlayerName() const
1097{
1098 if(g_Config.m_PlayerName[0])
1099 {
1100 return g_Config.m_PlayerName;
1101 }
1102 if(g_Config.m_SteamName[0])
1103 {
1104 return g_Config.m_SteamName;
1105 }
1106 return "nameless tee";
1107}
1108
1109const char *CClient::DummyName()
1110{

Callers 12

OnRenderMethod · 0.80
SendStartInfo7Method · 0.80
SendInfoMethod · 0.80
GetPathMethod · 0.80
RenderPopupFullscreenMethod · 0.80
RenderSettingsPlayerMethod · 0.80
StartRecordMethod · 0.80
RenderServerInfoMethod · 0.80
GhostlistPopulateMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected