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

Classes

struct  PendingVerdictEntry

Public Member Functions

MCAPI AsyncJoinTaskManager (::std::unique_ptr<::TaskGroup > taskGroup, ::nonstd::expected<::AsyncJoinAllow, ::AsyncJoinDeny > defaultJoinVerdict)
MCAPI ::nonstd::expected<::AsyncJoinAllow, ::AsyncJoinDeny_handleAllVerdictsTaskCompletion (::SubClientId subClientId, uint64 verdictId, ::std::vector<::Bedrock::Threading::SharedAsync< ::std::variant<::std::monostate, ::AsyncJoinAllow, ::AsyncJoinDeny > > > const &results)
MCAPI ::Bedrock::Threading::Async<::nonstd::expected<::AsyncJoinAllow, ::AsyncJoinDeny > > handleAsyncJoinCallbacks (::NetworkIdentifier const &source, ::PlayerAuthenticationInfo const &playerInfo, ::SubClientId subClientId)
MCAPI ::std::unique_ptr< uint64, ::std::function< void(uint64 *)> > registerAsyncJoinCallback (::brstd::move_only_function< void(::NetworkIdentifier const &, ::PlayerAuthenticationInfo const &, ::SubClientId, ::std::shared_ptr<::AsyncVerdictPromise >)> callback)
MCAPI void * $ctor (::std::unique_ptr<::TaskGroup > taskGroup, ::nonstd::expected<::AsyncJoinAllow, ::AsyncJoinDeny > defaultJoinVerdict)
MCAPI void $dtor ()
MCFOLD void * $ctor ()
MCFOLD void * $ctor (::Bedrock::EnableNonOwnerReferences const &)

Static Public Member Functions

static MCAPI void ** $vftable ()

Public Attributes

::ll::TypedStorage< 8, 16, ::std::map< uint64, ::brstd::move_only_function< void(::NetworkIdentifier const &, ::PlayerAuthenticationInfo const &, ::SubClientId, ::std::shared_ptr<::AsyncVerdictPromise >)> > > mAsyncJoinCallbacks
::ll::TypedStorage< 8, 8, uint64 > mNextAsyncJoinCallbackId
::ll::TypedStorage< 8, 8, ::std::shared_mutex > mAsyncJoinCallbacksMutex
::ll::TypedStorage< 8, 64, ::std::unordered_map< uint64, ::AsyncJoinTaskManager::PendingVerdictEntry > > mPendingVerdicts
::ll::TypedStorage< 8, 8, uint64 > mNextVerdictID
::ll::TypedStorage< 8, 8, ::gsl::not_null<::std::unique_ptr<::TaskGroup > > > mAsyncJoinTaskGroup
::ll::TypedStorage< 8, 8, ::std::chrono::nanoseconds > mVerdictTimeout
::ll::TypedStorage< 8, 56, ::nonstd::expected<::AsyncJoinAllow, ::AsyncJoinDeny > > mDefaultVerdict
::std::shared_ptr<::Bedrock::EnableNonOwnerReferences::ControlBlockmControlBlock

Member Function Documentation

◆ $vftable()

MCAPI void ** AsyncJoinTaskManager::$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: