LeviLamina
Loading...
Searching...
No Matches
SettingsScreenController Class Reference
+ Inheritance diagram for SettingsScreenController:

Classes

struct  SettingsScreenTabInfo
 

Public Member Functions

virtual void onOpen ()
 
virtual void addStaticScreenVars (::Json::Value &globalVars)
 
virtual::std::string getAdditionalScreenInfo () const
 
virtual void addEventProperties (::std::unordered_map<::std::string, ::std::string > &eventProperties) const
 
virtual int getScreenVersion () const
 
virtual::ui::SceneType getSceneType () const
 
MCAPI SettingsScreenController (::std::shared_ptr<::MainMenuScreenModel > model, bool createWorld, ::SettingsTabIndex tabIndex, bool maintainOldFocus)
 
MCAPI SettingsScreenController (::std::shared_ptr<::MainMenuScreenModel > model, ::Realms::World const &world, ::Realms::InviteLink const &link, ::SettingsTabIndex tabIndex, bool maintainOldFocus)
 
MCAPI SettingsScreenController (::std::shared_ptr<::MainMenuScreenModel > model, ::Realms::World const &world, ::SettingsTabIndex tabIndex, bool maintainOldFocus, ::std::string packId)
 
MCAPI SettingsScreenController (::std::shared_ptr<::MainMenuScreenModel > model, ::LevelSummary const &levelSummary, ::SettingsTabIndex tabIndex, bool navToMenuOnExit, bool maintainOldFocus, ::std::string const &initialPackId)
 
MCAPI SettingsScreenController (::std::shared_ptr<::MainMenuScreenModel > model, ::LevelSummary const &levelSummary, bool createFromTemplate, ::std::string packId, ::std::function< void()> onOpenCallback, ::SettingsTabIndex tabIndex, bool maintainOldFocus)
 
MCAPI::std::string _getGamepadHelperLabelText (::std::string_view localizationKey, ::std::string_view noGamePadKey) const
 
MCAPI void _init ()
 
MCAPI void _registerBindings ()
 
MCAPI void _registerEventHandlers ()
 
MCAPI void _registerSubControllers ()
 
MCAPI void * $ctor (::std::shared_ptr<::MainMenuScreenModel > model, bool createWorld, ::SettingsTabIndex tabIndex, bool maintainOldFocus)
 
MCAPI void * $ctor (::std::shared_ptr<::MainMenuScreenModel > model, ::Realms::World const &world, ::Realms::InviteLink const &link, ::SettingsTabIndex tabIndex, bool maintainOldFocus)
 
MCAPI void * $ctor (::std::shared_ptr<::MainMenuScreenModel > model, ::Realms::World const &world, ::SettingsTabIndex tabIndex, bool maintainOldFocus, ::std::string packId)
 
MCAPI void * $ctor (::std::shared_ptr<::MainMenuScreenModel > model, ::LevelSummary const &levelSummary, ::SettingsTabIndex tabIndex, bool navToMenuOnExit, bool maintainOldFocus, ::std::string const &initialPackId)
 
MCAPI void * $ctor (::std::shared_ptr<::MainMenuScreenModel > model, ::LevelSummary const &levelSummary, bool createFromTemplate, ::std::string packId, ::std::function< void()> onOpenCallback, ::SettingsTabIndex tabIndex, bool maintainOldFocus)
 
MCAPI void $dtor ()
 
MCAPI void $onOpen ()
 
MCAPI void $addStaticScreenVars (::Json::Value &globalVars)
 
MCAPI::std::string $getAdditionalScreenInfo () const
 
MCAPI void $addEventProperties (::std::unordered_map<::std::string, ::std::string > &eventProperties) const
 
MCAPI int $getScreenVersion () const
 
MCFOLD::ui::SceneType $getSceneType () const
 
virtual void _displayLockedWorldPopup ()
 
MCAPI void _addResourcePacks (::LocalWorldInfo const &worldInfo)
 
MCAPI bool _copyResourcePacks (::PackManagerContentSource *worldContentSource, ::IContentManager &contentManager, ::LevelSummary levelSummary, ::std::function< void()> progressCallback)
 
