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

Method OnEngineServerMessage

src/engine/server/antibot.cpp:189–198  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

187 return AntibotOnEngineClientMessage(ClientId, pData, Size, AntibotFlags);
188}
189bool CAntibot::OnEngineServerMessage(int ClientId, const void *pData, int Size, int Flags)
190{
191 Update();
192 int AntibotFlags = 0;
193 if((Flags & MSGFLAG_VITAL) == 0)
194 {
195 AntibotFlags |= ANTIBOT_MSGFLAG_NONVITAL;
196 }
197 return AntibotOnEngineServerMessage(ClientId, pData, Size, AntibotFlags);
198}
199bool CAntibot::OnEngineSimulateClientMessage(int *pClientId, void *pBuffer, int BufferSize, int *pOutSize, int *pFlags)
200{
201 int AntibotFlags = 0;

Callers 1

SendMsgMethod · 0.80

Calls 1

Tested by

no test coverage detected