LeviLamina
Loading...
Searching...
No Matches
ScriptDiagnostics.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated forward declare list
6
// clang-format off
7
class
IScriptStatPublisher
;
8
class
ScriptStat
;
9
// clang-format on
10
11
class
ScriptDiagnostics
{
12
public
:
13
// ScriptDiagnostics inner types declare
14
// clang-format off
15
struct
StatCollector
;
16
// clang-format on
17
18
// ScriptDiagnostics inner types define
19
struct
StatCollector
{
20
public
:
21
// member variables
22
// NOLINTBEGIN
23
::ll::UntypedStorage<8, 8>
mUnk111635;
24
::ll::UntypedStorage<8, 8>
mUnk330bb2;
25
::ll::UntypedStorage<8, 8>
mUnk9833da;
26
::ll::UntypedStorage<8, 64>
mUnkda8182;
27
::ll::UntypedStorage<8, 64>
mUnk526e97;
28
::ll::UntypedStorage<8, 64>
mUnk5a105d;
29
::ll::UntypedStorage<8, 64>
mUnk71ca5e;
30
// NOLINTEND
31
32
public
:
33
// prevent constructor by default
34
StatCollector
& operator=(
StatCollector
const
&);
35
StatCollector
(
StatCollector
const
&);
36
StatCollector
();
37
38
public
:
39
// member functions
40
// NOLINTBEGIN
41
MCAPI
StatCollector
(
::ScriptDiagnostics::StatCollector
&&);
42
43
MCAPI
~StatCollector
();
44
// NOLINTEND
45
46
public
:
47
// constructor thunks
48
// NOLINTBEGIN
49
MCAPI
void
* $ctor(
::ScriptDiagnostics::StatCollector
&&);
50
// NOLINTEND
51
52
public
:
53
// destructor thunk
54
// NOLINTBEGIN
55
MCAPI
void
$dtor();
56
// NOLINTEND
57
};
58
59
public
:
60
// member variables
61
// NOLINTBEGIN
62
::ll::UntypedStorage<8, 24>
mUnkfdf97e;
63
::ll::UntypedStorage<8, 24>
mUnke91e55;
64
::ll::UntypedStorage<8, 24>
mUnkac288c;
65
::ll::UntypedStorage<1, 1>
mUnk145097;
66
// NOLINTEND
67
68
public
:
69
// prevent constructor by default
70
ScriptDiagnostics
& operator=(
ScriptDiagnostics
const
&);
71
ScriptDiagnostics
(
ScriptDiagnostics
const
&);
72
ScriptDiagnostics
();
73
74
public
:
75
// member functions
76
// NOLINTBEGIN
77
MCAPI
void
addStatCollector(
78
uint64 collectionTickFrequency,
79
::std::function<::std::optional<::ScriptStat>(uint64, uint64, uint64)> collectorFn,
80
::std::function<
void
()> enableFn,
81
::std::function<
void
()> disableFn,
82
::std::function<
void
(
bool
)> reloadFn
83
);
84
85
MCAPI
void
collectStats(uint64 currentTick);
86
87
MCAPI
~ScriptDiagnostics
();
88
// NOLINTEND
89
90
public
:
91
// destructor thunk
92
// NOLINTBEGIN
93
MCAPI
void
$dtor();
94
// NOLINTEND
95
};
IScriptStatPublisher
Definition
IScriptStatPublisher.h:10
ScriptDiagnostics
Definition
ScriptDiagnostics.h:11
ScriptStat
Definition
ScriptStat.h:5
ScriptDiagnostics::StatCollector
Definition
ScriptDiagnostics.h:19
ll::UntypedStorage
Definition
Alias.h:14
src
mc
scripting
diagnostics
ScriptDiagnostics.h
Generated on Sat Apr 26 2025 05:55:50 for LeviLamina by
1.12.0