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

Method Update

src/engine/server/antibot.cpp:105–116  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

103 AntibotConsoleCommand(pCommand);
104}
105void CAntibot::Update()
106{
107 m_Data.m_Now = time_get();
108 m_Data.m_Freq = time_freq();
109
110 Server()->FillAntibot(&m_RoundData);
111 if(GameServer())
112 {
113 GameServer()->FillAntibot(&m_RoundData);
114 AntibotUpdateData();
115 }
116}
117
118void CAntibot::OnPlayerInit(int ClientId)
119{

Callers 2

PumpNetworkMethod · 0.45
RunMethod · 0.45

Calls 5

time_getFunction · 0.85
time_freqFunction · 0.85
AntibotUpdateDataFunction · 0.85
ServerClass · 0.50
FillAntibotMethod · 0.45

Tested by

no test coverage detected