LeviLamina
Loading...
Searching...
No Matches
GuiContentLogEndPoint.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/deps/core/utility/NonOwnerPointer.h"
10
11// auto generated forward declare list
12// clang-format off
13class GuiData;
14namespace Bedrock::Memory { struct MoodyCamelBedrockMemoryTraits; }
15// clang-format on
16
18public:
19 // member variables
20 // NOLINTBEGIN
21 ::ll::TypedStorage<1, 1, bool> mEnabled;
22 ::ll::TypedStorage<4, 8, ::std::optional<::LogLevel>> mLogLevel;
23 ::ll::TypedStorage<
24 8,
25 616,
26 ::moodycamel::
27 ConcurrentQueue<::std::pair<::std::string, ::LogLevel>, ::Bedrock::Memory::MoodyCamelBedrockMemoryTraits>>
28 mMessages;
29 // NOLINTEND
30
31public:
32 // prevent constructor by default
33 GuiContentLogEndPoint();
34
35public:
36 // virtual functions
37 // NOLINTBEGIN
38 virtual ~GuiContentLogEndPoint() /*override*/;
39
40 virtual void log(::LogArea const area, ::LogLevel const level, char const* message) /*override*/;
41
42 virtual void setEnabled(bool newState) /*override*/;
43
44 virtual bool isEnabled() const /*override*/;
45
46 virtual void flush() /*override*/;
47
48 virtual bool logOnlyOnce() const /*override*/;
49 // NOLINTEND
50
51public:
52 // member functions
53 // NOLINTBEGIN
54 MCAPI explicit GuiContentLogEndPoint(::std::optional<::LogLevel> logLevel);
55
56 MCAPI bool getLogMessage(::std::string& message, ::LogLevel& level);
57
58 MCAPI bool pushMessagesToUI(::Bedrock::NotNullNonOwnerPtr<::GuiData> const& guiData);
59
60 MCAPI void setLogLevel(::LogLevel level);
61 // NOLINTEND
62
63public:
64 // constructor thunks
65 // NOLINTBEGIN
66 MCAPI void* $ctor(::std::optional<::LogLevel> logLevel);
67 // NOLINTEND
68
69public:
70 // destructor thunk
71 // NOLINTBEGIN
72 MCAPI void $dtor();
73 // NOLINTEND
74
75public:
76 // virtual function thunks
77 // NOLINTBEGIN
78 MCAPI void $log(::LogArea const area, ::LogLevel const level, char const* message);
79
80 MCAPI void $setEnabled(bool newState);
81
82 MCFOLD bool $isEnabled() const;
83
84 MCFOLD void $flush();
85
86 MCFOLD bool $logOnlyOnce() const;
87 // NOLINTEND
88
89public:
90 // vftables
91 // NOLINTBEGIN
92 MCNAPI static void** $vftableForLogEndPoint();
93
95 // NOLINTEND
96};
Definition ContentLogEndPoint.h:17
Definition GuiContentLogEndPoint.h:5
static MCAPI void ** $vftableForLogEndPoint()
static MCAPI void ** $vftableForEnableNonOwnerReferences()
Definition GuiData.h:5
Definition MoodyCamelBedrockMemoryTraits.h:7