LeviLamina
Loading...
Searching...
No Matches
DebugEndPoint.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/debug/log/ContentLogEndPoint.h"
7#include "mc/deps/core/debug/log/LogArea.h"
8#include "mc/deps/core/debug/log/LogLevel.h"
9#include "mc/resources/ResourcePackListener.h"
10
11// auto generated forward declare list
12// clang-format off
14namespace Core { class Path; }
15// clang-format on
16
17class DebugEndPoint : public ::ContentLogEndPoint {
18public:
19 // DebugEndPoint inner types declare
20 // clang-format off
22 // clang-format on
23
24 // DebugEndPoint inner types define
25 class VanillaWorldChecker : public ::ResourcePackListener {
26 public:
27 // member variables
28 // NOLINTBEGIN
32 // NOLINTEND
33
34 public:
35 // prevent constructor by default
36 VanillaWorldChecker& operator=(VanillaWorldChecker const&);
37 VanillaWorldChecker(VanillaWorldChecker const&);
38 VanillaWorldChecker();
39
40 public:
41 // virtual functions
42 // NOLINTBEGIN
43 virtual void onActiveResourcePacksChanged(::ResourcePackManager& mgr) /*override*/;
44
45 virtual void onResourceManagerDestroyed(::ResourcePackManager& mgr) /*override*/;
46
47#ifdef LL_PLAT_S
48 virtual ~VanillaWorldChecker() /*override*/;
49#else // LL_PLAT_C
50 virtual ~VanillaWorldChecker() /*override*/ = default;
51#endif
52
53 // NOLINTEND
54
55 public:
56 // member functions
57 // NOLINTBEGIN
58 MCNAPI void checkWorldData(::Core::Path const& levelPath);
59 // NOLINTEND
60
61 public:
62 // destructor thunk
63 // NOLINTBEGIN
64 MCNAPI void $dtor();
65 // NOLINTEND
66
67 public:
68 // virtual function thunks
69 // NOLINTBEGIN
70#ifdef LL_PLAT_S
71 MCNAPI void $onActiveResourcePacksChanged(::ResourcePackManager& mgr);
72
74#endif
75
76
77 // NOLINTEND
78 };
79
80public:
81 // member variables
82 // NOLINTBEGIN
86 // NOLINTEND
87
88public:
89 // prevent constructor by default
90 DebugEndPoint& operator=(DebugEndPoint const&);
91 DebugEndPoint(DebugEndPoint const&);
92 DebugEndPoint();
93
94public:
95 // virtual functions
96 // NOLINTBEGIN
97 virtual void log(::LogArea const area, ::LogLevel const level, char const* message) /*override*/;
98
99 virtual void flush() /*override*/;
100
101 virtual void setEnabled(bool newState) /*override*/;
102
103 virtual bool isEnabled() const /*override*/;
104
105 virtual bool logOnlyOnce() const /*override*/;
106
107 virtual void contentAssert(::LogArea const area, ::LogLevel const level, char const* message);
108
109#ifdef LL_PLAT_S
110 virtual ~DebugEndPoint() /*override*/;
111#else // LL_PLAT_C
112 virtual ~DebugEndPoint() /*override*/ = default;
113#endif
114
115 // NOLINTEND
116
117public:
118 // member functions
119 // NOLINTBEGIN
120
121 // NOLINTEND
122
123public:
124 // static variables
125 // NOLINTBEGIN
126 MCNAPI static ::std::unordered_map<::LogArea, bool> const& mAssertAreas();
127 // NOLINTEND
128
129public:
130 // constructor thunks
131 // NOLINTBEGIN
132 MCNAPI_S void* $ctor(::std::optional<::LogLevel> minLogLevel);
133 // NOLINTEND
134
135public:
136 // destructor thunk
137 // NOLINTBEGIN
138 MCNAPI void $dtor();
139 // NOLINTEND
140
141public:
142 // virtual function thunks
143 // NOLINTBEGIN
144#ifdef LL_PLAT_S
145 MCNAPI void $log(::LogArea const area, ::LogLevel const level, char const* message);
146
147 MCNAPI void $flush();
148
149 MCNAPI void $setEnabled(bool newState);
150
151 MCNAPI bool $isEnabled() const;
152
153 MCNAPI bool $logOnlyOnce() const;
154
155 MCNAPI void $contentAssert(::LogArea const area, ::LogLevel const level, char const* message);
156#endif
157
158
159 // NOLINTEND
160};
Definition ContentLogEndPoint.h:11
MCAPI void $log(char const *message)
Definition Path.h:10
Definition DebugEndPoint.h:25
MCAPI void checkWorldData(::Core::Path const &levelPath)
MCAPI void $dtor()
static MCAPI ::std::unordered_map<::LogArea, bool > const & mAssertAreas()
Definition ResourcePackListener.h:10
MCAPI void $onResourceManagerDestroyed(::ResourcePackManager &mgr)
Definition ResourcePackManager.h:29
Definition Alias.h:14