#include <mainmenumanager.h>
Public Member Functions | |
MainGameCallback ()=default | |
virtual | ~MainGameCallback ()=default |
void | exitToOS () override |
void | disconnect () override |
void | changePassword () override |
void | changeVolume () override |
void | keyConfig () override |
void | signalKeyConfigChange () override |
void | touchscreenLayout () override |
void | showOpenURLDialog (const std::string &url) override |
Public Attributes | |
bool | disconnect_requested = false |
bool | changepassword_requested = false |
bool | changevolume_requested = false |
bool | keyconfig_requested = false |
bool | touchscreenlayout_requested = false |
bool | shutdown_requested = false |
bool | keyconfig_changed = false |
std::string | show_open_url_dialog = "" |
|
default |
|
virtualdefault |
|
inlineoverridevirtual |
Implements IGameCallback.
References changepassword_requested.
Referenced by LocalFormspecHandler::gotText().
|
inlineoverridevirtual |
Implements IGameCallback.
References changevolume_requested.
Referenced by LocalFormspecHandler::gotText().
|
inlineoverridevirtual |
Implements IGameCallback.
References disconnect_requested.
Referenced by LocalFormspecHandler::gotText(), and ModApiClient::l_disconnect().
|
inlineoverridevirtual |
Implements IGameCallback.
References shutdown_requested.
Referenced by LocalFormspecHandler::gotText().
|
inlineoverridevirtual |
Implements IGameCallback.
References keyconfig_requested.
Referenced by LocalFormspecHandler::gotText().
|
inlineoverridevirtual |
Implements IGameCallback.
References show_open_url_dialog.
Referenced by GUIFormSpecMenu::OnEvent(), and GUIHyperText::OnEvent().
|
inlineoverridevirtual |
Implements IGameCallback.
References keyconfig_changed.
Referenced by GUIKeyChangeMenu::acceptInput().
|
inlineoverridevirtual |
Implements IGameCallback.
References touchscreenlayout_requested.
Referenced by LocalFormspecHandler::gotText().
bool MainGameCallback::changepassword_requested = false |
Referenced by changePassword(), and Game::handleCallbacks().
bool MainGameCallback::changevolume_requested = false |
Referenced by changeVolume(), and Game::handleCallbacks().
bool MainGameCallback::disconnect_requested = false |
Referenced by disconnect(), and Game::handleCallbacks().
bool MainGameCallback::keyconfig_changed = false |
Referenced by Game::handleCallbacks(), and signalKeyConfigChange().
bool MainGameCallback::keyconfig_requested = false |
Referenced by Game::handleCallbacks(), and keyConfig().
std::string MainGameCallback::show_open_url_dialog = "" |
Referenced by Game::handleCallbacks(), and showOpenURLDialog().
bool MainGameCallback::shutdown_requested = false |
Referenced by exitToOS(), ClientLauncher::run(), and Game::run().
bool MainGameCallback::touchscreenlayout_requested = false |
Referenced by Game::handleCallbacks(), and touchscreenLayout().