* Executes before a Lua mod is about to be stopped. * Executes for every Lua mod that is stopping. * @param mod_name This is the name of the Lua mod that is about to be stopped. * @param lua This is the main Lua instance. * @param main_lua This is the main Lua thread instance. * @param async_lua This is the Lua instance for asynchronous things like Exec
| 97 | * @param hook_luas This is a container of Lua instances that are used for game-thread hooks like ExecuteInGameThread. |
| 98 | */ |
| 99 | RC_UE4SS_API virtual auto on_lua_stop(StringViewType mod_name, |
| 100 | LuaMadeSimple::Lua& lua, |
| 101 | LuaMadeSimple::Lua& main_lua, |
| 102 | LuaMadeSimple::Lua& async_lua, |
| 103 | std::vector<LuaMadeSimple::Lua*>& hook_luas) -> void |
| 104 | { |
| 105 | } |
| 106 | |
| 107 | /** |
| 108 | * Executes before a Lua mod of the same name is about to be stopped. |