MCAPI::ui::ViewRequest _createWorld (::Experiments *experiments, ::SettingsScreenMode settingsMode, ::LevelSeed64 levelSeed, ::LevelSummary levelSummary, ::LevelDataWrapper &levelData, ::SpawnSettings spawnSettings, ::NetherWorldType netherType, ::PackManagerContentSource *worldContentSource, ::IContentManager &contentManager, ::PostCreateWorldAction postCreateWorldAction, ::DlcUIWrapper *dlcUIWrapper, ::Realms::World &realmWorld, ::std::function< void(::std::function< void()>)> postUploadWorldToRealm)
 
MCAPI void _initLevelData (::LevelDataWrapper &levelData, bool platformMultiplayerRestrictions)
 
MCAPI void _initNewWorldLevelData (::LevelDataWrapper &levelData)
 
MCAPI::ui::ViewRequest _playWorld (::SettingsScreenMode settingsMode, ::LevelSummary const &levelSummary, ::LevelDataWrapper &levelData, ::PackManagerContentSource *worldContentSource, ::IContentManager &contentManager, ::DlcUIWrapper *dlcUIWrapper)
 
MCAPI void _removeResourcePacks ()
 
MCAPI::ui::ViewRequest _showLowDiskSpaceWarning ()
 
MCAPI void confirmationHardcoreDialog (::std::function< void(::ModalScreenButtonId)> callback)
 
MCAPI void confirmationNoAchievementsDialog (::std::function< void(::ModalScreenButtonId)> callback)
 
MCAPI void setUpCallbacksForBooleanOption (::OptionID optionID, ::std::string const &toggleName)
 
MCAPI void setUpCallbacksForBooleanOption (::OptionID optionID, ::std::string const &toggleName, ::std::string const &valueBindingName, ::std::string const &enabledBindingName)
 
MCAPI void setUpCallbacksForBooleanOption (::std::string const &toggleName, ::std::string const &valueBindingName, ::std::string const &enabledBindingName, ::std::function< bool()> isEnabled, ::std::function< bool()> getValue, ::std::function< void(bool)> setValue)
 
MCAPI void setupCallbacksForStringOption (::OptionID optionID, ::std::string const &textboxName, ::std::function< bool(::std::string const &)> changedValidator, ::std::function< bool(::std::string const &)> finishedValidator)
 
MCAPI void setupCallbacksForStringOption (::OptionID optionID, ::std::string const &textboxName, ::std::string const &valueBindingName, ::std::string const &enabledBindingName, ::std::function< bool(::std::string const &)> changedValidator, ::std::function< bool(::std::string const &)> finishedValidator)
 
MCAPI void setupCallbacksForStringOption (::std::string const &textboxName, ::std::string const &valueBindingName, ::std::string const &enabledBindingName, ::std::function< bool()> isEnabled, ::std::function<::std::string()> getValue, ::std::function< void(::std::string const &)> setValue, ::std::function< bool(::std::string const &)> changedValidator, ::std::function< bool(::std::string const &)> finishedValidator, ::std::function< void()> onFinished)
 
MCAPI void $_displayLockedWorldPopup ()
 

Static Public Member Functions

static MCAPI ::std::unordered_map< int, ::SettingsScreenController::SettingsScreenTabInfo_createScreenInfo ()
 
static MCAPI void addStaticScreenVars (::Json::Value &globalVars, bool isWorldCreate, bool isWorldEdit, bool isTemplateCreate, bool isRealmsEdit, bool isRealmsSlot, bool isMultiplayerHost, bool isMultiplayerClient, bool isNonConfigRealmsEnv, bool supportsGamepad, bool supportsKeyboardMouse, bool supportsTouch, bool supportsFliteTTS, bool platformTTSExists, bool isEditorModeEnabled, bool isTrial, bool isPartySystemAvailable, ::SettingsScreenCapabilities const &capabilities, ::BuildPlatform const &buildPlatform, ::ui::ScreenTechStackSelector const &screenTechStackSelector)
 
