Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
OreUI::EditorSettingsFacet Class Reference
Inheritance diagram for OreUI::EditorSettingsFacet:

Public Types

enum class  EditorOperatorType : int {
  None = 0 , Create = 1 , Move = 2 , Resize = 3 ,
  Rotate = 4 , Stroke = 5 , Count = 6
}
enum class  EditorOperatorType : int {
  None = 0 , Create = 1 , Move = 2 , Resize = 3 ,
  Rotate = 4 , Stroke = 5 , Count = 6
}

Public Member Functions

virtual bool update ()
MCAPI EditorSettingsFacet (::Bedrock::NotNullNonOwnerPtr<::IClientInstance > const &client)
MCAPI::Editor::Services::EditorPersistenceServiceProvider * _getEditorPersistenceProvider ()
MCAPI::Editor::Services::EditorSettingsServiceProvider * _getEditorSettingsProvider ()
MCAPI void _handleCurrentThemeChanged (::std::string const &newThemeId)
MCAPI void _handleNewThemeCreated (::std::string const &newThemeId)
MCAPI void _handleThemeColorUpdated (::std::string const &themeId, ::Editor::Settings::ThemeSettingsColorKey key, ::mce::Color const &color)
MCAPI void _handleThemeDeleted (::std::string const &newThemeId)
MCAPI void _handleThemeSettingsChanged (::Editor::Settings::ThemeProps const &themeProp)
MCAPI void _saveSettings ()
MCAPI void addNewTheme (::std::string &themeId, ::std::optional<::std::string > &name, ::std::optional<::std::string > &sourceThemeId)
MCAPI void deleteTheme (::std::string &id)
MCAPI::std::string const & getCurrentThemeId () const
MCAPI int getFontZoom () const
MCAPI::std::string getKey (::std::string const &key) const
MCAPI::OreUI::EditorSettingsFacet::EditorOperatorType getSelectedOperator () const
MCAPI::std::string const & getSelectedTool () const
MCAPI ::std::unordered_map<::HashedString, ::Editor::Settings::ThemePalette > const & getThemesMap () const
MCAPI bool hasKey (::std::string const &key) const
MCAPI void setCurrentThemeId (::std::string const &themeId)
MCAPI void setFontZoom (int fontZoom)
MCAPI void setKey (::std::string const &key, ::std::string const &value)
MCAPI void setKeys (::std::unordered_map<::std::string, ::std::string > const &entries)
MCAPI void setSelectedOperator (::OreUI::EditorSettingsFacet::EditorOperatorType operatorType)
MCAPI void setSelectedTool (::std::string const &toolId)
MCAPI void updateThemeColor (::std::string &id, ::std::string &key, ::mce::Color newColor)
MCAPI void * $ctor (::Bedrock::NotNullNonOwnerPtr<::IClientInstance > const &client)
MCAPI bool $update ()

Static Public Member Functions

static MCAPI ::std::add_lvalue_reference_t< char const[]> NAME ()

Public Attributes

::ll::TypedStorage< 8, 16, ::Bedrock::PubSub::Subscription > mSettingsChangedEventSub
::ll::TypedStorage< 8, 16, ::Bedrock::PubSub::Subscription > mNewThemeCreatedEventSub
::ll::TypedStorage< 8, 16, ::Bedrock::PubSub::Subscription > mThemeColorUpdatedEventSub
::ll::TypedStorage< 8, 16, ::Bedrock::PubSub::Subscription > mThemeDeletedEventSub
::ll::TypedStorage< 8, 16, ::Bedrock::PubSub::Subscription > mCurrentThemeChangedEventSub
::ll::TypedStorage< 8, 24, ::Bedrock::NotNullNonOwnerPtr<::IClientInstance > > mClient
::ll::TypedStorage< 1, 1, bool > mIsDirty
::ll::TypedStorage< 8, 32, ::std::string > mCurrentThemeId
::ll::TypedStorage< 4, 4, int > mFontZoom
::ll::TypedStorage< 1, 1, bool > mIsEditorModeActive
::ll::TypedStorage< 8, 32, ::std::string > mCurrentToolId
::ll::TypedStorage< 4, 4, ::OreUI::EditorSettingsFacet::EditorOperatorType > mCurrentOperatorType
::ll::TypedStorage< 8, 64, ::std::unordered_map<::HashedString, ::Editor::Settings::ThemePalette > > mThemesMap
::ll::TypedStorage< 8, 64, ::std::unordered_map<::std::string, ::std::string > > mUISettings

Constructor & Destructor Documentation

◆ EditorSettingsFacet()

