Etterna 0.75.1
Loading...
Searching...
No Matches
LunaScreenManager Class Reference

Allow Lua to have access to the ScreenManager. More...

Inheritance diagram for LunaScreenManager:
Collaboration diagram for LunaScreenManager:

Public Member Functions

 SCRMAN_PLAY_SOUND (InvalidSound)
 SCRMAN_PLAY_SOUND (StartSound)
 SCRMAN_PLAY_SOUND (CoinSound)
 SCRMAN_PLAY_SOUND (CancelSound)
 SCRMAN_PLAY_SOUND (ScreenshotSound)
Public Member Functions inherited from Luna< ScreenManager >
auto GetClassName () const -> const std::string &override
auto GetBaseClassName () const -> const std::string &override
Public Member Functions inherited from LuaBinding
void Register (lua_State *L)
auto IsDerivedClass () const -> bool

Static Public Member Functions

static void ValidateScreenName (lua_State *L, std::string &name)
static int SetNewScreen (T *p, lua_State *L)
static int GetTopScreen (T *p, lua_State *L)
static int SystemMessage (T *p, lua_State *L)
static int ScreenIsPrepped (T *p, lua_State *L)
static int ScreenClassExists (T *p, lua_State *L)
static int AddNewScreenToTop (T *p, lua_State *L)
static int ReloadOverlayScreens (T *p, lua_State *L)
static int GetOverlayScreens (T *p, lua_State *L)
static int get_input_redirected (T *p, lua_State *L)
static int set_input_redirected (T *p, lua_State *L)
Static Public Member Functions inherited from Luna< ScreenManager >
static auto check (lua_State *L, int narg, bool bIsSelf=false) -> T *
static auto get (lua_State *L, int narg) -> T *
static void PushObject (Lua *L, const std::string &sDerivedClassName, T *p)
Static Public Member Functions inherited from LuaBinding
static void RegisterTypes (lua_State *L)
static void ApplyDerivedType (Lua *L, const std::string &sClassname, void *pSelf)
static auto CheckLuaObjectType (lua_State *L, int narg, std::string const &szType) -> bool

Additional Inherited Members

Static Public Attributes inherited from Luna< ScreenManager >
static std::string m_sClassName
static std::string m_sBaseClassName
Protected Types inherited from Luna< ScreenManager >
using T
using binding_t
Protected Member Functions inherited from Luna< ScreenManager >
void Register (Lua *L, int iMethods, int iMetatable) override
void AddMethod (std::string const &regName, int(*pFunc)(T *p, lua_State *L))
Static Protected Member Functions inherited from LuaBinding
static void CreateMethodsTable (lua_State *L, const std::string &szName)
static auto GetPointerFromStack (Lua *L, const std::string &sType, int iArg) -> void *
static auto Equal (lua_State *L) -> bool
static auto PushEqual (lua_State *L) -> int

Detailed Description

Allow Lua to have access to the ScreenManager.


The documentation for this class was generated from the following file:
  • /home/runner/work/etterna/etterna/src/Etterna/Singletons/ScreenManager.cpp