MCPcopy Create free account
hub / github.com/Segs/Segs / enqueue_client

Method enqueue_client

Projects/CoX/Servers/MapServer/MapInstance.cpp:345–351  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

343}
344
345void MapInstance::enqueue_client(MapClientSession *clnt)
346{
347 // m_world stores a ref to m_entities, so its entity mgr is updated as well
348 m_entities.InsertPlayer(clnt->m_ent);
349
350 //m_queued_clients.push_back(clnt); // enter this client on the waiting list
351}
352
353// Here we would add the handler call in case we get evCombineRequest :)
354void MapInstance::dispatch( Event *ev )

Callers 2

on_entity_responseMethod · 0.80

Calls 1

InsertPlayerMethod · 0.80

Tested by

no test coverage detected