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

Method net_Relcase

ogsr_engine/xrGame/script_zone.cpp:69–80  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67}
68
69void CScriptZone::net_Relcase(CObject* O)
70{
71 CGameObject* l_tpGameObject = smart_cast<CGameObject*>(O);
72 if (!l_tpGameObject)
73 return;
74
75 xr_vector<CObject*>::iterator I = std::find(feel_touch.begin(), feel_touch.end(), O);
76 if (I != feel_touch.end())
77 {
78 callback(GameObject::eZoneExit)(lua_game_object(), l_tpGameObject->lua_game_object());
79 }
80}
81
82BOOL CScriptZone::feel_touch_contact(CObject* O) { return (((CCF_Shape*)CFORM())->Contact(O)); }
83

Callers

nothing calls this directly

Calls 5

callbackClass · 0.85
lua_game_objectMethod · 0.80
findFunction · 0.50
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected