Skip to content
LeviMC
English
AutoLightDark
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::PackSettings * _getWorldPackSettings (::PackManifest const &manifest, ::std::optional<::std::string > worldId)
MCAPI ::std::unique_ptr<::SharedTypes::v1_26_40::PackSettingsDefinition::Document > _loadUserOverridesFromFile (::Core::Path const &path) const
MCAPI::PackSettings * getPackSettings (::PackManifest const &manifest, ::std::optional<::std::string > worldId)
MCAPI bool loadPerWorldUserOverrides (::std::string const &worldId, ::Core::Path const &worldPath)
MCAPI void * $ctor (uint64 maxGlobalPackSettingEntriesPerFile, ::std::optional<::Core::PathView > globalPathRoot)
MCAPI uint64 $getAccessTimestamp () const

Static Public Member Functions

static MCAPI ::brstd::basic_cstring_view< char, ::std::char_traits< char > > const & GLOBAL_RESOURCE_PACK_SETTINGS_FILENAME ()
static MCAPI ::brstd::basic_cstring_view< char, ::std::char_traits< char > > const & WORLD_BEHAVIOR_PACK_SETTINGS_FILENAME ()

Public Attributes

::ll::TypedStorage< 8, 8, uint64 const > mMaxGlobalPackSettingEntriesPerFile
::ll::TypedStorage< 8, 32, ::Core::PathBuffer<::std::string > > mGlobalPackSettingsPath
::ll::TypedStorage< 4, 16, ::PackSettingsFactory::Stats > mStats
::ll::TypedStorage< 8, 128, ::cereal::ReflectionCtx > mReflectionCtx
::ll::TypedStorage< 8, 264, ::Puv::SlicedLoader< ::SharedTypes::v1_26_40::PackSettingsDefinition::Document, nullptr_t, nullptr_t, nullptr_t, ::SharedTypes::v1_26_40::PackSettingsDefinition::Document > > mLoader
::ll::TypedStorage< 8, 16, ::std::shared_ptr<::Bedrock::PubSub::Publisher< void(::mce::UUID const &, ::std::string const &, ::std::variant< float, bool, ::std::string, ::std::vector<::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, ::std::default_delete<::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_26_40::PackSettingsDefinition::Document > > mGlobalUserOverrides
::ll::TypedStorage< 8, 64, ::std::unordered_map<::std::string, ::std::unique_ptr<::SharedTypes::v1_26_40::PackSettingsDefinition::Document > > > mPerWorldUserOverrides

Constructor & Destructor Documentation

◆ PackSettingsFactory()

MCAPI PackSettingsFactory::PackSettingsFactory ( uint64 maxGlobalPackSettingEntriesPerFile,
::std::optional<::Core::PathView > globalPathRoot )
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

◆ _getGlobalPackSettings()

MCAPI::PackSettings * PackSettingsFactory::_getGlobalPackSettings ( ::PackManifest const & manifest)
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.

◆ _getWorldPackSettings()

MCAPI::PackSettings * PackSettingsFactory::_getWorldPackSettings ( ::PackManifest const & manifest,
::std::optional<::std::string > worldId )
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.

◆ _loadUserOverridesFromFile()

MCAPI ::std::unique_ptr<::SharedTypes::v1_26_40::PackSettingsDefinition::Document > PackSettingsFactory::_loadUserOverridesFromFile ( ::Core::Path const & path) 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.

◆ loadPerWorldUserOverrides()

MCAPI bool PackSettingsFactory::loadPerWorldUserOverrides ( ::std::string const & worldId,
::Core::Path const & worldPath )
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.

◆ GLOBAL_RESOURCE_PACK_SETTINGS_FILENAME()

MCAPI ::brstd::basic_cstring_view< char, ::std::char_traits< char > > const & PackSettingsFactory::GLOBAL_RESOURCE_PACK_SETTINGS_FILENAME ( )
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.

◆ WORLD_BEHAVIOR_PACK_SETTINGS_FILENAME()

MCAPI ::brstd::basic_cstring_view< char, ::std::char_traits< char > > const & PackSettingsFactory::WORLD_BEHAVIOR_PACK_SETTINGS_FILENAME ( )
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 * PackSettingsFactory::$ctor ( uint64 maxGlobalPackSettingEntriesPerFile,
::std::optional<::Core::PathView > globalPathRoot )
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.

◆ $getAccessTimestamp()

MCAPI uint64 PackSettingsFactory::$getAccessTimestamp ( ) 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.

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