MCAPI OreUI::EditorSettingsFacet::EditorSettingsFacet ( ::Bedrock::NotNullNonOwnerPtr<::IClientInstance > const & client)
explicit
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.

Member Function Documentation

◆ _getEditorPersistenceProvider()

MCAPI::Editor::Services::EditorPersistenceServiceProvider * OreUI::EditorSettingsFacet::_getEditorPersistenceProvider ( )
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.

◆ _getEditorSettingsProvider()

MCAPI::Editor::Services::EditorSettingsServiceProvider * OreUI::EditorSettingsFacet::_getEditorSettingsProvider ( )
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.

◆ _handleCurrentThemeChanged()

MCAPI void OreUI::EditorSettingsFacet::_handleCurrentThemeChanged ( ::std::string const & newThemeId)
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.

◆ _handleNewThemeCreated()

MCAPI void OreUI::EditorSettingsFacet::_handleNewThemeCreated ( ::std::string const & newThemeId)
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.

◆ _handleThemeColorUpdated()

MCAPI void OreUI::EditorSettingsFacet::_handleThemeColorUpdated ( ::std::string const & themeId,
::Editor::Settings::ThemeSettingsColorKey key,
::mce::Color const & color )
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.

◆ _handleThemeDeleted()

MCAPI void OreUI::EditorSettingsFacet::_handleThemeDeleted ( ::std::string const & newThemeId)
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.

◆ _handleThemeSettingsChanged()

MCAPI void OreUI::EditorSettingsFacet::_handleThemeSettingsChanged ( ::Editor::Settings::ThemeProps const & themeProp)
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.

◆ _saveSettings()

MCAPI void OreUI::EditorSettingsFacet::_saveSettings ( )
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.

◆ addNewTheme()

MCAPI void OreUI::EditorSettingsFacet::addNewTheme ( ::std::string & themeId,
::std::optional<::std::string > & name,
::std::optional<::std::string > & sourceThemeId )
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.

◆ deleteTheme()

MCAPI void OreUI::EditorSettingsFacet::deleteTheme ( ::std::string & id)
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.

◆ getCurrentThemeId()

MCAPI::std::string const & OreUI::EditorSettingsFacet::getCurrentThemeId ( ) const
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.

◆ getFontZoom()

MCAPI int OreUI::EditorSettingsFacet::getFontZoom ( ) const
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.

◆ getKey()

MCAPI::std::string OreUI::EditorSettingsFacet::getKey ( ::std::string const & key) const
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.

◆ getSelectedOperator()

MCAPI::OreUI::EditorSettingsFacet::EditorOperatorType OreUI::EditorSettingsFacet::getSelectedOperator ( ) const
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.

◆ getSelectedTool()

MCAPI::std::string const & OreUI::EditorSettingsFacet::getSelectedTool ( ) const
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.

◆ getThemesMap()

MCAPI ::std::unordered_map<::HashedString, ::Editor::Settings::ThemePalette > const & OreUI::EditorSettingsFacet::getThemesMap ( ) const
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.

◆ hasKey()

MCAPI bool OreUI::EditorSettingsFacet::hasKey ( ::std::string const & key) const
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.

◆ setCurrentThemeId()

MCAPI void OreUI::EditorSettingsFacet::setCurrentThemeId ( ::std::string const & themeId)
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.

◆ setFontZoom()

MCAPI void OreUI::EditorSettingsFacet::setFontZoom ( int fontZoom)
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.

◆ setKey()

MCAPI void OreUI::EditorSettingsFacet::setKey ( ::std::string const & key,
::std::string const & value )
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.

◆ setKeys()

MCAPI void OreUI::EditorSettingsFacet::setKeys ( ::std::unordered_map<::std::string, ::std::string > const & entries)
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.

◆ setSelectedOperator()

MCAPI void OreUI::EditorSettingsFacet::setSelectedOperator ( ::OreUI::EditorSettingsFacet::EditorOperatorType operatorType)
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.

◆ setSelectedTool()

MCAPI void OreUI::EditorSettingsFacet::setSelectedTool ( ::std::string const & toolId)
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.

◆ updateThemeColor()

MCAPI void OreUI::EditorSettingsFacet::updateThemeColor ( ::std::string & id,
::std::string & key,
::mce::Color newColor )
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.

◆ NAME()

MCAPI ::std::add_lvalue_reference_t< char const []> OreUI::EditorSettingsFacet::NAME ( )
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.

◆ $ctor()

MCAPI void * OreUI::EditorSettingsFacet::$ctor ( ::Bedrock::NotNullNonOwnerPtr<::IClientInstance > const & client)
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.

◆ $update()

MCAPI bool OreUI::EditorSettingsFacet::$update ( )
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: