LeviLamina
Loading...
Searching...
No Matches
ResourceLoadManager Class Reference
Inheritance diagram for ResourceLoadManager:

Classes

struct  LoadOrder
class  TaskGroupState
class  ResourceLoadTaskGroup

Public Member Functions

ResourceLoadManageroperator= (ResourceLoadManager const &)
 ResourceLoadManager (ResourceLoadManager const &)
MCNAPI_C void _cancel ()
MCNAPI_C void _initializeResourceLoadTaskGroups ()
MCAPI void _prepareTaskGroupToRunAgain (::gsl::not_null<::ResourceLoadManager::ResourceLoadTaskGroup * > resourceLoadTaskGroup)
MCNAPI_C bool isComplete () const
MCNAPI_C bool isComplete (::ResourceLoadType resourceLoadType) const
MCNAPI_C void printRunningTasks ()
MCAPI ::Bedrock::Threading::Async< void > queue (::ResourceLoadType resourceLoadType, ::brstd::move_only_function<::TaskResult()> threadedCallback, ::std::function< void()> mainThreadCallback, uint taskPriority)
MCNAPI_C ::Bedrock::Threading::Async< void > queueAsync (::ResourceLoadType resourceLoadType, ::brstd::move_only_function<::TaskResult()> callback, uint taskPriority)
MCNAPI_C ::Bedrock::Threading::Async< void > queueSync (::ResourceLoadType resourceLoadType, ::brstd::move_only_function<::TaskResult()> callback, uint taskPriority)
MCNAPI_C void registerResourceLoadTaskGroup (::std::string_view groupName, ::ResourceLoadType resourceLoadType, ::std::vector<::ResourceLoadType > dependencies)
MCAPI bool softCancel (::ResourceLoadType resourceLoadType)
MCNAPI_C void sync (::ResourceLoadType resourceLoadType)
MCNAPI_C void update ()
MCAPI void $dtor ()
MCFOLD void * $ctor ()
MCFOLD void * $ctor (::Bedrock::EnableNonOwnerReferences const &)

Static Public Member Functions

static MCAPI ::std::function< void()> _wrapMainThreadCallback (::ResourceLoadManager::ResourceLoadTaskGroup &resourceLoadTaskGroup, ::std::function< void()> &&mainThreadCallback)
static MCAPI ::brstd::move_only_function<::TaskResult()> _wrapTaskCallback (::ResourceLoadManager::ResourceLoadTaskGroup &resourceLoadTaskGroup, ::brstd::move_only_function<::TaskResult()> &&threadedCallback)
static MCAPI void queueChild (::brstd::move_only_function<::TaskResult()> threadedCallback, ::std::function< void()> mainThreadCallback, uint taskPriority)
static MCAPI void ** $vftable ()

Public Attributes

::ll::UntypedStorage< 4, 4 > mUnk641f6f
::ll::UntypedStorage< 8, 8 > mUnkbc3f4e
::ll::UntypedStorage< 8, 8 > mUnk833b4d
::ll::UntypedStorage< 8, 16 > mUnk174289
::ll::UntypedStorage< 8, 8 > mUnkb77267
::ll::UntypedStorage< 1, 1 > mUnk8953d0
::std::shared_ptr<::Bedrock::EnableNonOwnerReferences::ControlBlockmControlBlock

Member Function Documentation

◆ _prepareTaskGroupToRunAgain()

MCAPI void ResourceLoadManager::_prepareTaskGroupToRunAgain ( ::gsl::not_null<::ResourceLoadManager::ResourceLoadTaskGroup * > resourceLoadTaskGroup)
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.

◆ queue()

MCAPI ::Bedrock::Threading::Async< void > ResourceLoadManager::queue ( ::ResourceLoadType resourceLoadType,
::brstd::move_only_function<::TaskResult()> threadedCallback,
::std::function< void()> mainThreadCallback,
uint taskPriority )
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.

◆ softCancel()

MCAPI bool ResourceLoadManager::softCancel ( ::ResourceLoadType resourceLoadType)
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.

◆ _wrapMainThreadCallback()

MCAPI ::std::function< void()> ResourceLoadManager::_wrapMainThreadCallback ( ::ResourceLoadManager::ResourceLoadTaskGroup & resourceLoadTaskGroup,
::std::function< void()> && mainThreadCallback )
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.

◆ _wrapTaskCallback()

MCAPI ::brstd::move_only_function<::TaskResult()> ResourceLoadManager::_wrapTaskCallback ( ::ResourceLoadManager::ResourceLoadTaskGroup & resourceLoadTaskGroup,
::brstd::move_only_function<::TaskResult()> && threadedCallback )
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.

◆ queueChild()

MCAPI void ResourceLoadManager::queueChild ( ::brstd::move_only_function<::TaskResult()> threadedCallback,
::std::function< void()> mainThreadCallback,
uint taskPriority )
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 ResourceLoadManager::$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.

◆ $vftable()

MCAPI void ** ResourceLoadManager::$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 class was generated from the following file: