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
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
27 // NOLINTEND
28
29public:
30 // prevent constructor by default
31 ScriptStat(ScriptStat const&);
32 ScriptStat();
33
34public:
35 // member functions
36 // NOLINTBEGIN
37 MCNAPI ScriptStat(
38 ::std::string name,
39 int64 value,
40 ::std::optional<::ScriptStat::Type> type,
41 ::std::optional<::std::vector<::ScriptStat>> children
42 );
43
44 MCNAPI ScriptStat(
45 ::std::string name,
46 ::std::optional<::std::vector<int64>> values,
47 ::std::optional<::ScriptStat::Type> type,
48 ::std::optional<::std::vector<::ScriptStat>> children
49 );
50
51 MCNAPI ::ScriptStat& addChild(::ScriptStat&& child);
52
53 MCNAPI ::ScriptStat& operator=(::ScriptStat const&);
54
55 MCNAPI ::ScriptStat& operator=(::ScriptStat&&);
56
57 MCNAPI ~ScriptStat();
58 // NOLINTEND
59
60public:
61 // static functions
62 // NOLINTBEGIN
63 MCNAPI static void bindType(::cereal::ReflectionCtx& ctx);
64 // NOLINTEND
65
66public:
67 // constructor thunks
68 // NOLINTBEGIN
69 MCNAPI void* $ctor(
70 ::std::string name,
71 int64 value,
72 ::std::optional<::ScriptStat::Type> type,
73 ::std::optional<::std::vector<::ScriptStat>> children
74 );
75
76 MCNAPI void* $ctor(
77 ::std::string name,
78 ::std::optional<::std::vector<int64>> values,
79 ::std::optional<::ScriptStat::Type> type,
80 ::std::optional<::std::vector<::ScriptStat>> children
81 );
82 // NOLINTEND
83
84public:
85 // destructor thunk
86 // NOLINTBEGIN
87 MCNAPI void $dtor();
88 // NOLINTEND
89};
Definition ScriptStat.h:10
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)
static MCAPI void bindType(::cereal::ReflectionCtx &ctx)
MCAPI ScriptStat(::std::string name, ::std::optional<::std::vector< int64 > > values, ::std::optional<::ScriptStat::Type > type, ::std::optional<::std::vector<::ScriptStat > > children)
Definition ReflectionCtx.h:11
Definition ctx.h:5
Definition Alias.h:14