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

Method OnEngineClientMessage

src/engine/server/antibot.cpp:179–188  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

177 AntibotOnEngineClientDrop(ClientId, pReason);
178}
179bool CAntibot::OnEngineClientMessage(int ClientId, const void *pData, int Size, int Flags)
180{
181 Update();
182 int AntibotFlags = 0;
183 if((Flags & MSGFLAG_VITAL) == 0)
184 {
185 AntibotFlags |= ANTIBOT_MSGFLAG_NONVITAL;
186 }
187 return AntibotOnEngineClientMessage(ClientId, pData, Size, AntibotFlags);
188}
189bool CAntibot::OnEngineServerMessage(int ClientId, const void *pData, int Size, int Flags)
190{
191 Update();

Callers 1

PumpNetworkMethod · 0.80

Calls 1

Tested by

no test coverage detected