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#include <any> // STL any type
92
93// STL expected for C++23
94#if _HAS_CXX23
95#include <expected>
96#endif
97
98#include "entt/entt.hpp" // Entity Component System Library
99#include "entt/fwd.hpp" // Entity Component Forward Declarations
100#include "glm/glm.hpp" // OpenGL Mathematics Library
101#include "glm/ext.hpp" // OpenGL Mathematics Library
102#include "gsl/gsl" // Guideline Support Library
103
104// LevelDB C++ Library
105#include "leveldb/c.h"
106#include "leveldb/cache.h"
107#include "leveldb/comparator.h"
108#include "leveldb/db.h"
109#include "leveldb/dumpfile.h"
110#include "leveldb/env.h"
111#include "leveldb/filter_policy.h"
112#include "leveldb/iterator.h"
113#include "leveldb/options.h"
114#include "leveldb/slice.h"
115#include "leveldb/status.h"
116#include "leveldb/table.h"
117#include "leveldb/table_builder.h"
118#include "leveldb/write_batch.h"
119
120// RapidJSON C++ Library
121#include "rapidjson/document.h"
122#include "rapidjson/encodings.h"
123#include "rapidjson/error/en.h"
124#include "rapidjson/filereadstream.h"
125#include "rapidjson/filewritestream.h"
126#include "rapidjson/pointer.h"
127#include "rapidjson/prettywriter.h"
128#include "rapidjson/rapidjson.h"
129#include "rapidjson/reader.h"
130#include "rapidjson/schema.h"
131#include "rapidjson/stringbuffer.h"
132#include "rapidjson/writer.h"
133
134// type_safe C++ Library
135#include "type_safe/strong_typedef.hpp"
136
137// expected_lite C++ Library
138#ifdef _MSC_VER
139#pragma warning(push)
140#pragma warning(disable : 4702)
141#endif
142#define nsel_CONFIG_SELECT_EXPECTED 1
143#include "nonstd/expected.hpp"
144#ifdef _MSC_VER
145#pragma warning(pop)
146#endif
147
148#include "ll/api/base/Alias.h"
149#include "ll/api/base/StdInt.h"
150
151// fmt C++ Library
152#include "fmt/format.h"
153#include "fmt/std.h"
154
155// moodycamel::ConcurrentQueue C++ Library
156#include "concurrentqueue.h"
157
158struct HWND__;
159struct HICON__;
160struct tagRECT;
161struct _TP_CALLBACK_INSTANCE;
162struct _TP_WAIT;
163struct _TP_WORK;
164struct _TP_TIMER;
165typedef long HRESULT;
166enum _WINHTTP_WEB_SOCKET_BUFFER_TYPE;
167struct in6_addr;
168struct in_addr;
169struct sockaddr;
170struct addrinfo;
171struct _IP_ADAPTER_PREFIX_XP;
172struct sockaddr_storage;
173struct sockaddr_in;
174struct sockaddr_in6;
175struct evp_md_ctx_st;
176struct asn1_string_st;
177struct bio_st;
178struct XUser;
179struct tagPOINT;
180namespace winrt
181{
182 struct event_token;
183
184 namespace Windows
185 {
186 namespace UI::Text::Core
187 {
188 struct CoreTextEditContext;
189 }
190
191 namespace ApplicationModel::DataTransfer
192 {
193 struct DataTransferManager;
194 }
195 }
196
197
198}
199
200#include "mc/deps/core/utility/optional_ref.h" // replace optional<reference_wrapper<>>
201#include "mc/platform/brstd/function_ref.h" // function reference
202#include "mc/math/vector/Vecs.h" // for vector types
203
204template <typename T0, typename T1>
205class AutomaticID;
206class Dimension;
207using DimensionType = AutomaticID<Dimension, int>;
208
209struct RecipeNetIdTag;
212struct ItemStackNetIdTag;
215
216template <typename T0, typename T1 = uint, int T2 = 0>
217class TypedClientNetId;
218template <typename T0, typename T1 = uint, int T2 = 0>
219class TypedServerNetId;
220template <typename T0, typename T1 = uint, int T2 = 0>
221class TypedRuntimeId;
222
223using RecipeNetId = TypedServerNetId<RecipeNetIdTag>;
224using CreativeItemNetId = TypedServerNetId<CreativeItemNetIdTag>;
225using ContainerRuntimeId = TypedRuntimeId<ContainerRuntimeIdTag>;
226using ItemStackNetId = TypedServerNetId<ItemStackNetIdTag, int>;
227using ItemStackRequestId = TypedClientNetId<ItemStackRequestIdTag, int>;
228using ItemStackLegacyRequestId = TypedClientNetId<ItemStackLegacyRequestIdTag, int>;
229
230class BlockType;
231template <typename T0>
232class ActorBlockBase;
233using ActorBlock = ActorBlockBase<BlockType>;
234
235template<int>
237
238template<typename T>
240public:
241 T* mBegin;
242 T* mEnd;
243 class iterator {
244 public:
245 T* mPtr;
246 };
247};
248
249namespace Bedrock {
250template <typename T, typename Err = std::error_code>
251class Result;
252template <typename T>
253class NonOwnerPointer;
254template <typename T>
255using NotNullNonOwnerPtr = gsl::not_null<NonOwnerPointer<T>>;
256
257template <typename T, typename... Args>
258class ImplBase {
259public:
260 virtual ~ImplBase() = default;
261};
262
263template <typename T, typename U, typename A, typename M>
265namespace Detail {
266template <typename T, typename U = void>
268}
269
270namespace Threading {
271template <typename T, typename Alloc = std::allocator<T>>
273}
274}
275
276namespace Core {
277template <typename... Params>
279public:
280 class Listener {};
281};
282template <typename TKey, typename TValue, typename TValuePtr, typename... TNewInstanceArgs>
283class LRUCache {
284public:
285 void* mUnk[14];
286};
287}
288
289namespace Puv {
290template <typename From, typename To, typename CustomData>
292
293template <typename T0, typename T1, typename T2>
295}
296
297namespace Social {
298enum class SignInResult;
299}
300
301namespace NetherNet::Utils {
302template <typename T>
304public:
305 class View {};
306};
307}
308
309namespace rtc {
310template<class T, size_t N = size_t(-4711ll)>
312}
313
314template <typename T0>
316using http_string = std::basic_string<char, std::char_traits<char>, class http_stl_allocator<char>>;
317using http_wstring = std::basic_string<wchar_t, std::char_traits<wchar_t>, class http_stl_allocator<wchar_t>>;
318
319namespace asio::ssl {
320class verify_context;
321}
322
323namespace leveldb {
324class Compressor;
325class DecompressAllocator;
326}
327
328// clang-format on
Definition ActorBlockBase.h:6
Definition AutomaticID.h:6
Definition _HeaderOutputPredefine.h:264
Definition _HeaderOutputPredefine.h:258
Definition _HeaderOutputPredefine.h:272
Definition BlockType.h:84
Definition _HeaderOutputPredefine.h:280
Definition _HeaderOutputPredefine.h:278
Definition _HeaderOutputPredefine.h:283
Definition Dimension.h:85
Definition _HeaderOutputPredefine.h:305
Definition _HeaderOutputPredefine.h:303
Definition _HeaderOutputPredefine.h:236
Definition _HeaderOutputPredefine.h:291
Definition _HeaderOutputPredefine.h:294
Definition TypedClientNetId.h:6
Definition TypedRuntimeId.h:6
Definition TypedServerNetId.h:6
Definition _HeaderOutputPredefine.h:243
Definition _HeaderOutputPredefine.h:239
Definition http_stl_allocator.h:6
Definition _HeaderOutputPredefine.h:311
Definition _HeaderOutputPredefine.h:267
Definition ContainerRuntimeIdTag.h:5
Definition CreativeItemNetIdTag.h:5
Definition ItemStackLegacyRequestIdTag.h:5
Definition ItemStackNetIdTag.h:5
Definition ItemStackRequestIdTag.h:5
Definition RecipeNetIdTag.h:5