h2-mod/src/client/component/ui_scripting.hpp

16 lines
414 B
C++
Raw Normal View History

2021-09-09 21:21:51 -04:00
#pragma once
#include "game/ui_scripting/lua/value_conversion.hpp"
2021-09-28 16:39:27 -04:00
#include "game/ui_scripting/event.hpp"
2021-09-09 21:21:51 -04:00
namespace ui_scripting
{
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-28 16:40:51 -04:00
void notify(const event& e);
2021-09-09 21:21:51 -04:00
}