3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/client/gui/screens/models/ContentSource.h"
7#include "mc/platform/brstd/move_only_function.h"
19 using CanAccessWorldCallback = ::brstd::move_only_function<bool(::LevelSummary
const&)
const>;
24 ::ll::TypedStorage<8, 8, ::ILevelListCache*> mLevelListCache;
25 ::ll::TypedStorage<8, 24, ::std::vector<::LevelSummary>> mLevelSummaryList;
26 ::ll::TypedStorage<8, 64, ::gsl::not_null<::brstd::move_only_function<bool(::LevelSummary
const&)
const>>
const>
37 virtual ~WorldContentSource() =
default;
41 virtual void generateItems(::std::vector<::std::shared_ptr<::ContentItem>>& content) ;
43 virtual void deleteContentFiles(::std::vector<::std::shared_ptr<::ContentItem const>>
const& items) ;
45 virtual void postDeleteContent(::std::vector<::std::shared_ptr<::ContentItem const>>
const& items) ;
51 MCAPI WorldContentSource(
52 ::ILevelListCache& levelListCache,
53 ::brstd::move_only_function<
bool(::LevelSummary
const&)
const>&& canAccess
61 ::ILevelListCache& levelListCache,
62 ::brstd::move_only_function<
bool(::LevelSummary
const&)
const>&& canAccess
71 MCAPI
void $generateItems(::std::vector<::std::shared_ptr<::ContentItem>>& content);
73 MCAPI
void $deleteContentFiles(::std::vector<::std::shared_ptr<::ContentItem const>>
const& items);
75 MCAPI
void $postDeleteContent(::std::vector<::std::shared_ptr<::ContentItem const>>
const& items);
Definition ILevelListCache.h:27
Definition ContentItem.h:5
Definition ContentSource.h:5
Definition LevelSummary.h:30
Definition WorldContentSource.h:5
static MCAPI void ** $vftable()