LeviLamina
Loading...
Searching...
No Matches
ScriptHealthComponent.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/scripting/runtime/Result_deprecated.h"
7#include "mc/scripting/modules/minecraft/components/AttributeScriptActorComponent.h"
8
9// auto generated forward declare list
10// clang-format off
11namespace ScriptModuleMinecraft { class ScriptComponentTypeEnumBuilder; }
12namespace Scripting { struct ClassBinding; }
13// clang-format on
14
15namespace ScriptModuleMinecraft {
16
18public:
19 // virtual functions
20 // NOLINTBEGIN
21 // vIndex: 5
22 virtual ::Scripting::Result_deprecated<bool> setCurrent(float const& value) const /*override*/;
23
24 // vIndex: 9
25 virtual ::Scripting::Result_deprecated<void> resetToMinValue() const /*override*/;
26
27 // vIndex: 10
28 virtual ::Scripting::Result_deprecated<void> resetToMaxValue() const /*override*/;
29
30 // vIndex: 11
31 virtual ::Scripting::Result_deprecated<void> resetToDefaultValue() const /*override*/;
32
33 // vIndex: 0
34 virtual ~ScriptHealthComponent() /*override*/ = default;
35 // NOLINTEND
36
37public:
38 // member functions
39 // NOLINTBEGIN
40 MCNAPI void notifyHealthChange(float oldValue, float newValue) const;
41 // NOLINTEND
42
43public:
44 // static functions
45 // NOLINTBEGIN
46 MCNAPI static ::Scripting::ClassBinding
48 // NOLINTEND
49
50public:
51 // static variables
52 // NOLINTBEGIN
53 MCNAPI static char const*& ComponentId();
54 // NOLINTEND
55
56public:
57 // virtual function thunks
58 // NOLINTBEGIN
59 MCNAPI ::Scripting::Result_deprecated<bool> $setCurrent(float const& value) const;
60
61 MCNAPI ::Scripting::Result_deprecated<void> $resetToMinValue() const;
62
63 MCNAPI ::Scripting::Result_deprecated<void> $resetToMaxValue() const;
64
65 MCNAPI ::Scripting::Result_deprecated<void> $resetToDefaultValue() const;
66 // NOLINTEND
67
68public:
69 // vftables
70 // NOLINTBEGIN
71 MCNAPI static void** $vftable();
72 // NOLINTEND
73};
74
75} // namespace ScriptModuleMinecraft
Definition AttributeScriptActorComponent.h:16
Definition ScriptComponentTypeEnumBuilder.h:16
Definition ScriptHealthComponent.h:17
MCAPI ::Scripting::Result_deprecated< bool > $setCurrent(float const &value) const
static MCAPI ::Scripting::ClassBinding bind(::ScriptModuleMinecraft::ScriptComponentTypeEnumBuilder &componentTypeEnumBuilder)
static MCAPI char const *& ComponentId()
MCAPI ::Scripting::Result_deprecated< void > $resetToMaxValue() const
MCAPI ::Scripting::Result_deprecated< void > $resetToMinValue() const
MCAPI void notifyHealthChange(float oldValue, float newValue) const
MCAPI ::Scripting::Result_deprecated< void > $resetToDefaultValue() const