LeviLamina
Loading...
Searching...
No Matches
AsyncJoinTaskManager.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/common/SubClientId.h"
7#include "mc/deps/core/threading/IAsyncResult.h"
8#include "mc/deps/core/utility/EnableNonOwnerReferences.h"
9#include "mc/platform/brstd/move_only_function.h"
10
11// auto generated forward declare list
12// clang-format off
17struct AsyncJoinError;
18// clang-format on
19
21public:
22 // AsyncJoinTaskManager inner types declare
23 // clang-format off
25 // clang-format on
26
27 // AsyncJoinTaskManager inner types define
29 public:
30 // member variables
31 // NOLINTBEGIN
35 // NOLINTEND
36
37 public:
38 // prevent constructor by default
42
43 public:
44 // member functions
45 // NOLINTBEGIN
47 // NOLINTEND
48
49 public:
50 // destructor thunk
51 // NOLINTBEGIN
52 MCNAPI void $dtor();
53 // NOLINTEND
54 };
55
56public:
57 // member variables
58 // NOLINTBEGIN
66 // NOLINTEND
67
68public:
69 // prevent constructor by default
73
74public:
75 // virtual functions
76 // NOLINTBEGIN
77 // vIndex: 0
78 virtual ~AsyncJoinTaskManager() /*override*/;
79 // NOLINTEND
80
81public:
82 // member functions
83 // NOLINTBEGIN
84 MCNAPI ::nonstd::expected<void, ::AsyncJoinError> _handleAllVerdictsTaskCompletion(
85 ::SubClientId subClientId,
86 uint64 verdictId,
87 ::std::vector<
88 ::std::shared_ptr<::Bedrock::Threading::IAsyncResult<::nonstd::expected<void, ::AsyncJoinError>>>> const&
89 results
90 );
91
92 MCNAPI ::std::shared_ptr<::Bedrock::Threading::IAsyncResult<::nonstd::expected<void, ::AsyncJoinError>>>
94 ::NetworkIdentifier const& source,
95 ::std::variant<
96 ::std::reference_wrapper<::ConnectionRequest const>,
97 ::std::reference_wrapper<::SubClientConnectionRequest const>> const& request,
98 ::SubClientId subClientId
99 );
100
101 MCNAPI ::std::unique_ptr<uint64, ::std::function<void(uint64*)>> registerAsyncJoinCallback(
103 ::NetworkIdentifier const&,
104 ::std::variant<
105 ::std::reference_wrapper<::ConnectionRequest const>,
106 ::std::reference_wrapper<::SubClientConnectionRequest const>> const&,
107 ::SubClientId,
108 ::std::shared_ptr<::AsyncVerdictPromise>
109 )> callback
110 );
111 // NOLINTEND
112
113public:
114 // destructor thunk
115 // NOLINTBEGIN
116 MCNAPI void $dtor();
117 // NOLINTEND
118
119public:
120 // vftables
121 // NOLINTBEGIN
122 MCNAPI static void** $vftable();
123 // NOLINTEND
124};
Definition AsyncJoinTaskManager.h:20
MCAPI ::std::shared_ptr<::Bedrock::Threading::IAsyncResult<::nonstd::expected< void, ::AsyncJoinError > > > handleAsyncJoinCallbacks(::NetworkIdentifier const &source, ::std::variant< ::std::reference_wrapper<::ConnectionRequest const >, ::std::reference_wrapper<::SubClientConnectionRequest const > > const &request, ::SubClientId subClientId)
MCAPI ::nonstd::expected< void, ::AsyncJoinError > _handleAllVerdictsTaskCompletion(::SubClientId subClientId, uint64 verdictId, ::std::vector< ::std::shared_ptr<::Bedrock::Threading::IAsyncResult<::nonstd::expected< void, ::AsyncJoinError > > > > const &results)
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()
MCAPI void $dtor()
Definition AsyncVerdictPromise.h:10
Definition EnableNonOwnerReferences.h:7
Definition IAsyncResult.h:10
Definition ConnectionRequest.h:23
Definition NetworkIdentifier.h:10
Definition SubClientConnectionRequest.h:19
Definition move_only_function.h:9
Definition AsyncJoinError.h:5
Definition AsyncJoinTaskManager.h:28
Definition Alias.h:14