Etterna 0.74.4
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
GameCommand Class Reference
Collaboration diagram for GameCommand:
Collaboration graph
[legend]

Public Member Functions

void Init ()
 
void Load (int iIndex, const Commands &cmds)
 
void LoadOne (const Command &cmd)
 
void ApplyToAllPlayers () const
 
void Apply (PlayerNumber pn) const
 
auto DescribesCurrentMode (PlayerNumber pn) const -> bool
 
auto DescribesCurrentModeForAllPlayers () const -> bool
 
auto IsPlayable (std::string *why=nullptr) const -> bool
 
auto IsZero () const -> bool
 
void ApplyCommitsScreens (bool bOn)
 
void PushSelf (lua_State *L)
 

Public Attributes

Commands m_Commands
 
std::string m_sName
 
std::string m_sText
 
bool m_bInvalid { true }
 
std::string m_sInvalidReason
 
int m_iIndex { -1 }
 
MultiPlayer m_MultiPlayer { MultiPlayer_Invalid }
 
const Stylem_pStyle { nullptr }
 
Difficulty m_dc { Difficulty_Invalid }
 
std::string m_sAnnouncer
 
std::string m_sPreferredModifiers
 
std::string m_sStageModifiers
 
std::string m_sScreen
 
LuaReference m_LuaFunction
 
Songm_pSong { nullptr }
 
Stepsm_pSteps { nullptr }
 
std::map< std::string, std::string > m_SetEnv
 
std::map< std::string, std::string > m_SetPref
 
std::string m_sSongGroup
 
SortOrder m_SortOrder { SortOrder_Invalid }
 
std::string m_sSoundPath
 
std::vector< std::string > m_vsScreensToPrepare
 
std::string m_sProfileID
 
bool m_bUrlExits { true }
 
bool m_bStopMusic { false }
 
bool m_bApplyDefaultOptions { false }
 
bool m_bFadeMusic { false }
 
float m_fMusicFadeOutVolume { -1 }
 
float m_fMusicFadeOutSeconds { -1 }
 

The documentation for this class was generated from the following files: