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 _loadSettings ()
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)
MCFOLD::std::string const & getCurrentThemeId () const
MCFOLD int getFontZoom () const
MCAPI::std::string getKey (::std::string const &key) const
MCFOLD::OreUI::EditorSettingsFacet::EditorOperatorType getSelectedOperator () const
MCFOLD::std::string const & getSelectedTool () const
MCFOLD ::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 void $dtor ()
MCAPI bool $update ()

Static Public Member Functions

static MCAPI ::std::add_lvalue_reference_t< char const[]> NAME ()
static MCAPI void ** $vftable ()

Public Attributes

::ll::TypedStorage< 8, 16, ::Bedrock::PubSub::SubscriptionmSettingsChangedEventSub
::ll::TypedStorage< 8, 16, ::Bedrock::PubSub::SubscriptionmNewThemeCreatedEventSub
::ll::TypedStorage< 8, 16, ::Bedrock::PubSub::SubscriptionmThemeColorUpdatedEventSub
::ll::TypedStorage< 8, 16, ::Bedrock::PubSub::SubscriptionmThemeDeletedEventSub
::ll::TypedStorage< 8, 16, ::Bedrock::PubSub::SubscriptionmCurrentThemeChangedEventSub
::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

Member Function Documentation

◆ $vftable()

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

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