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 WorldContentSource (::ILevelListCache &levelListCache, ::brstd::move_only_function< bool(::LevelSummary const &) const > &&canAccess)
MCAPI void * $ctor (::ILevelListCache &levelListCache, ::brstd::move_only_function< bool(::LevelSummary const &) const > &&canAccess)
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 $dtor ()
MCFOLD void $save ()
MCFOLD void $saveAllPacks ()

Static Public Member Functions

static MCAPI void ** $vftable ()

Public Attributes

::ll::TypedStorage< 8, 8, ::ILevelListCache * > mLevelListCache
::ll::TypedStorage< 8, 24, ::std::vector<::LevelSummary > > mLevelSummaryList
::ll::UntypedStorage< 8, 64 > 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.

◆ $vftable()

MCAPI void ** WorldContentSource::$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 struct was generated from the following files: