Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
ContentItemCollection Class Reference

Classes

struct  ContentViewSource
struct  ItemCollection

Public Types

using OnReload = ::brstd::move_only_function<void(::ContentItemCollection&)>
using SortPredicate = bool (*)(::ContentItem const&, ::ContentItem const&)
using FilterPredicate = ::brstd::move_only_function<bool(::ContentItem const&)>

Public Member Functions

MCAPI ContentItemCollection (::ContentCollectionOptions &&options)
MCAPI void createItemCollection (::gsl::not_null<::std::shared_ptr<::ContentItem > > itemProxy, ::brstd::move_only_function< bool(::ContentItem const &)> predicate)
MCAPI void forceReload ()
MCAPI ::std::shared_ptr<::ContentItem const > getItem (::brstd::move_only_function< bool(::ContentItem const &)> predicate)
MCAPI bool tryReload ()
MCAPI ~ContentItemCollection ()
MCAPI void * $ctor (::ContentCollectionOptions &&options)
MCAPI void $dtor ()

Public Attributes

::ll::TypedStorage< 8, 16, ::gsl::not_null<::std::shared_ptr<::ReadOnlyContentItemCollection > > > mAllItems
::ll::TypedStorage< 8, 24, ::std::vector<::ContentItemCollection::ContentViewSource > > mContentViewSources
::ll::TypedStorage< 8, 24, ::std::vector<::std::unique_ptr<::ContentItemCollection::ItemCollection > > > mItemCollections
::ll::TypedStorage< 8, 64, ::brstd::move_only_function< void(::ContentItemCollection &)> > mOnReloaded
::ll::TypedStorage< 8, 64, ::brstd::move_only_function< bool(::ContentItem const &)> > mFilter
::ll::TypedStorage< 8, 8, bool(*)(::ContentItem const &, ::ContentItem const &)> mSort

Constructor & Destructor Documentation

◆ ContentItemCollection()

MCAPI ContentItemCollection::ContentItemCollection ( ::ContentCollectionOptions && options)
explicit
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.

◆ ~ContentItemCollection()

MCAPI ContentItemCollection::~ContentItemCollection ( )
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

◆ createItemCollection()

MCAPI void ContentItemCollection::createItemCollection ( ::gsl::not_null<::std::shared_ptr<::ContentItem > > itemProxy,
::brstd::move_only_function< bool(::ContentItem const &)> predicate )
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.

◆ forceReload()

MCAPI void ContentItemCollection::forceReload ( )
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.

◆ getItem()

MCAPI ::std::shared_ptr<::ContentItem const > ContentItemCollection::getItem ( ::brstd::move_only_function< bool(::ContentItem const &)> predicate)
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.

◆ tryReload()

MCAPI bool ContentItemCollection::tryReload ( )
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 * ContentItemCollection::$ctor ( ::ContentCollectionOptions && options)
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 ContentItemCollection::$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.

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