LeviLamina
Loading...
Searching...
No Matches
GameConnectionInfo.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/certificates/identity/ServerSupportedAuthenticationTypes.h"
7#include "mc/deps/nether_net/NetworkID.h"
8#include "mc/deps/raknet/RakNetGUID.h"
9#include "mc/network/ConnectionType.h"
10#include "mc/network/Nonce.h"
11#include "mc/network/ResolvedExperienceInfo.h"
12#include "mc/network/ThirdPartyInfo.h"
13#include "mc/network/TransportLayer.h"
14#include "mc/network/services/signaling/player_messaging/NetworkID.h"
15
16// auto generated forward declare list
17// clang-format off
19namespace Json { class Value; }
20// clang-format on
21
22namespace Social {
23
24class GameConnectionInfo {
25public:
26 // member variables
27 // NOLINTBEGIN
28 ::ll::TypedStorage<2, 2, ::Social::ConnectionType> mType;
29 ::ll::TypedStorage<4, 4, ::TransportLayer> mTransportType;
30 ::ll::TypedStorage<8, 32, ::std::string> mHostIpAddress;
31 ::ll::TypedStorage<8, 32, ::std::string> mUnresolvedUrl;
32 ::ll::TypedStorage<8, 32, ::std::string> mServerRegion;
33 ::ll::TypedStorage<8, 32, ::std::string> mExternalServerName;
34 ::ll::TypedStorage<4, 4, int> mServiceQuality;
35 ::ll::TypedStorage<4, 4, int> mPort;
36 ::ll::TypedStorage<8, 16, ::RakNet::RakNetGUID> mRakNetGUID;
37 ::ll::TypedStorage<8, 24, ::NetherNet::NetworkID> mNetherNetId;
38 ::ll::TypedStorage<8, 16, ::PlayerMessaging::NetworkID> mPlayerMessagingId;
39 ::ll::TypedStorage<1, 2, ::ServerSupportedAuthenticationTypes> mSupportedAuth;
40 ::ll::TypedStorage<8, 200, ::ThirdPartyInfo> mThirdPartyServerInfo;
41 ::ll::TypedStorage<8, 312, ::std::optional<::Social::ResolvedExperienceInfo>> mResolvedExperienceInfo;
42 ::ll::TypedStorage<1, 1, bool> mAllowSmallDownloads;
43 ::ll::TypedStorage<1, 1, bool> mDisableTrickleIce;
44 ::ll::TypedStorage<8, 40, ::std::optional<::Social::Nonce>> mNonce;
45 ::ll::TypedStorage<8, 16, ::gsl::not_null<::std::shared_ptr<::IIdentityAssertionVerifier>>> mServerIdentityVerifier;
46 // NOLINTEND
47
48#ifdef LL_PLAT_S
49public:
50 // prevent constructor by default
51 GameConnectionInfo(GameConnectionInfo const&);
52
53#else // LL_PLAT_C
54#endif
55public:
56 // member functions
57 // NOLINTBEGIN
58 MCAPI GameConnectionInfo();
59
60#ifdef LL_PLAT_C
61 MCAPI GameConnectionInfo(::Social::GameConnectionInfo&&);
62
63 MCAPI GameConnectionInfo(::Social::GameConnectionInfo const&);
64#endif
65
66 MCAPI GameConnectionInfo(::Social::ConnectionType connectionType, ::NetherNet::NetworkID const& netherNetId);
67
68#ifdef LL_PLAT_C
69 MCAPI GameConnectionInfo(
70 ::Social::ConnectionType connectionType,
71 ::NetherNet::NetworkID const& netherNetId,
72 ::PlayerMessaging::NetworkID const& playerMessagingId
73 );
74
75 MCAPI GameConnectionInfo(
76 ::Social::ConnectionType connectionType,
77 ::NetherNet::NetworkID const& netherNetId,
78 ::ThirdPartyInfo const& serverInfo
79 );
80
81 MCAPI GameConnectionInfo(
82 ::Social::ConnectionType connectionType,
83 ::NetherNet::NetworkID const& netherNetId,
84 ::PlayerMessaging::NetworkID const& playerMessagingId,
85 ::ThirdPartyInfo const& thirdPartyInfo
86 );
87
88 MCAPI GameConnectionInfo(
89 ::Social::ConnectionType connectionType,
90 ::NetherNet::NetworkID const& netherNetId,
91 ::std::string& serverRegion,
92 int serviceQuality
93 );
94#endif
95
96 MCAPI GameConnectionInfo(
97 ::Social::ConnectionType connectionType,
98 ::TransportLayer transportType,
99 ::std::string const& ipAddress,
100 int port
101 );
102
103 MCAPI GameConnectionInfo(
104 ::Social::ConnectionType connectionType,
105 ::TransportLayer transportType,
106 ::std::string const& ipAddress,
107 int port,
108 ::ThirdPartyInfo const& serverInfo
109 );
110
111#ifdef LL_PLAT_C
112 MCAPI GameConnectionInfo(
113 ::Social::ConnectionType connectionType,
114 ::TransportLayer transportType,
115 ::std::string const& ipAddress,
116 int port,
117 ::ThirdPartyInfo const& serverInfo,
118 ::std::string const& externalServerName
119 );
120
121 MCAPI GameConnectionInfo(
122 ::Social::ConnectionType connectionType,
123 ::TransportLayer transportType,
124 ::std::string const& ipAddress,
125 int port,
126 ::std::string& serverRegion,
127 int serviceQuality
128 );
129
130 MCFOLD ::std::string const getServerRegionName() const;
131
132 MCAPI ::Social::GameConnectionInfo& operator=(::Social::GameConnectionInfo&&);
133#endif
134
135 MCAPI ::Social::GameConnectionInfo& operator=(::Social::GameConnectionInfo const&);
136
137#ifdef LL_PLAT_C
138 MCAPI void toJson(::Json::Value& connectionJson) const;
139#endif
140
141 MCAPI ~GameConnectionInfo();
142 // NOLINTEND
143
144public:
145 // static functions
146 // NOLINTBEGIN
147#ifdef LL_PLAT_C
148 MCAPI static ::Social::GameConnectionInfo fromJson(::Json::Value const& properties);
149#endif
150 // NOLINTEND
151
152public:
153 // constructor thunks
154 // NOLINTBEGIN
155 MCAPI void* $ctor();
156
157#ifdef LL_PLAT_C
158 MCAPI void* $ctor(::Social::GameConnectionInfo&&);
159
160 MCAPI void* $ctor(::Social::GameConnectionInfo const&);
161#endif
162
163 MCAPI void* $ctor(::Social::ConnectionType connectionType, ::NetherNet::NetworkID const& netherNetId);
164
165#ifdef LL_PLAT_C
166 MCAPI void* $ctor(
167 ::Social::ConnectionType connectionType,
168 ::NetherNet::NetworkID const& netherNetId,
169 ::PlayerMessaging::NetworkID const& playerMessagingId
170 );
171
172 MCAPI void* $ctor(
173 ::Social::ConnectionType connectionType,
174 ::NetherNet::NetworkID const& netherNetId,
175 ::ThirdPartyInfo const& serverInfo
176 );
177
178 MCAPI void* $ctor(
179 ::Social::ConnectionType connectionType,
180 ::NetherNet::NetworkID const& netherNetId,
181 ::PlayerMessaging::NetworkID const& playerMessagingId,
182 ::ThirdPartyInfo const& thirdPartyInfo
183 );
184
185 MCAPI void* $ctor(
186 ::Social::ConnectionType connectionType,
187 ::NetherNet::NetworkID const& netherNetId,
188 ::std::string& serverRegion,
189 int serviceQuality
190 );
191#endif
192
193 MCAPI void* $ctor(
194 ::Social::ConnectionType connectionType,
195 ::TransportLayer transportType,
196 ::std::string const& ipAddress,
197 int port
198 );
199
200 MCAPI void* $ctor(
201 ::Social::ConnectionType connectionType,
202 ::TransportLayer transportType,
203 ::std::string const& ipAddress,
204 int port,
205 ::ThirdPartyInfo const& serverInfo
206 );
207
208#ifdef LL_PLAT_C
209 MCAPI void* $ctor(
210 ::Social::ConnectionType connectionType,
211 ::TransportLayer transportType,
212 ::std::string const& ipAddress,
213 int port,
214 ::ThirdPartyInfo const& serverInfo,
215 ::std::string const& externalServerName
216 );
217
218 MCAPI void* $ctor(
219 ::Social::ConnectionType connectionType,
220 ::TransportLayer transportType,
221 ::std::string const& ipAddress,
222 int port,
223 ::std::string& serverRegion,
224 int serviceQuality
225 );
226#endif
227 // NOLINTEND
228
229public:
230 // destructor thunk
231 // NOLINTBEGIN
232 MCAPI void $dtor();
233 // NOLINTEND
234};
235
236} // namespace Social
Definition IIdentityAssertionVerifier.h:8
Definition Value.h:16
Definition GameConnectionInfo.h:24
Definition ThirdPartyInfo.h:5
Definition NetworkID.h:17
Definition NetworkID.h:12