Files
WickedEngine/WickedEngine/wiLoadingScreen_BindLua.h
T
2023-03-06 21:42:29 +01:00

35 lines
713 B
C++

#pragma once
#include "wiLua.h"
#include "wiLuna.h"
#include "wiLoadingScreen.h"
#include "wiRenderPath2D_BindLua.h"
namespace wi::lua
{
class LoadingScreen_BindLua : public RenderPath2D_BindLua
{
private:
LoadingScreen loadingscreen;
public:
inline static constexpr char className[] = "LoadingScreen";
static Luna<LoadingScreen_BindLua>::FunctionType methods[];
static Luna<LoadingScreen_BindLua>::PropertyType properties[];
LoadingScreen_BindLua(LoadingScreen* component)
{
this->component = component;
}
LoadingScreen_BindLua(lua_State* L)
{
this->component = &loadingscreen;
}
int AddLoadingTask(lua_State* L);
int OnFinished(lua_State* L);
static void Bind();
};
}