LeviLamina
Loading...
Searching...
No Matches
_HeaderOutputPredefine.h
1#pragma once
2
3// clang-format off
4
5#ifdef _MSC_VER
6#pragma warning(disable : 4099) // for MOJANG : type name first seen using 'class' now seen using 'struct'
7#pragma warning(disable : 4201) // for MOJANG : nonstandard extension used : nameless struct/union
8#pragma warning(disable : 4373) // for MOJANG : override virtual function with different const/volatile params
9#endif
10
11#include "ll/api/base/Macro.h"
12
13#define MCAPI LL_SHARED_IMPORT
14#define MCTAPI template<> MCAPI
15#define MCFOLD MCAPI /*Identical COMDAT Folding*/
16#define MCNAPI [[deprecated("This API is not available. Open an issue if you need it. "\
17 "https://github.com/LiteLDev/mcapi-requests/issues/new")]] MCAPI
18
19#if defined(LL_PLAT_S)
20#define MCAPI_C [[deprecated("Client API not available on SERVER")]] MCAPI
21#define MCAPI_S MCAPI
22#define MCTAPI_C [[deprecated("Client API not available on SERVER")]] MCTAPI
23#define MCTAPI_S MCTAPI
24#define MCFOLD_C [[deprecated("Client API not available on SERVER")]] MCFOLD
25#define MCFOLD_S MCFOLD
26#define MCNAPI_C MCNAPI
27#define MCNAPI_S MCNAPI
28#elif defined(LL_PLAT_C)
29#define MCAPI_C MCAPI
30#define MCAPI_S [[deprecated("Server API not available on CLIENT")]] MCAPI
31#define MCTAPI_C MCTAPI
32#define MCTAPI_S [[deprecated("Server API not available on CLIENT")]] MCTAPI
33#define MCFOLD_C MCFOLD
34#define MCFOLD_S [[deprecated("Server API not available on CLIENT")]] MCFOLD
35#define MCNAPI_C MCNAPI
36#define MCNAPI_S MCNAPI
37#endif
38
39#include <algorithm> // STL general algorithms
40#include <array> // STL array container
41#include <bitset> // STL bitset container
42#include <cctype> // Character handling functions
43#include <cerrno> // C Error codes
44#include <chrono> // C++11 Time library
45#include <clocale> // C localization library
46#include <cmath> // Common mathematics functions
47#include <complex> // Complex number type
48#include <condition_variable> // condition variable
49#include <cstdio> // C Standard Input/Output library
50#include <cstdlib> // C Standard General Utilities Library
51#include <cstring> // C string handling
52#include <ctime> // C Time library
53#include <cwchar> // Wide character type
54#include <cwctype> // Wide character classification
55#include <deque> // STL double ended queue container
56#include <exception> // Exception handling classes
57#include <filesystem> // STL file system
58#include <forward_list> // STL forward list container
59#include <fstream> // File stream classes
60#include <functional> // STL Function objects
61#include <iomanip> // Input/Output manipulators
62#include <ios> // Base input/output stream classes
63#include <iosfwd> // Input/Output forward declarations
64#include <iostream> // Standard Input/Output stream objects
65#include <istream> // Basic input stream classes
66#include <limits> // Numeric limits
67#include <list> // STL linear list container
68#include <map> // STL map container
69#include <memory> // STL unique_ptr, shared_ptr, weak_ptr
70#include <mutex> // STL mutual exclusion primitives
71#include <numbers> // numbers standard header
72#include <optional> // STL optional type
73#include <ostream> // Basic output stream classes
74#include <queue> // STL queue and priority_queue container
75#include <random> // C++11 Random numbers
76#include <set> // STL set and multiset container
77#include <shared_mutex> // STL shared mutual exclusion primitives
78#include <sstream> // String stream classes
79#include <stack> // STL stack container
80#include <stdexcept> // Standard exception objects
81#include <streambuf> // Stream buffer classes
82#include <string> // String class
83#include <string_view> // STL string_view type
84#include <unordered_map> // STL unordered map container
85#include <unordered_set> // STL unordered set container
86#include <utility> // STL utility components
87#include <variant> // STL variant type
88#include <vector> // STL dynamic array container
89#include <future> // STL future
90#include <regex> // Regular expression library
91
92// STL expected for C++23
93#if _HAS_CXX23
94#include <expected>
95#endif
96
97#include "entt/entt.hpp" // Entity Component System Library
98#include "entt/fwd.hpp" // Entity Component Forward Declarations
99#include "glm/glm.hpp" // OpenGL Mathematics Library
100#include "glm/ext.hpp" // OpenGL Mathematics Library
101#include "gsl/gsl" // Guideline Support Library
102
103// LevelDB C++ Library
104#include "leveldb/c.h"
105#include "leveldb/cache.h"
106#include "leveldb/comparator.h"
107#include "leveldb/db.h"
108#include "leveldb/dumpfile.h"
109#include "leveldb/env.h"
110#include "leveldb/filter_policy.h"
111#include "leveldb/iterator.h"
112#include "leveldb/options.h"
113#include "leveldb/slice.h"
114#include "leveldb/status.h"
115#include "leveldb/table.h"
116#include "leveldb/table_builder.h"
117#include "leveldb/write_batch.h"
118
119// RapidJSON C++ Library
120#include "rapidjson/document.h"
121#include "rapidjson/encodings.h"
122#include "rapidjson/error/en.h"
123#include "rapidjson/filereadstream.h"
124#include "rapidjson/filewritestream.h"
125#include "rapidjson/pointer.h"
126#include "rapidjson/prettywriter.h"
127#include "rapidjson/rapidjson.h"
128#include "rapidjson/reader.h"
129#include "rapidjson/schema.h"
130#include "rapidjson/stringbuffer.h"
131#include "rapidjson/writer.h"
132
133// type_safe C++ Library
134#include "type_safe/strong_typedef.hpp"
135
136// expected_lite C++ Library
137#ifdef _MSC_VER
138#pragma warning(push)
139#pragma warning(disable : 4702)
140#endif
141#define nsel_CONFIG_SELECT_EXPECTED 1
142#include "nonstd/expected.hpp"
143#ifdef _MSC_VER
144#pragma warning(pop)
145#endif
146
147#include "ll/api/base/Alias.h"
148#include "ll/api/base/StdInt.h"
149
150// fmt C++ Library
151#include "fmt/format.h"
152#include "fmt/std.h"
153
154// moodycamel::ConcurrentQueue C++ Library
155#include "concurrentqueue.h"
156
157struct HWND__;
158struct tagRECT;
159struct _TP_CALLBACK_INSTANCE;
160struct _TP_WAIT;
161struct _TP_WORK;
162struct _TP_TIMER;
163typedef long HRESULT;
164enum _WINHTTP_WEB_SOCKET_BUFFER_TYPE;
165struct in6_addr;
166struct in_addr;
167struct sockaddr;
168struct addrinfo;
169struct _IP_ADAPTER_PREFIX_XP;
170struct sockaddr_storage;
171struct sockaddr_in;
172struct sockaddr_in6;
173struct evp_md_ctx_st;
174struct asn1_string_st;
175struct bio_st;
176struct XUser;
177struct tagPOINT;
178namespace winrt
179{
180 struct event_token;
181
182 namespace Windows
183 {
184 namespace UI::Text::Core
185 {
186 struct CoreTextEditContext;
187 }
188
189 namespace ApplicationModel::DataTransfer
190 {
191 struct DataTransferManager;
192 }
193 }
194
195
196}
197
198#include "mc/deps/core/utility/optional_ref.h" // replace optional<reference_wrapper<>>
199#include "mc/platform/brstd/function_ref.h" // function reference
200#include "mc/math/vector/Vecs.h" // for vector types
201
202template <typename T0, typename T1>
203class AutomaticID;
204class Dimension;
205using DimensionType = AutomaticID<Dimension, int>;
206
207struct RecipeNetIdTag;
210struct ItemStackNetIdTag;
213
214template <typename T0, typename T1 = uint, int T2 = 0>
215class TypedClientNetId;
216template <typename T0, typename T1 = uint, int T2 = 0>
217class TypedServerNetId;
218template <typename T0, typename T1 = uint, int T2 = 0>
219class TypedRuntimeId;
220
221using RecipeNetId = TypedServerNetId<RecipeNetIdTag>;
222using CreativeItemNetId = TypedServerNetId<CreativeItemNetIdTag>;
223using ContainerRuntimeId = TypedRuntimeId<ContainerRuntimeIdTag>;
224using ItemStackNetId = TypedServerNetId<ItemStackNetIdTag, int>;
225using ItemStackRequestId = TypedClientNetId<ItemStackRequestIdTag, int>;
226using ItemStackLegacyRequestId = TypedClientNetId<ItemStackLegacyRequestIdTag, int>;
227
228class BlockType;
229template <typename T0>
230class ActorBlockBase;
231using ActorBlock = ActorBlockBase<BlockType>;
232
233template<int>
235
236template<typename T>
238public:
239 T* mBegin;
240 T* mEnd;
241 class iterator {
242 public:
243 T* mPtr;
244 };
245};
246
247namespace Bedrock {
248template <typename T, typename Err = std::error_code>
249class Result;
250template <typename T>
251class NonOwnerPointer;
252template <typename T>
253using NotNullNonOwnerPtr = gsl::not_null<NonOwnerPointer<T>>;
254
255template <typename T, typename... Args>
256class ImplBase {
257public:
258 virtual ~ImplBase() = default;
259};
260
261template <typename T, typename U, typename A, typename M>
263namespace Detail {
264template <typename T, typename U = void>
266}
267
268namespace Threading {
269template <typename T, typename Alloc = std::allocator<T>>
271}
272}
273
274namespace Core {
275template <typename... Params>
277public:
278 class Listener {};
279};
280template <typename TKey, typename TValue, typename TValuePtr, typename... TNewInstanceArgs>
281class LRUCache {
282public:
283 void* mUnk[14];
284};
285}
286
287namespace Puv {
288template <typename From, typename To, typename CustomData>
290
291template <typename T0, typename T1, typename T2>
293}
294
295namespace Social {
296enum class SignInResult;
297}
298
299namespace NetherNet::Utils {
300template <typename T>
302public:
303 class View {};
304};
305}
306
307namespace rtc {
308template<class T, size_t N = size_t(-4711ll)>
310}
311
312template <typename T0>
314using http_string = std::basic_string<char, std::char_traits<char>, class http_stl_allocator<char>>;
315using http_wstring = std::basic_string<wchar_t, std::char_traits<wchar_t>, class http_stl_allocator<wchar_t>>;
316
317namespace asio::ssl {
318class verify_context;
319}
320
321namespace leveldb {
322class Compressor;
323class DecompressAllocator;
324}
325
326// clang-format on
Definition ActorBlockBase.h:6
Definition AutomaticID.h:6
Definition _HeaderOutputPredefine.h:262
Definition _HeaderOutputPredefine.h:256
Definition _HeaderOutputPredefine.h:270
Definition BlockType.h:84
Definition _HeaderOutputPredefine.h:278
Definition _HeaderOutputPredefine.h:276
Definition _HeaderOutputPredefine.h:281
Definition Dimension.h:85
Definition _HeaderOutputPredefine.h:303
Definition _HeaderOutputPredefine.h:301
Definition _HeaderOutputPredefine.h:234
Definition _HeaderOutputPredefine.h:289
Definition _HeaderOutputPredefine.h:292
Definition TypedClientNetId.h:6
Definition TypedRuntimeId.h:6
Definition TypedServerNetId.h:6
Definition _HeaderOutputPredefine.h:241
Definition _HeaderOutputPredefine.h:237
Definition http_stl_allocator.h:6
Definition _HeaderOutputPredefine.h:309
Definition _HeaderOutputPredefine.h:265
Definition ContainerRuntimeIdTag.h:5
Definition CreativeItemNetIdTag.h:5
Definition ItemStackLegacyRequestIdTag.h:5
Definition ItemStackNetIdTag.h:5
Definition ItemStackRequestIdTag.h:5
Definition RecipeNetIdTag.h:5