24class GameConnectionInfo {
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;
51 GameConnectionInfo(GameConnectionInfo
const&);
58 MCAPI GameConnectionInfo();
66 MCAPI GameConnectionInfo(::Social::ConnectionType connectionType,
::NetherNet::NetworkID const& netherNetId);
69 MCAPI GameConnectionInfo(
70 ::Social::ConnectionType connectionType,
75 MCAPI GameConnectionInfo(
76 ::Social::ConnectionType connectionType,
81 MCAPI GameConnectionInfo(
82 ::Social::ConnectionType connectionType,
88 MCAPI GameConnectionInfo(
89 ::Social::ConnectionType connectionType,
91 ::std::string& serverRegion,
96 MCAPI GameConnectionInfo(
97 ::Social::ConnectionType connectionType,
98 ::TransportLayer transportType,
99 ::std::string
const& ipAddress,
103 MCAPI GameConnectionInfo(
104 ::Social::ConnectionType connectionType,
105 ::TransportLayer transportType,
106 ::std::string
const& ipAddress,
112 MCAPI GameConnectionInfo(
113 ::Social::ConnectionType connectionType,
114 ::TransportLayer transportType,
115 ::std::string
const& ipAddress,
118 ::std::string
const& externalServerName
121 MCAPI GameConnectionInfo(
122 ::Social::ConnectionType connectionType,
123 ::TransportLayer transportType,
124 ::std::string
const& ipAddress,
126 ::std::string& serverRegion,
130 MCFOLD ::std::string
const getServerRegionName()
const;
141 MCAPI ~GameConnectionInfo();
148 MCAPI static ::Social::GameConnectionInfo fromJson(
::Json::Value const& properties);
167 ::Social::ConnectionType connectionType,
173 ::Social::ConnectionType connectionType,
179 ::Social::ConnectionType connectionType,
186 ::Social::ConnectionType connectionType,
188 ::std::string& serverRegion,
194 ::Social::ConnectionType connectionType,
195 ::TransportLayer transportType,
196 ::std::string
const& ipAddress,
201 ::Social::ConnectionType connectionType,
202 ::TransportLayer transportType,
203 ::std::string
const& ipAddress,
210 ::Social::ConnectionType connectionType,
211 ::TransportLayer transportType,
212 ::std::string
const& ipAddress,
215 ::std::string
const& externalServerName
219 ::Social::ConnectionType connectionType,
220 ::TransportLayer transportType,
221 ::std::string
const& ipAddress,
223 ::std::string& serverRegion,