MCPcopy Create free account
hub / github.com/OGSR/OGSR-Engine / SendTo_LL

Method SendTo_LL

ogsr_engine/xrGame/xrServer.cpp:492–507  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

490}
491
492void xrServer::SendTo_LL(ClientID ID, void* data, u32 size, u32 dwFlags, u32 dwTimeout)
493{
494 if (SV_Client && SV_Client->ID == ID)
495 {
496 // optimize local traffic
497 Level().OnMessage(data, size);
498 }
499 else
500 {
501 IClient* pClient = ID_to_client(ID);
502 if (!pClient)
503 return;
504
505 FATAL(""); //Это не должно быть вызвано
506 }
507}
508
509//--------------------------------------------------------------------
510CSE_Abstract* xrServer::entity_Create(LPCSTR name) { return F_entity_Create(name); }

Callers

nothing calls this directly

Calls 1

OnMessageMethod · 0.45

Tested by

no test coverage detected