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

Method memory_time

ogsr_engine/xrGame/script_game_object2.cpp:211–221  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

209}
210
211u32 CScriptGameObject::memory_time(const CScriptGameObject& lua_game_object)
212{
213 CCustomMonster* monster = smart_cast<CCustomMonster*>(&object());
214 if (!monster)
215 {
216 ai().script_engine().script_log(ScriptStorage::eLuaMessageTypeError, "CScriptEntity : cannot access class member memory!");
217 return (0);
218 }
219 else
220 return (monster->memory().memory_time(&lua_game_object.object()));
221}
222
223Fvector CScriptGameObject::memory_position(const CScriptGameObject& lua_game_object)
224{

Callers

nothing calls this directly

Calls 4

script_logMethod · 0.80
objectFunction · 0.50
memoryMethod · 0.45
objectMethod · 0.45

Tested by

no test coverage detected