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 // NOLINTEND
38
39public:
40 // prevent constructor by default
41 GameConnectionInfo(GameConnectionInfo const&);
42
43public:
44 // member functions
45 // NOLINTBEGIN
46 MCAPI GameConnectionInfo();
47
48 MCAPI_C ::std::string getCorrelationId() const;
49
50 MCAPI_C ::std::string const getRakNetGUID() const;
51
52 MCAPI ::Social::GameConnectionInfo& operator=(::Social::GameConnectionInfo const&);
53
54 MCAPI ~GameConnectionInfo();
55 // NOLINTEND
56
57public:
58 // static functions
59 // NOLINTBEGIN
60 MCAPI_C static ::Social::GameConnectionInfo fromJson(::Json::Value const& properties);
61 // NOLINTEND
62
63public:
64 // constructor thunks
65 // NOLINTBEGIN
66 MCAPI void* $ctor();
67
68 MCAPI_C void* $ctor(::Social::GameConnectionInfo&&);
69
70 MCAPI_C void* $ctor(::Social::GameConnectionInfo const&);
71
72 MCAPI_C void* $ctor(::Social::ConnectionType connectionType, ::NetherNet::NetworkID const& netherNetId);
73
74 MCAPI_C void* $ctor(::Social::ConnectionType connectionType, ::std::string const& ipAddress, int port);
75
76 MCAPI_C void* $ctor(
77 ::Social::ConnectionType connectionType,
78 ::NetherNet::NetworkID const& netherNetId,
79 ::PlayerMessaging::NetworkID const& playerMessagingId
80 );
81
82 MCAPI_C void* $ctor(
83 ::Social::ConnectionType connectionType,
84 ::NetherNet::NetworkID const& netherNetId,
85 ::GatheringServerInfo const& serverInfo
86 );
87
88 MCAPI_C void* $ctor(
89 ::Social::ConnectionType connectionType,
90 ::NetherNet::NetworkID const& netherNetId,
91 ::ThirdPartyInfo const& serverInfo
92 );
93
94 MCAPI_C void* $ctor(
95 ::RakNet::SystemAddress connection,
96 ::RakNet::RakNetGUID const& rakGuid,
97 ::ThirdPartyInfo const& serverInfo,
98 ::GatheringServerInfo const& gatheringServerInfo
99 );
100
101 MCAPI_C void* $ctor(
102 ::Social::ConnectionType connectionType,
103 ::std::string const& ipAddress,
104 int port,
105 ::GatheringServerInfo const& serverInfo
106 );
107
108 MCAPI_C void* $ctor(
109 ::Social::ConnectionType connectionType,
110 ::std::string const& ipAddress,
111 int port,
112 ::ThirdPartyInfo const& serverInfo
113 );
114
115 MCAPI_C void* $ctor(
116 ::Social::ConnectionType connectionType,
117 ::NetherNet::NetworkID const& netherNetId,
118 ::std::string& serverRegion,
119 int serviceQuality
120 );
121
122 MCAPI_C void* $ctor(
123 ::Social::ConnectionType connectionType,
124 ::std::string const& ipAddress,
125 int port,
126 ::std::string& serverRegion,
127 int serviceQuality
128 );
129 // NOLINTEND
130
131public:
132 // destructor thunk
133 // NOLINTBEGIN
134 MCAPI void $dtor();
135 // NOLINTEND
136};
137
138} // 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