| 209 | } |
| 210 | |
| 211 | u32 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 | |
| 223 | Fvector CScriptGameObject::memory_position(const CScriptGameObject& lua_game_object) |
| 224 | { |
nothing calls this directly
no test coverage detected