MCPcopy Create free account
hub / github.com/UE4SS-RE/RE-UE4SS / on_lua_stop

Method on_lua_stop

UE4SS/include/Mod/CppUserModBase.hpp:99–105  ·  view source on GitHub ↗

* 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

Source from the content-addressed store, hash-verified

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.

Callers 1

fire_on_lua_stopMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected