LeviLamina
Loading...
Searching...
No Matches
ScriptStat.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5class ScriptStat {
6public:
7 // ScriptStat inner types define
8 enum class Type : uint {
9 Bytes = 0,
10 Milliseconds = 1,
11 Microseconds = 2,
12 BiasedPercent = 3,
13 };
14
15public:
16 // member variables
17 // NOLINTBEGIN
22 // NOLINTEND
23
24public:
25 // prevent constructor by default
26 ScriptStat(ScriptStat const&);
27 ScriptStat();
28
29public:
30 // member functions
31 // NOLINTBEGIN
32 MCNAPI ScriptStat(
33 ::std::string name,
34 int64 value,
35 ::std::optional<::ScriptStat::Type> type,
36 ::std::optional<::std::vector<::ScriptStat>> children
37 );
38
39 MCNAPI ScriptStat(
40 ::std::string name,
41 ::std::optional<::std::vector<int64>> values,
42 ::std::optional<::ScriptStat::Type> type,
43 ::std::optional<::std::vector<::ScriptStat>> children
44 );
45
46 MCNAPI ::ScriptStat& addChild(::ScriptStat&& child);
47
48 MCNAPI ::ScriptStat& operator=(::ScriptStat const&);
49
50 MCNAPI ::ScriptStat& operator=(::ScriptStat&&);
51
52 MCNAPI ~ScriptStat();
53 // NOLINTEND
54
55public:
56 // constructor thunks
57 // NOLINTBEGIN
58 MCNAPI void* $ctor(
59 ::std::string name,
60 int64 value,
61 ::std::optional<::ScriptStat::Type> type,
62 ::std::optional<::std::vector<::ScriptStat>> children
63 );
64
65 MCNAPI void* $ctor(
66 ::std::string name,
67 ::std::optional<::std::vector<int64>> values,
68 ::std::optional<::ScriptStat::Type> type,
69 ::std::optional<::std::vector<::ScriptStat>> children
70 );
71 // NOLINTEND
72
73public:
74 // destructor thunk
75 // NOLINTBEGIN
76 MCNAPI void $dtor();
77 // NOLINTEND
78};
Definition ScriptStat.h:5
MCAPI::ScriptStat & operator=(::ScriptStat const &)
MCAPI ScriptStat(::std::string name, int64 value, ::std::optional<::ScriptStat::Type > type, ::std::optional<::std::vector<::ScriptStat > > children)
MCAPI ~ScriptStat()
MCAPI void * $ctor(::std::string name, ::std::optional<::std::vector< int64 > > values, ::std::optional<::ScriptStat::Type > type, ::std::optional<::std::vector<::ScriptStat > > children)
MCAPI void * $ctor(::std::string name, int64 value, ::std::optional<::ScriptStat::Type > type, ::std::optional<::std::vector<::ScriptStat > > children)
MCAPI::ScriptStat & operator=(::ScriptStat &&)
MCAPI void $dtor()
MCAPI::ScriptStat & addChild(::ScriptStat &&child)
MCAPI ScriptStat(::std::string name, ::std::optional<::std::vector< int64 > > values, ::std::optional<::ScriptStat::Type > type, ::std::optional<::std::vector<::ScriptStat > > children)
Definition Alias.h:14