Etterna 0.75.1
Loading...
Searching...
No Matches
OptionRowHandlerLua Class Reference
Inheritance diagram for OptionRowHandlerLua:
Collaboration diagram for OptionRowHandlerLua:

Public Member Functions

void Init () override
auto SanityCheckTable (lua_State *L, std::string &RowName) -> bool
void SetEnabledForPlayers ()
void LoadChoices (Lua *L)
auto LoadInternal (const Commands &cmds) -> bool override
auto Reload () -> ReloadChanged override
void ImportOption (OptionRow *, const PlayerNumber &vpns, std::vector< bool > &vbSelectedOut) const override
auto ExportOption (const PlayerNumber &vpns, const std::vector< bool > &vbSelected) const -> int override
auto NotifyOfSelection (PlayerNumber pn, int choice) -> bool override
auto GoToFirstOnStart () -> bool override
Public Member Functions inherited from OptionRowHandler
bool Load (const Commands &cmds)
std::string OptionTitle () const
std::string GetThemedItemText (int iChoice) const
virtual bool LoadInternal (const Commands &)
virtual ReloadChanged Reload ()
virtual int GetDefaultOption () const
virtual int ExportOption (const PlayerNumber &, const std::vector< bool > &vbSelected) const
virtual void GetIconTextAndGameCommand (int iFirstSelection, std::string &sIconTextOut, GameCommand &gcOut) const
virtual std::string GetScreen (int) const
virtual bool NotifyOfSelection (PlayerNumber pn, int choice)
virtual bool GoToFirstOnStart ()

Public Attributes

LuaReference * m_pLuaTable
LuaReference m_EnabledForPlayersFunc
LuaReference m_ReloadFunc
bool m_TableIsSane { false }
bool m_GoToFirstOnStart { false }
Public Attributes inherited from OptionRowHandler
OptionRowDefinition m_Def
std::vector< std::string > m_vsReloadRowMessages

Member Function Documentation

◆ ImportOption()

void OptionRowHandlerLua::ImportOption ( OptionRow * ,
const PlayerNumber & vpns,
std::vector< bool > & vbSelectedOut ) const
inlineoverridevirtual

Reimplemented from OptionRowHandler.

◆ Init()

void OptionRowHandlerLua::Init ( )
inlineoverridevirtual

Reimplemented from OptionRowHandler.


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