LeviLamina
Loading...
Searching...
No Matches
AttributeScriptActorComponent.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/scripting/runtime/Result.h"
7#include "mc/deps/scripting/runtime/Result_deprecated.h"
8#include "mc/scripting/modules/minecraft/components/ScriptActorComponent.h"
9
10// auto generated forward declare list
11// clang-format off
12namespace ScriptModuleMinecraft { struct ScriptInvalidActorError; }
13namespace Scripting { struct ArgumentOutOfBoundsError; }
14namespace Scripting { struct ClassBinding; }
15// clang-format on
16
17namespace ScriptModuleMinecraft {
18
20public:
21 // member variables
22 // NOLINTBEGIN
24 // NOLINTEND
25
26public:
27 // prevent constructor by default
31
32public:
33 // virtual functions
34 // NOLINTBEGIN
35 // vIndex: 0
36 virtual ~AttributeScriptActorComponent() /*override*/ = default;
37
38 // vIndex: 4
39 virtual ::Scripting::Result_deprecated<float> getCurrent() const;
40
41 // vIndex: 5
42 virtual ::Scripting::Result_deprecated<bool> setCurrent(float const& value) const;
43
44 // vIndex: 6
45 virtual ::Scripting::
46 Result<bool, ::ScriptModuleMinecraft::ScriptInvalidActorError, ::Scripting::ArgumentOutOfBoundsError>
47 setCurrentV2(float const& value) const;
48
49 // vIndex: 7
50 virtual ::Scripting::Result_deprecated<float> getValue() const;
51
52 // vIndex: 8
53 virtual ::Scripting::Result_deprecated<float> getEffectiveMinValue() const;
54
55 // vIndex: 9
56 virtual ::Scripting::Result_deprecated<float> getEffectiveMaxValue() const;
57
58 // vIndex: 10
59 virtual ::Scripting::Result_deprecated<void> resetToMinValue() const;
60
61 // vIndex: 11
62 virtual ::Scripting::Result_deprecated<void> resetToMaxValue() const;
63
64 // vIndex: 12
65 virtual ::Scripting::Result_deprecated<void> resetToDefaultValue() const;
66
67 // vIndex: 3
68 virtual bool _isValid() const /*override*/;
69 // NOLINTEND
70
71public:
72 // static functions
73 // NOLINTBEGIN
74 MCNAPI static ::Scripting::ClassBinding bind();
75 // NOLINTEND
76
77public:
78 // virtual function thunks
79 // NOLINTBEGIN
80 MCNAPI ::Scripting::Result_deprecated<float> $getCurrent() const;
81
82 MCNAPI ::Scripting::Result_deprecated<bool> $setCurrent(float const& value) const;
83
84 MCNAPI ::Scripting::
85 Result<bool, ::ScriptModuleMinecraft::ScriptInvalidActorError, ::Scripting::ArgumentOutOfBoundsError>
86 $setCurrentV2(float const& value) const;
87
88 MCNAPI ::Scripting::Result_deprecated<float> $getValue() const;
89
90 MCNAPI ::Scripting::Result_deprecated<float> $getEffectiveMinValue() const;
91
92 MCNAPI ::Scripting::Result_deprecated<float> $getEffectiveMaxValue() const;
93
94 MCNAPI ::Scripting::Result_deprecated<void> $resetToMinValue() const;
95
96 MCNAPI ::Scripting::Result_deprecated<void> $resetToMaxValue() const;
97
98 MCNAPI ::Scripting::Result_deprecated<void> $resetToDefaultValue() const;
99
100 MCNAPI bool $_isValid() const;
101 // NOLINTEND
102
103public:
104 // vftables
105 // NOLINTBEGIN
106 MCNAPI static void** $vftable();
107 // NOLINTEND
108};
109
110} // namespace ScriptModuleMinecraft
Definition AttributeScriptActorComponent.h:19
MCAPI ::Scripting::Result_deprecated< float > $getCurrent() const
MCAPI ::Scripting::Result_deprecated< void > $resetToMinValue() const
static MCAPI ::Scripting::ClassBinding bind()
MCAPI ::Scripting::Result_deprecated< void > $resetToMaxValue() const
MCAPI ::Scripting::Result_deprecated< bool > $setCurrent(float const &value) const
MCAPI ::Scripting::Result_deprecated< float > $getEffectiveMaxValue() const
MCAPI ::Scripting::Result< bool, ::ScriptModuleMinecraft::ScriptInvalidActorError, ::Scripting::ArgumentOutOfBoundsError > $setCurrentV2(float const &value) const
MCAPI ::Scripting::Result_deprecated< float > $getEffectiveMinValue() const
MCAPI ::Scripting::Result_deprecated< void > $resetToDefaultValue() const
MCAPI ::Scripting::Result_deprecated< float > $getValue() const
Definition ScriptActorComponent.h:21
Definition Alias.h:14