static MCAPI ::std::unordered_map< int, ::SettingsScreenController::SettingsScreenTabInfo > const & mScreenInfo ()
 
static MCAPI void ** $vftableForScreenController ()
 
static MCAPI void ** $vftableForEnableNonOwnerReferences ()
 

Public Attributes

::ll::TypedStorage< 4, 4, ::SettingsTabIndex > mCurrentTab
 
::ll::TypedStorage< 1, 1, bool > mInitialTabSelected
 
::ll::TypedStorage< 4, 4, ::SettingsTabIndex > mInitialTab
 
::ll::TypedStorage< 8, 32, ::std::string > mCurrentTabTitle
 
::ll::TypedStorage< 8, 32, ::std::string > mInitialPack
 
::ll::TypedStorage< 4, 4, ::SettingsScreenMode > mSettingsMode
 
::ll::TypedStorage< 1, 1, bool > mShowRealmsSettings
 
::ll::TypedStorage< 8, 656, ::Realms::World > mWorld
 
::ll::TypedStorage< 1, 1, bool > mNavigateToMenuOnExit
 
::ll::TypedStorage< 1, 1, bool > mIsGlobalSettingsScreen
 
::ll::TypedStorage< 1, 1, bool > mReloadTexturePacksOnExit
 
::ll::TypedStorage< 1, 1, bool const > mMaintainOldFocusOnOpen
 
::ll::TypedStorage< 8, 32, ::std::string > mTTSSettingsScreenName
 
::ll::TypedStorage< 1, 1, bool > mShowInviteLinkSettings
 
::ll::TypedStorage< 8, 152, ::Realms::InviteLinkmInviteLink
 
::ll::TypedStorage< 8, 16, ::OptionSaveDeferralmOptionsSaveDeferral
 
::ll::TypedStorage< 8, 32, ::std::string > mCurrentFocus
 
::ll::TypedStorage< 8, 840, ::LevelSummary > mProvidedLevelSummary
 
::ll::TypedStorage< 8, 16, ::std::shared_ptr<::RealmsSettingsScreenController > > mRealmsSettingsScreenController
 
::ll::TypedStorage< 8, 16, ::std::shared_ptr<::RealmsInviteLinkSettingsScreenController > > mRealmsInviteLinkSettingsScreenController
 
::ll::TypedStorage< 8, 16, ::std::shared_ptr<::GeneralSettingsScreenController > > mGeneralSettingsScreenController
 
::ll::TypedStorage< 8, 16, ::std::shared_ptr<::WorldSettingsScreenController > > mWorldSettingsScreenController
 
::ll::TypedStorage< 8, 16, ::std::shared_ptr<::SocialSettingsScreenController > > mSocialSettingsScreenController
 
::ll::TypedStorage< 8, 64, ::std::function< void()> > mOnOpenCallback
 

Member Function Documentation

◆ addStaticScreenVars()

virtual void SettingsScreenController::addStaticScreenVars ( ::Json::Value & globalVars)
virtual

Reimplemented from SettingsScreenControllerBase.

◆ $vftableForScreenController()

static MCAPI void ** SettingsScreenController::$vftableForScreenController ( )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $vftableForEnableNonOwnerReferences()

static MCAPI void ** SettingsScreenController::$vftableForEnableNonOwnerReferences ( )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ _addResourcePacks()

MCAPI void SettingsScreenControllerBase::_addResourcePacks ( ::LocalWorldInfo const & worldInfo)
inherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ _copyResourcePacks()

MCAPI bool SettingsScreenControllerBase::_copyResourcePacks ( ::PackManagerContentSource * worldContentSource,
::IContentManager & contentManager,
::LevelSummary levelSummary,
::std::function< void()> progressCallback )
inherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ _createWorld()

