LeviLamina
Loading...
Searching...
No Matches
CallStack.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/diagnostics/LogAreaID.h"
7
#include "mc/diagnostics/LogLevel.h"
8
9
namespace
Bedrock {
10
11
struct
CallStack
{
12
public
:
13
// CallStack inner types declare
14
// clang-format off
15
struct
Context
;
16
struct
Frame
;
17
struct
FrameWithContext
;
18
// clang-format on
19
20
// CallStack inner types define
21
struct
Frame
{
22
public
:
23
// member variables
24
// NOLINTBEGIN
25
uint64 mFilenameHash;
26
::std::string_view mFilename;
27
uint mLine;
28
// NOLINTEND
29
};
30
31
struct
Context
{
32
public
:
33
// member variables
34
// NOLINTBEGIN
35
::std::string mValue;
36
::std::optional<::Bedrock::LogLevel> mLogLevel;
37
::std::optional<::LogAreaID> mLogArea;
38
// NOLINTEND
39
};
40
41
struct
FrameWithContext
{
42
public
:
43
// member variables
44
// NOLINTBEGIN
45
::Bedrock::CallStack::Frame
mFrame;
46
::std::optional<::Bedrock::CallStack::Context> mContext;
47
// NOLINTEND
48
49
public
:
50
FrameWithContext
& operator=(
FrameWithContext
const
&) =
default
;
51
FrameWithContext
(
FrameWithContext
const
&) =
default
;
52
53
// prevent constructor by default
54
FrameWithContext
();
55
56
public
:
57
// member functions
58
// NOLINTBEGIN
59
MCAPI
60
FrameWithContext
(
::Bedrock::CallStack::Frame
&& frame, ::std::optional<::Bedrock::CallStack::Context>&&
context
);
61
MCAPI
~FrameWithContext
();
62
// NOLINTEND
63
64
public
:
65
// constructor thunks
66
// NOLINTBEGIN
67
MCAPI
void
*
68
$ctor(
::Bedrock::CallStack::Frame
&& frame, ::std::optional<::Bedrock::CallStack::Context>&&
context
);
69
// NOLINTEND
70
71
public
:
72
// destructor thunk
73
// NOLINTBEGIN
74
MCFOLD
void
$dtor();
75
// NOLINTEND
76
};
77
78
public
:
79
// member variables
80
// NOLINTBEGIN
81
::std::vector<::Bedrock::CallStack::FrameWithContext> mFrames;
82
// NOLINTEND
83
84
public
:
85
// member functions
86
// NOLINTBEGIN
87
MCAPI
explicit
CallStack
(
::Bedrock::CallStack::FrameWithContext
&& frame);
88
89
MCAPI
~CallStack
();
90
// NOLINTEND
91
92
public
:
93
// constructor thunks
94
// NOLINTBEGIN
95
MCAPI
void
* $ctor(
::Bedrock::CallStack::FrameWithContext
&& frame);
96
// NOLINTEND
97
98
public
:
99
// destructor thunk
100
// NOLINTBEGIN
101
MCFOLD
void
$dtor();
102
// NOLINTEND
103
};
104
105
}
// namespace Bedrock
Bedrock::CallStack::Context
Definition
CallStack.h:31
Bedrock::CallStack::FrameWithContext
Definition
CallStack.h:41
Bedrock::CallStack::Frame
Definition
CallStack.h:21
Bedrock::CallStack
Definition
CallStack.h:11
context
Definition
context.h:5
src-server
mc
platform
CallStack.h
Generated on Tue Nov 25 2025 04:01:20 for LeviLamina by
1.12.0