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