LeviLamina
Loading...
Searching...
No Matches
PackSettingsFactory Class Reference

Classes

struct  Stats

Public Types

using PackIdToSettingsMap = ::std::unordered_map<::mce::UUID, ::std::unique_ptr<::PackSettings>>

Public Member Functions

virtual uint64 getAccessTimestamp () const
MCAPI PackSettingsFactory (uint64 maxGlobalPackSettingEntriesPerFile, ::std::optional<::Core::PathView > globalPathRoot)
MCAPI::PackSettings * _getGlobalPackSettings (::PackManifest const &manifest)
MCAPI ::std::unordered_map<::mce::UUID, ::std::unique_ptr<::PackSettings > > & _getWorldIdToPackSettingsMap (::std::string const &worldId)
MCAPI::PackSettings * _getWorldPackSettings (::PackManifest const &manifest, ::std::optional<::std::string > worldId)
MCAPI ::std::unique_ptr<::SharedTypes::v1_21_100::PackSettingsDefinition::Document_loadUserOverridesFromFile (::Core::Path const &path) const
MCAPI_C bool _saveUserOverridesToFile (::SharedTypes::v1_21_100::PackSettingsDefinition::Document doc, ::Core::Path const &path) const
MCAPI_C void _syncPackSettingsToSaveDoc (::mce::UUID packId, ::PackSettings const &packSettings, ::SharedTypes::v1_21_100::PackSettingsDefinition::Document &settingsDoc, bool includeTimestamp) const
MCAPI::PackSettings * getPackSettings (::PackManifest const &manifest, ::std::optional<::std::string > worldId)
MCAPI bool loadPerWorldUserOverrides (::std::string const &worldId, ::Core::Path const &worldPath)
MCAPI_C::Bedrock::PubSub::Subscription registerObserver (::std::function< void(::mce::UUID const &, ::std::string const &, ::std::variant< float, bool, ::std::string > const &)> callback)
MCAPI_C bool saveGlobalUserOverrides ()
MCAPI_C bool savePerWorldUserOverrides (::std::string const &worldId, ::Core::Path const &worldPath)
MCAPI_C::std::string serializePackSettingsNameValueMap (::std::unordered_map<::std::string, ::PackSettingValueAndDefault > const &packSettingsNameValueMap) const
MCAPI void * $ctor (uint64 maxGlobalPackSettingEntriesPerFile, ::std::optional<::Core::PathView > globalPathRoot)
MCAPI void $dtor ()
MCAPI uint64 $getAccessTimestamp () const

Static Public Member Functions

static MCAPI ::std::string_view const & GLOBAL_RESOURCE_PACK_SETTINGS_FILENAME ()
static MCAPI ::std::string_view const & WORLD_BEHAVIOR_PACK_SETTINGS_FILENAME ()
static MCAPI void ** $vftable ()

Public Attributes

::ll::TypedStorage< 8, 8, uint64 const > mMaxGlobalPackSettingEntriesPerFile
::ll::TypedStorage< 8, 32, ::Core::PathBuffer<::std::string > > mGlobalPackSettingsPath
::ll::TypedStorage< 4, 16, ::PackSettingsFactory::StatsmStats
::ll::TypedStorage< 8, 120, ::cereal::ReflectionCtxmReflectionCtx
::ll::TypedStorage< 8, 192, ::Puv::SlicedLoader<::SharedTypes::v1_21_100::PackSettingsDefinition::Document, nullptr_t, nullptr_t > > mLoader
::ll::TypedStorage< 8, 16, ::std::shared_ptr<::Bedrock::PubSub::Publisher< void(::mce::UUID const &, ::std::string const &, ::std::variant< float, bool, ::std::string > const &), ::Bedrock::PubSub::ThreadModel::MultiThreaded, 0 > > > mOnChangePublisher
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::std::unordered_map<::mce::UUID, ::std::unique_ptr<::PackSettings > > > > mGlobalPackSettings
::ll::TypedStorage< 8, 64, ::std::unordered_map<::std::string, ::std::unordered_map<::mce::UUID, ::std::unique_ptr<::PackSettings > > > > mWorldPackSettings
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::SharedTypes::v1_21_100::PackSettingsDefinition::Document > > mGlobalUserOverrides
::ll::TypedStorage< 8, 64, ::std::unordered_map<::std::string, ::std::unique_ptr<::SharedTypes::v1_21_100::PackSettingsDefinition::Document > > > mPerWorldUserOverrides

Member Function Documentation

◆ $vftable()

MCAPI void ** PackSettingsFactory::$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 file: