LeviLamina
Loading...
Searching...
No Matches
ScriptStat.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7namespace cereal { struct ReflectionCtx; }
8// clang-format on
9
10class ScriptStat {
11public:
12 // ScriptStat inner types define
13 enum class Type : uint {
14 Bytes = 0,
15 Milliseconds = 1,
16 Microseconds = 2,
17 BiasedPercent = 3,
18 };
19
20public:
21 // member variables
22 // NOLINTBEGIN
28 // NOLINTEND
29
30public:
31 // prevent constructor by default
32 ScriptStat(ScriptStat const&);
33 ScriptStat();
34
35public:
36 // member functions
37 // NOLINTBEGIN
38 MCNAPI ScriptStat(::ScriptStat&&);
39
40 MCNAPI ScriptStat(
41 ::std::string name,
42 ::std::variant<int64, ::std::string> value,
43 ::std::optional<::ScriptStat::Type> type,
44 ::std::optional<::std::vector<::ScriptStat>> children
45 );
46
47 MCNAPI ScriptStat(
48 ::std::string name,
49 ::std::optional<::std::vector<::std::variant<int64, ::std::string>>> values,
50 ::std::optional<::ScriptStat::Type> type,
51 ::std::optional<::std::vector<::ScriptStat>> children
52 );
53
54 MCNAPI ::ScriptStat& addChild(::ScriptStat&& child);
55
56 MCNAPI ::ScriptStat& operator=(::ScriptStat&&);
57
58 MCNAPI ::ScriptStat& operator=(::ScriptStat const&);
59
60 MCNAPI void reserveSize(uint64 size);
61
62 MCNAPI void setValues(::std::vector<::std::variant<int64, ::std::string>>&& values);
63
64 MCNAPI ~ScriptStat();
65 // NOLINTEND
66
67public:
68 // static functions
69 // NOLINTBEGIN
70 MCNAPI static void bindType(::cereal::ReflectionCtx& ctx);
71 // NOLINTEND
72
73public:
74 // constructor thunks
75 // NOLINTBEGIN
76 MCNAPI void* $ctor(::ScriptStat&&);
77
78 MCNAPI void* $ctor(
79 ::std::string name,
80 ::std::variant<int64, ::std::string> value,
81 ::std::optional<::ScriptStat::Type> type,
82 ::std::optional<::std::vector<::ScriptStat>> children
83 );
84
85 MCNAPI void* $ctor(
86 ::std::string name,
87 ::std::optional<::std::vector<::std::variant<int64, ::std::string>>> values,
88 ::std::optional<::ScriptStat::Type> type,
89 ::std::optional<::std::vector<::ScriptStat>> children
90 );
91 // NOLINTEND
92
93public:
94 // destructor thunk
95 // NOLINTBEGIN
96 MCNAPI void $dtor();
97 // NOLINTEND
98};
MCAPI ScriptStat(::std::string name, ::std::variant< int64, ::std::string > value, ::std::optional<::ScriptStat::Type > type, ::std::optional<::std::vector<::ScriptStat > > children)
MCAPI void * $ctor(::std::string name, ::std::optional<::std::vector<::std::variant< int64, ::std::string > > > values, ::std::optional<::ScriptStat::Type > type, ::std::optional<::std::vector<::ScriptStat > > children)
MCAPI::ScriptStat & operator=(::ScriptStat const &)
MCAPI ScriptStat(::ScriptStat &&)
MCAPI void * $ctor(::ScriptStat &&)
MCAPI ~ScriptStat()
MCAPI::ScriptStat & operator=(::ScriptStat &&)
MCAPI ScriptStat(::std::string name, ::std::optional<::std::vector<::std::variant< int64, ::std::string > > > values, ::std::optional<::ScriptStat::Type > type, ::std::optional<::std::vector<::ScriptStat > > children)
MCAPI void * $ctor(::std::string name, ::std::variant< int64, ::std::string > value, ::std::optional<::ScriptStat::Type > type, ::std::optional<::std::vector<::ScriptStat > > children)
MCAPI void $dtor()
MCAPI void reserveSize(uint64 size)
MCAPI void setValues(::std::vector<::std::variant< int64, ::std::string > > &&values)
MCAPI::ScriptStat & addChild(::ScriptStat &&child)
static MCAPI void bindType(::cereal::ReflectionCtx &ctx)
Definition ReflectionCtx.h:11
Definition ctx.h:5
Definition Alias.h:14