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

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

Inheritance diagram for LunaSongManager:
Collaboration diagram for LunaSongManager:

Public Member Functions

 DEFINE_METHOD (GetSongColor, GetSongColor(Luna< Song >::check(L, 1))) DEFINE_METHOD(GetSongGroupColor
 GetSongGroupColor (SArg(1))) static auto GetSongGroupNames(T *p
p GetSongGroupNames (v)
 LuaHelpers::CreateTableFromArray (v, L)
 DEFINE_METHOD (ShortenGroupName, ShortenGroupName(SArg(1))) DEFINE_METHOD(GetSongGroupBannerPath
 GetSongGroupBannerPath (SArg(1)))
 DEFINE_METHOD (DoesSongGroupExist, DoesSongGroupExist(SArg(1)))
 DEFINE_METHOD (IsChartLoaded, IsChartLoaded(SArg(1)))
Public Member Functions inherited from Luna< SongManager >
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 auto GetAllSongs (T *p, lua_State *L) -> int
static auto DifferentialReload (T *p, lua_State *L) -> int
static auto GetNumSongs (T *p, lua_State *L) -> int
static auto GetNumAdditionalSongs (T *p, lua_State *L) -> int
static auto GetNumSongGroups (T *p, lua_State *L) -> int
static auto GetSongFromSteps (T *, lua_State *L) -> int
static auto GetSongsInGroup (T *p, lua_State *L) -> int
static auto GetPopularSongs (T *p, lua_State *L) -> int
static auto WasLoadedFromAdditionalSongs (T *p, lua_State *L) -> int
static auto GetSongByChartKey (T *p, lua_State *L) -> int
static auto GetStepsByChartKey (T *p, lua_State *L) -> int
static auto GetActivePlaylist (T *p, lua_State *L) -> int
static auto SetActivePlaylist (T *p, lua_State *L) -> int
static auto NewPlaylist (T *, lua_State *) -> int
static auto NewPlaylistNoDialog (T *p, lua_State *L) -> int
static auto RenamePlaylistNoDialog (T *p, lua_State *L) -> int
static auto GetPlaylists (T *p, lua_State *L) -> int
static auto DeletePlaylist (T *p, lua_State *L) -> int
Static Public Member Functions inherited from Luna< SongManager >
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

Public Attributes

lua_State *L int
 return

Additional Inherited Members

Static Public Attributes inherited from Luna< SongManager >
static std::string m_sClassName
static std::string m_sBaseClassName
Protected Types inherited from Luna< SongManager >
using T
using binding_t
Protected Member Functions inherited from Luna< SongManager >
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 SongManager.

Member Data Documentation

◆ int

lua_State* L LunaSongManager::int
Initial value:
{
std::vector<std::string> v

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