2021-09-09 21:21:51 -04:00
|
|
|
#pragma once
|
2021-10-02 12:30:21 -04:00
|
|
|
#include "game/ui_scripting/lua/value_conversion.hpp"
|
2021-09-09 21:21:51 -04:00
|
|
|
|
|
|
|
namespace ui_scripting
|
|
|
|
{
|
2021-10-02 12:30:21 -04:00
|
|
|
int main_function_handler(game::hks::lua_State* state);
|
|
|
|
void add_converted_function(game::hks::cclosure* closure, const sol::protected_function& function);
|
|
|
|
void clear_converted_functions();
|
|
|
|
|
2021-09-26 19:37:48 -04:00
|
|
|
void enable_error_hook();
|
|
|
|
void disable_error_hook();
|
2021-09-09 21:21:51 -04:00
|
|
|
}
|