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

Method add

ogsr_engine/xrGame/client_spawn_manager.cpp:19–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17CClientSpawnManager::~CClientSpawnManager() { VERIFY(m_registry.empty()); }
18
19void CClientSpawnManager::add(ALife::_OBJECT_ID requesting_id, ALife::_OBJECT_ID requested_id, const luabind::functor<void>& functor, const luabind::object& object)
20{
21 CSpawnCallback callback;
22 callback.m_callback.set(functor, object);
23 add(requesting_id, requested_id, callback);
24}
25
26void CClientSpawnManager::add(ALife::_OBJECT_ID requesting_id, ALife::_OBJECT_ID requested_id, const luabind::functor<void>& lua_function)
27{

Callers

nothing calls this directly

Calls 6

addFunction · 0.85
callbackClass · 0.85
setMethod · 0.45
findMethod · 0.45
endMethod · 0.45
insertMethod · 0.45

Tested by

no test coverage detected