LeviLamina
Loading...
Searching...
No Matches
CloudServer.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/raknet/CloudAllocator.h"
7#include "mc/deps/raknet/PI2_LostConnectionReason.h"
8#include "mc/deps/raknet/PluginInterface2.h"
9#include "mc/deps/raknet/PluginReceiveResult.h"
10
11// auto generated forward declare list
12// clang-format off
13namespace RakNet { struct Packet; }
14namespace RakNet { struct RakNetGUID; }
15namespace RakNet { struct SystemAddress; }
16// clang-format on
17
18namespace RakNet {
19
20class CloudServer : public ::RakNet::PluginInterface2, public ::RakNet::CloudAllocator {
21public:
22 // CloudServer inner types declare
23 // clang-format off
25 struct CloudData;
26 struct CloudDataList;
28 struct GetRequest;
29 struct KeySubscriberID;
30 struct RemoteCloudClient;
31 struct RemoteServer;
32 // clang-format on
33
34 // CloudServer inner types define
35 struct BufferedGetResponseFromServer {
36 public:
37 // member variables
38 // NOLINTBEGIN
42 // NOLINTEND
43
44 public:
45 // prevent constructor by default
46 BufferedGetResponseFromServer& operator=(BufferedGetResponseFromServer const&);
47 BufferedGetResponseFromServer(BufferedGetResponseFromServer const&);
48 BufferedGetResponseFromServer();
49 };
50
51 struct CloudData {
52 public:
53 // member variables
54 // NOLINTBEGIN
65 // NOLINTEND
66
67 public:
68 // prevent constructor by default
69 CloudData& operator=(CloudData const&);
70 CloudData(CloudData const&);
71 CloudData();
72 };
73
74 struct CloudDataList {
75 public:
76 // member variables
77 // NOLINTBEGIN
83 // NOLINTEND
84
85 public:
86 // prevent constructor by default
87 CloudDataList& operator=(CloudDataList const&);
88 CloudDataList(CloudDataList const&);
89 CloudDataList();
90 };
91
92 struct CloudQueryWithAddresses {
93 public:
94 // member variables
95 // NOLINTBEGIN
98 // NOLINTEND
99
100 public:
101 // prevent constructor by default
102 CloudQueryWithAddresses& operator=(CloudQueryWithAddresses const&);
103 CloudQueryWithAddresses(CloudQueryWithAddresses const&);
104 CloudQueryWithAddresses();
105 };
106
107 struct GetRequest {
108 public:
109 // member variables
110 // NOLINTBEGIN
116 // NOLINTEND
117
118 public:
119 // prevent constructor by default
120 GetRequest& operator=(GetRequest const&);
121 GetRequest(GetRequest const&);
122 GetRequest();
123 };
124
125 struct KeySubscriberID {
126 public:
127 // member variables
128 // NOLINTBEGIN
131 // NOLINTEND
132
133 public:
134 // prevent constructor by default
135 KeySubscriberID& operator=(KeySubscriberID const&);
136 KeySubscriberID(KeySubscriberID const&);
137 KeySubscriberID();
138 };
139
140 struct RemoteCloudClient {
141 public:
142 // member variables
143 // NOLINTBEGIN
147 // NOLINTEND
148
149 public:
150 // prevent constructor by default
151 RemoteCloudClient& operator=(RemoteCloudClient const&);
152 RemoteCloudClient(RemoteCloudClient const&);
153 RemoteCloudClient();
154 };
155
156 struct RemoteServer {
157 public:
158 // member variables
159 // NOLINTBEGIN
165 // NOLINTEND
166
167 public:
168 // prevent constructor by default
169 RemoteServer& operator=(RemoteServer const&);
170 RemoteServer(RemoteServer const&);
171 RemoteServer();
172 };
173
174public:
175 // member variables
176 // NOLINTBEGIN
187 // NOLINTEND
188
189public:
190 // prevent constructor by default
191 CloudServer& operator=(CloudServer const&);
192 CloudServer(CloudServer const&);
193 CloudServer();
194
195public:
196 // virtual functions
197 // NOLINTBEGIN
198 virtual ~CloudServer() /*override*/ = default;
199
200 virtual void Update() /*override*/;
201
202 virtual ::RakNet::PluginReceiveResult OnReceive(::RakNet::Packet*) /*override*/;
203
204 virtual void OnClosedConnection(
207 ::RakNet::PI2_LostConnectionReason
208 ) /*override*/;
209
210 virtual void OnRakPeerShutdown() /*override*/;
211
212 virtual void OnPostRequest(::RakNet::Packet*);
213
214 virtual void OnReleaseRequest(::RakNet::Packet*);
215
216 virtual void OnGetRequest(::RakNet::Packet*);
217
218 virtual void OnUnsubscribeRequest(::RakNet::Packet*);
219
220 virtual void OnServerToServerGetRequest(::RakNet::Packet*);
221
222 virtual void OnServerToServerGetResponse(::RakNet::Packet*);
223 // NOLINTEND
224
225public:
226 // virtual function thunks
227 // NOLINTBEGIN
228
229 // NOLINTEND
230};
231
232} // namespace RakNet
Definition CloudAllocator.h:12
Definition PluginInterface2.h:20
Definition CloudServer.h:74
Definition CloudServer.h:51
Definition CloudServer.h:107
Definition CloudServer.h:125
Definition CloudServer.h:140
Definition CloudServer.h:156
Definition Packet.h:7
Definition RakNetGUID.h:7
Definition SystemAddress.h:7
Definition Alias.h:14