mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-10-28 06:46:03 +03:00
27 lines
838 B
C++
27 lines
838 B
C++
#include "gameui/GameScriptFunctions.hpp"
|
|
#include "ui/FrameScript.hpp"
|
|
#include "util/Lua.hpp"
|
|
#include "util/Unimplemented.hpp"
|
|
|
|
|
|
static int32_t Script_GetNumWorldStateUI(lua_State* L) {
|
|
WHOA_UNIMPLEMENTED(0);
|
|
}
|
|
|
|
static int32_t Script_GetWorldStateUIInfo(lua_State* L) {
|
|
WHOA_UNIMPLEMENTED(0);
|
|
}
|
|
|
|
void WorldStateInfoRegisterScriptFunctions() {
|
|
for (int32_t i = 0; i < NUM_SCRIPT_FUNCTIONS_WORLD_STATE_INFO; ++i) {
|
|
FrameScript_RegisterFunction(
|
|
GameScript::s_ScriptFunctions_WorldStateInfo[i].name,
|
|
GameScript::s_ScriptFunctions_WorldStateInfo[i].method);
|
|
}
|
|
}
|
|
|
|
FrameScript_Method GameScript::s_ScriptFunctions_WorldStateInfo[NUM_SCRIPT_FUNCTIONS_WORLD_STATE_INFO] = {
|
|
{ "GetNumWorldStateUI", &Script_GetNumWorldStateUI },
|
|
{ "GetWorldStateUIInfo", &Script_GetWorldStateUIInfo },
|
|
};
|