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

Public Types

using CanAccessWorldCallback = ::brstd::move_only_function<bool(::LevelSummary const&) const>
using ConstContentItemPtr = ::std::shared_ptr<::ContentItem const>
using ContentItemPtr = ::std::shared_ptr<::ContentItem>

Public Member Functions

virtual void load ()
virtual void generateItems (::std::vector<::std::shared_ptr<::ContentItem > > &content)
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 $load ()
MCAPI void $generateItems (::std::vector<::std::shared_ptr<::ContentItem > > &content)
MCAPI void $deleteContentFiles (::std::vector<::std::shared_ptr<::ContentItem const > > const &items)
MCAPI void $postDeleteContent (::std::vector<::std::shared_ptr<::ContentItem const > > const &items)
virtual void save ()
virtual void saveAllPacks ()
MCAPI void $save ()
MCAPI void $saveAllPacks ()

Public Attributes

::ll::TypedStorage< 8, 8, ::ILevelListCache * > mLevelListCache
::ll::TypedStorage< 8, 24, ::std::vector<::LevelSummary > > mLevelSummaryList
::ll::TypedStorage< 8, 64, ::gsl::not_null<::brstd::move_only_function< bool(::LevelSummary const &) const > > const > mCanAccessWorld
::ll::TypedStorage< 8, 24, ::std::vector<::std::shared_ptr<::ContentItem > > > mLoadedItems
::ll::TypedStorage< 4, 4, ::ContentSourceType > mType

Member Function Documentation

◆ load()

virtual void WorldContentSource::load ( )
virtual

Reimplemented from ContentSource.

◆ generateItems()

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

Reimplemented from ContentSource.

◆ deleteContentFiles()

virtual void WorldContentSource::deleteContentFiles ( ::std::vector<::std::shared_ptr<::ContentItem const > > const & items)
virtual

Reimplemented from ContentSource.

◆ postDeleteContent()

virtual void WorldContentSource::postDeleteContent ( ::std::vector<::std::shared_ptr<::ContentItem const > > const & items)
virtual

Reimplemented from ContentSource.

◆ $load()

MCAPI void WorldContentSource::$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 WorldContentSource::$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.

◆ $deleteContentFiles()

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

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