39 ::std::variant<::std::monostate, ::AsyncJoinAllow, ::AsyncJoinDeny>>>>>
41 ::ll::TypedStorage<1, 1, bool> disconnected;
42 ::ll::TypedStorage<8, 8, ::SourceClientHash> sourceClientHash;
58 ::std::shared_ptr<::AsyncVerdictPromise>
61 ::ll::TypedStorage<8, 8, uint64> mNextAsyncJoinCallbackId;
62 ::ll::TypedStorage<8, 8, ::std::shared_mutex> mAsyncJoinCallbacksMutex;
63 ::ll::TypedStorage<8, 64, ::std::unordered_map<uint64, ::AsyncJoinTaskManager::PendingVerdictEntry>>
65 ::ll::TypedStorage<8, 8, uint64> mNextVerdictID;
66 ::ll::TypedStorage<8, 8, ::gsl::not_null<::std::unique_ptr<::TaskGroup>>> mAsyncJoinTaskGroup;
67 ::ll::TypedStorage<8, 8, ::std::chrono::nanoseconds> mVerdictTimeout;
68 ::ll::TypedStorage<8, 56, ::nonstd::expected<::AsyncJoinAllow, ::AsyncJoinDeny>> mDefaultVerdict;
73 AsyncJoinTaskManager();
78 virtual ~AsyncJoinTaskManager() =
default;
85 ::std::unique_ptr<::TaskGroup> taskGroup,
86 ::nonstd::expected<::AsyncJoinAllow, ::AsyncJoinDeny> defaultJoinVerdict
92 ::SubClientId subClientId
100 ::std::shared_ptr<::AsyncVerdictPromise>
109 ::std::unique_ptr<::TaskGroup> taskGroup,
110 ::nonstd::expected<::AsyncJoinAllow, ::AsyncJoinDeny> defaultJoinVerdict
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 ::Bedrock::Threading::Async<::nonstd::expected<::AsyncJoinAllow, ::AsyncJoinDeny > > handleAsyncJoinCallbacks(::NetworkIdentifier const &source, ::PlayerAuthenticationInfo const &playerInfo, ::SubClientId subClientId)
Definition AsyncJoinTaskManager.h:31