MCAPI::ui::ViewRequest SettingsScreenControllerBase::_createWorld ( ::Experiments * experiments,
::SettingsScreenMode settingsMode,
::LevelSeed64 levelSeed,
::LevelSummary levelSummary,
::LevelDataWrapper & levelData,
::SpawnSettings spawnSettings,
::NetherWorldType netherType,
::PackManagerContentSource * worldContentSource,
::IContentManager & contentManager,
::PostCreateWorldAction postCreateWorldAction,
::DlcUIWrapper * dlcUIWrapper,
::Realms::World & realmWorld,
::std::function< void(::std::function< void()>)> postUploadWorldToRealm )
inherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ _initLevelData()

MCAPI void SettingsScreenControllerBase::_initLevelData ( ::LevelDataWrapper & levelData,
bool platformMultiplayerRestrictions )
inherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ _initNewWorldLevelData()

MCAPI void SettingsScreenControllerBase::_initNewWorldLevelData ( ::LevelDataWrapper & levelData)
inherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ _playWorld()

MCAPI::ui::ViewRequest SettingsScreenControllerBase::_playWorld ( ::SettingsScreenMode settingsMode,
::LevelSummary const & levelSummary,
::LevelDataWrapper & levelData,
::PackManagerContentSource * worldContentSource,
::IContentManager & contentManager,
::DlcUIWrapper * dlcUIWrapper )
inherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ _removeResourcePacks()

MCAPI void SettingsScreenControllerBase::_removeResourcePacks ( )
inherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ _showLowDiskSpaceWarning()

MCAPI::ui::ViewRequest SettingsScreenControllerBase::_showLowDiskSpaceWarning ( )
inherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ confirmationHardcoreDialog()

MCAPI void SettingsScreenControllerBase::confirmationHardcoreDialog ( ::std::function< void(::ModalScreenButtonId)> callback)
inherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ confirmationNoAchievementsDialog()

MCAPI void SettingsScreenControllerBase::confirmationNoAchievementsDialog ( ::std::function< void(::ModalScreenButtonId)> callback)
inherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ setUpCallbacksForBooleanOption() [1/3]

MCAPI void SettingsScreenControllerBase::setUpCallbacksForBooleanOption ( ::OptionID optionID,
::std::string const & toggleName )
inherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ setUpCallbacksForBooleanOption() [2/3]

MCAPI void SettingsScreenControllerBase::setUpCallbacksForBooleanOption ( ::OptionID optionID,
::std::string const & toggleName,
::std::string const & valueBindingName,
::std::string const & enabledBindingName )
inherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ setUpCallbacksForBooleanOption() [3/3]

MCAPI void SettingsScreenControllerBase::setUpCallbacksForBooleanOption ( ::std::string const & toggleName,
::std::string const & valueBindingName,
::std::string const & enabledBindingName,
::std::function< bool()> isEnabled,
::std::function< bool()> getValue,
::std::function< void(bool)> setValue )
inherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ setupCallbacksForStringOption() [1/3]

MCAPI void SettingsScreenControllerBase::setupCallbacksForStringOption ( ::OptionID optionID,
::std::string const & textboxName,
::std::function< bool(::std::string const &)> changedValidator,
::std::function< bool(::std::string const &)> finishedValidator )
inherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ setupCallbacksForStringOption() [2/3]

MCAPI void SettingsScreenControllerBase::setupCallbacksForStringOption ( ::OptionID optionID,
::std::string const & textboxName,
::std::string const & valueBindingName,
::std::string const & enabledBindingName,
::std::function< bool(::std::string const &)> changedValidator,
::std::function< bool(::std::string const &)> finishedValidator )
inherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ setupCallbacksForStringOption() [3/3]

MCAPI void SettingsScreenControllerBase::setupCallbacksForStringOption ( ::std::string const & textboxName,
::std::string const & valueBindingName,
::std::string const & enabledBindingName,
::std::function< bool()> isEnabled,
::std::function<::std::string()> getValue,
::std::function< void(::std::string const &)> setValue,
::std::function< bool(::std::string const &)> changedValidator,
::std::function< bool(::std::string const &)> finishedValidator,
::std::function< void()> onFinished )
inherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $_displayLockedWorldPopup()

MCAPI void SettingsScreenControllerBase::$_displayLockedWorldPopup ( )
inherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

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