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

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

Inheritance diagram for LunaProfile:
Collaboration diagram for LunaProfile:

Public Member Functions

 DEFINE_METHOD (GetPriority, m_ListPriority)
 DEFINE_METHOD (GetTotalDancePoints, m_iTotalDancePoints)
 DEFINE_METHOD (GetGUID, m_sGuid)
Public Member Functions inherited from Luna< Profile >
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 int AddScreenshot (T *p, lua_State *L)
static int GetDisplayName (T *p, lua_State *L)
static int SetDisplayName (T *p, lua_State *L)
static int GetLastUsedHighScoreName (T *p, lua_State *L)
static int SetLastUsedHighScoreName (T *p, lua_State *L)
static int GetTotalNumSongsPlayed (T *p, lua_State *L)
static int GetSongsActual (T *p, lua_State *L)
static int GetSongsPossible (T *p, lua_State *L)
static int GetSongsPercentComplete (T *p, lua_State *L)
static int GetTotalStepsWithTopGrade (T *p, lua_State *L)
static int GetNumTotalSongsPlayed (T *p, lua_State *L)
static int GetTotalSessions (T *p, lua_State *L)
static int GetTotalSessionSeconds (T *p, lua_State *L)
static int GetTotalGameplaySeconds (T *p, lua_State *L)
static int GetPlayerRating (T *p, lua_State *L)
static int GetMostPopularSong (T *p, lua_State *L)
static int GetSongNumTimesPlayed (T *p, lua_State *L)
static int HasPassedAnyStepsInSong (T *p, lua_State *L)
static int GetNumToasties (T *p, lua_State *L)
static int GetTotalTapsAndHolds (T *p, lua_State *L)
static int GetTotalJumps (T *p, lua_State *L)
static int GetTotalHolds (T *p, lua_State *L)
static int GetTotalRolls (T *p, lua_State *L)
static int GetTotalMines (T *p, lua_State *L)
static int GetTotalHands (T *p, lua_State *L)
static int GetTotalLifts (T *p, lua_State *L)
static int GetUserTable (T *p, lua_State *L)
static int GetNumFaves (T *p, lua_State *L)
static int GetLastPlayedSong (T *p, lua_State *L)
static int GetPlayerSkillsetRating (T *p, lua_State *L)
static int GetGoalTable (T *p, lua_State *L)
static int AddGoal (T *p, lua_State *L)
static int SetFromAll (T *p, lua_State *L)
static int SortByDate (T *p, lua_State *L)
static int SortByRate (T *p, lua_State *L)
static int SortByName (T *p, lua_State *L)
static int SortByPriority (T *p, lua_State *L)
static int SortByDiff (T *p, lua_State *L)
static int ToggleFilter (T *p, lua_State *L)
static int GetFilterMode (T *p, lua_State *L)
static int GetIgnoreStepCountCalories (T *p, lua_State *L)
static int CalculateCaloriesFromHeartRate (T *p, lua_State *L)
static int IsCurrentChartPermamirror (T *p, lua_State *L)
static int GetEasiestGoalForChartAndRate (T *p, lua_State *L)
static int RenameProfile (T *p, lua_State *L)
static int ForceRecalcScores (T *p, lua_State *L)
static int UnInvalidateAllScores (T *p, lua_State *L)
Static Public Member Functions inherited from Luna< Profile >
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< Profile >
static std::string m_sClassName
static std::string m_sBaseClassName
Protected Types inherited from Luna< Profile >
using T
using binding_t
Protected Member Functions inherited from Luna< Profile >
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 Profile.


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