Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
PackManagerContentSource Struct Reference
Inheritance diagram for PackManagerContentSource:

Public Types

using ConstPackContentItemPtr = ::std::shared_ptr<::PackContentItem const>
using PackContentItemPtr = ::std::shared_ptr<::PackContentItem>
using PackData = ::PackManagerContentSourceData
using ConstContentItemPtr = ::std::shared_ptr<::ContentItem const>
using ContentItemPtr = ::std::shared_ptr<::ContentItem>

Public Member Functions

PackManagerContentSource & operator= (PackManagerContentSource const &)
 PackManagerContentSource (PackManagerContentSource const &)
virtual void load ()
virtual void generateItems (::std::vector<::std::shared_ptr<::ContentItem > > &content)
virtual void _createSelectedPackContentItems (::PackManagerContentSourceData &packData, ::std::vector<::PackModel > &selected)
virtual void _createAvailablePackContentItems (::PackManagerContentSourceData &packData, ::std::vector<::PackModel > &available)
MCAPI ::std::shared_ptr<::PackContentItem > _copyAndSetValuesFromPackContentItemAndData (::std::shared_ptr<::PackContentItem const > const &baseItem, ::PackManagerContentSourceData const &packData)
MCAPI ::std::shared_ptr<::PackContentItem > _createPackContentItem (::Pack const &pack, ::PackModel &model, ::PackListType listType, uint64 position, ::std::optional<::std::string > worldId, ::std::optional<::Core::PathBuffer<::std::string > > worldPath)
MCAPI void $dtor ()
MCAPI void $load ()
MCAPI void $generateItems (::std::vector<::std::shared_ptr<::ContentItem > > &content)
MCAPI void $_createSelectedPackContentItems (::PackManagerContentSourceData &packData, ::std::vector<::PackModel > &selected)
MCAPI void $_createAvailablePackContentItems (::PackManagerContentSourceData &packData, ::std::vector<::PackModel > &available)
virtual void save ()
virtual void saveAllPacks ()
virtual void deleteContentFiles (::std::vector<::std::shared_ptr<::ContentItem const > > const &items)
virtual void postDeleteContent (::std::vector<::std::shared_ptr<::ContentItem const > > const &items)
MCAPI void $save ()
MCAPI void $saveAllPacks ()
MCAPI void $deleteContentFiles (::std::vector<::std::shared_ptr<::ContentItem const > > const &items)
MCAPI void $postDeleteContent (::std::vector<::std::shared_ptr<::ContentItem const > > const &items)

Static Public Member Functions

static MCAPI void _applySelectedPacksCache (::PackManagerContentSourceData &packData, ::std::vector<::PackModel > &selected, ::std::vector<::PackModel > &available)

Public Attributes

::ll::TypedStorage< 8, 8, ::ContentType const > mContentType
::ll::TypedStorage< 8, 8, ::ContentFlags const > mFlags
::ll::TypedStorage< 8, 24, ::std::vector<::PackManagerContentSourceData > > mPackData
::ll::TypedStorage< 8, 24, ::std::vector<::std::shared_ptr<::PackContentItem > > > mPackDataContent
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::IPackManagerContentQueries > const > mQueries
::ll::TypedStorage< 8, 24, ::Bedrock::NotNullNonOwnerPtr<::IContentKeyProvider const > > mKeyProvider
::ll::TypedStorage< 8, 8, ::IPackManifestFactory & > mManifestFactory
::ll::TypedStorage< 8, 8, ::PackSettingsFactory & > mSettingsFactory
::ll::TypedStorage< 8, 24, ::std::vector<::std::shared_ptr<::ContentItem > > > mLoadedItems
::ll::TypedStorage< 4, 4, ::ContentSourceType > mType

Member Function Documentation

◆ load()

virtual void PackManagerContentSource::load ( )
virtual

Reimplemented from ContentSource.

◆ generateItems()

virtual void PackManagerContentSource::generateItems ( ::std::vector<::std::shared_ptr<::ContentItem > > & content)
virtual

Reimplemented from ContentSource.

◆ _copyAndSetValuesFromPackContentItemAndData()

MCAPI ::std::shared_ptr<::PackContentItem > PackManagerContentSource::_copyAndSetValuesFromPackContentItemAndData ( ::std::shared_ptr<::PackContentItem const > const & baseItem,
::PackManagerContentSourceData const & packData )
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.

◆ _createPackContentItem()

MCAPI ::std::shared_ptr<::PackContentItem > PackManagerContentSource::_createPackContentItem ( ::Pack const & pack,
::PackModel & model,
::PackListType listType,
uint64 position,
::std::optional<::std::string > worldId,
::std::optional<::Core::PathBuffer<::std::string > > 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.

◆ _applySelectedPacksCache()

MCAPI void PackManagerContentSource::_applySelectedPacksCache ( ::PackManagerContentSourceData & packData,
::std::vector<::PackModel > & selected,
::std::vector<::PackModel > & available )
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.

◆ $dtor()

MCAPI void PackManagerContentSource::$dtor ( )
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.

◆ $load()

MCAPI void PackManagerContentSource::$load ( )
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.

◆ $generateItems()

MCAPI void PackManagerContentSource::$generateItems ( ::std::vector<::std::shared_ptr<::ContentItem > > & content)
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.

◆ $_createSelectedPackContentItems()

MCAPI void PackManagerContentSource::$_createSelectedPackContentItems ( ::PackManagerContentSourceData & packData,
::std::vector<::PackModel > & selected )
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.

◆ $_createAvailablePackContentItems()

MCAPI void PackManagerContentSource::$_createAvailablePackContentItems ( ::PackManagerContentSourceData & packData,
::std::vector<::PackModel > & available )
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.

◆ $save()

MCAPI void ContentSource::$save ( )
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.

◆ $saveAllPacks()

MCAPI void ContentSource::$saveAllPacks ( )
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.

◆ $deleteContentFiles()

MCAPI void ContentSource::$deleteContentFiles ( ::std::vector<::std::shared_ptr<::ContentItem const > > const & items)
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.

◆ $postDeleteContent()

MCAPI void ContentSource::$postDeleteContent ( ::std::vector<::std::shared_ptr<::ContentItem const > > const & items)
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 struct was generated from the following files: