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#ifdef LL_PLAT_S
44 virtual void onActiveResourcePacksChanged(::ResourcePackManager& mgr) /*override*/;
45#else // LL_PLAT_C
46 virtual void onActiveResourcePacksChanged(::ResourcePackManager&) /*override*/;
47#endif
48
49#ifdef LL_PLAT_S
50 virtual void onResourceManagerDestroyed(::ResourcePackManager& mgr) /*override*/;
51#else // LL_PLAT_C
52 virtual void onResourceManagerDestroyed(::ResourcePackManager&) /*override*/;
53#endif
54
55 // NOLINTEND
56
57 public:
58 // member functions
59 // NOLINTBEGIN
60 MCNAPI void checkWorldData(::Core::Path const& levelPath);
61 // NOLINTEND
62
63 public:
64 // virtual function thunks
65 // NOLINTBEGIN
66#ifdef LL_PLAT_S
67 MCNAPI void $onActiveResourcePacksChanged(::ResourcePackManager& mgr);
68
70#endif
71
72
73 // NOLINTEND
74 };
75
76public:
77 // member variables
78 // NOLINTBEGIN
82 // NOLINTEND
83
84public:
85 // prevent constructor by default
86 DebugEndPoint& operator=(DebugEndPoint const&);
87 DebugEndPoint(DebugEndPoint const&);
88 DebugEndPoint();
89
90public:
91 // virtual functions
92 // NOLINTBEGIN
93#ifdef LL_PLAT_S
94 virtual void log(::LogArea const area, ::LogLevel const level, char const* message) /*override*/;
95#else // LL_PLAT_C
96 virtual void log(::LogArea const, ::LogLevel const, char const*) /*override*/;
97#endif
98
99 virtual void flush() /*override*/;
100
101#ifdef LL_PLAT_S
102 virtual void setEnabled(bool newState) /*override*/;
103#else // LL_PLAT_C
104 virtual void setEnabled(bool) /*override*/;
105#endif
106
107 virtual bool isEnabled() const /*override*/;
108
109 virtual bool logOnlyOnce() const /*override*/;
110
111 virtual void contentAssert(::LogArea const, ::LogLevel const, char const*);
112 // NOLINTEND
113
114public:
115 // member functions
116 // NOLINTBEGIN
117#ifdef LL_PLAT_S
118 MCNAPI explicit DebugEndPoint(::std::optional<::LogLevel> minLogLevel);
119#endif
120
122 // NOLINTEND
123
124public:
125 // static variables
126 // NOLINTBEGIN
127 MCNAPI static ::std::unordered_map<::LogArea, bool> const& mAssertAreas();
128 // NOLINTEND
129
130public:
131 // constructor thunks
132 // NOLINTBEGIN
133#ifdef LL_PLAT_S
134 MCNAPI void* $ctor(::std::optional<::LogLevel> minLogLevel);
135#endif
136 // NOLINTEND
137
138public:
139 // virtual function thunks
140 // NOLINTBEGIN
141#ifdef LL_PLAT_S
142 MCNAPI void $log(::LogArea const area, ::LogLevel const level, char const* message);
143
144 MCNAPI void $flush();
145
146 MCNAPI void $setEnabled(bool newState);
147
148 MCNAPI bool $isEnabled() const;
149
150 MCNAPI bool $logOnlyOnce() const;
151
152 MCNAPI void $contentAssert(::LogArea const, ::LogLevel const, char const*);
153#endif
154
155
156 // NOLINTEND
157};
MCAPI void $log(char const *)
MCAPI ContentLogEndPoint()
MCAPI void * $ctor()
Definition Path.h:12
Definition DebugEndPoint.h:25
MCAPI void checkWorldData(::Core::Path const &levelPath)
static MCAPI ::std::unordered_map<::LogArea, bool > const & mAssertAreas()
MCAPI void initializeContentLogging(::ResourcePackManager &mgr, ::Core::Path const &levelPath)
Definition ResourcePackListener.h:10
MCAPI void $onResourceManagerDestroyed(::ResourcePackManager &mgr)
Definition ResourcePackManager.h:35
Definition Alias.h:14