3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/common/SubClientId.h"
7#include "mc/deps/core/threading/Async.h"
8#include "mc/deps/core/threading/SharedAsync.h"
9#include "mc/deps/core/utility/EnableNonOwnerReferences.h"
10#include "mc/platform/brstd/move_only_function.h"
89 ::std::unique_ptr<::TaskGroup> taskGroup,
90 ::nonstd::expected<::AsyncJoinAllow, ::AsyncJoinDeny> defaultJoinVerdict
94 ::SubClientId subClientId,
97 ::std::variant<::std::monostate, ::AsyncJoinAllow, ::AsyncJoinDeny>>>
const& results
103 ::std::reference_wrapper<::ConnectionRequest const>,
104 ::std::reference_wrapper<::SubClientConnectionRequest const>>
const& request,
105 ::SubClientId subClientId
112 ::std::reference_wrapper<::ConnectionRequest const>,
113 ::std::reference_wrapper<::SubClientConnectionRequest const>>
const&,
115 ::std::shared_ptr<::AsyncVerdictPromise>
124 ::std::unique_ptr<::TaskGroup> taskGroup,
125 ::nonstd::expected<::AsyncJoinAllow, ::AsyncJoinDeny> defaultJoinVerdict
Definition AsyncJoinTaskManager.h:23
MCAPI ::nonstd::expected<::AsyncJoinAllow, ::AsyncJoinDeny > _handleAllVerdictsTaskCompletion(::SubClientId subClientId, uint64 verdictId, ::std::vector<::Bedrock::Threading::SharedAsync< ::std::variant<::std::monostate, ::AsyncJoinAllow, ::AsyncJoinDeny > > > const &results)
MCAPI void * $ctor(::std::unique_ptr<::TaskGroup > taskGroup, ::nonstd::expected<::AsyncJoinAllow, ::AsyncJoinDeny > defaultJoinVerdict)
MCAPI AsyncJoinTaskManager(::std::unique_ptr<::TaskGroup > taskGroup, ::nonstd::expected<::AsyncJoinAllow, ::AsyncJoinDeny > defaultJoinVerdict)
MCAPI ::Bedrock::Threading::Async<::nonstd::expected<::AsyncJoinAllow, ::AsyncJoinDeny > > handleAsyncJoinCallbacks(::NetworkIdentifier const &source, ::std::variant< ::std::reference_wrapper<::ConnectionRequest const >, ::std::reference_wrapper<::SubClientConnectionRequest const > > const &request, ::SubClientId subClientId)
MCAPI ::std::unique_ptr< uint64, ::std::function< void(uint64 *)> > registerAsyncJoinCallback(::brstd::move_only_function< void(::NetworkIdentifier const &, ::std::variant< ::std::reference_wrapper<::ConnectionRequest const >, ::std::reference_wrapper<::SubClientConnectionRequest const > > const &, ::SubClientId, ::std::shared_ptr<::AsyncVerdictPromise >)> callback)
static MCAPI void ** $vftable()
Definition AsyncVerdictPromise.h:11
Definition EnableNonOwnerReferences.h:7
Definition SharedAsync.h:8
Definition ConnectionRequest.h:27
Definition NetworkIdentifier.h:10
Definition SubClientConnectionRequest.h:20
Definition TaskGroup.h:53
Definition move_only_function.h:9
Definition AsyncJoinAllow.h:5
Definition AsyncJoinDeny.h:5
Definition AsyncJoinTaskManager.h:31
MCAPI ~PendingVerdictEntry()