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