LeviLamina
Loading...
Searching...
No Matches
ScriptBreathableComponent.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/scripting/lifetime_registry/StrongTypedObjectHandle.h"
7#include "mc/deps/scripting/runtime/Result_deprecated.h"
8#include "mc/scripting/modules/minecraft/components/ECSScriptActorComponent.h"
9
10// auto generated forward declare list
11// clang-format off
14namespace ScriptModuleMinecraft { class ScriptBlockPermutation; }
15namespace Scripting { struct ClassBinding; }
16// clang-format on
17
18namespace ScriptModuleMinecraft {
19
21: public ::ScriptModuleMinecraft::ECSScriptActorComponent<::BreathableComponent, ::BreathableDefinition> {
22public:
23 // virtual functions
24 // NOLINTBEGIN
25 virtual ~ScriptBreathableComponent() /*override*/ = default;
26 // NOLINTEND
27
28public:
29 // member functions
30 // NOLINTBEGIN
31 MCAPI ::Scripting::Result_deprecated<short> getAirSupply() const;
32
33 MCAPI ::Scripting::Result_deprecated<
34 ::std::vector<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptBlockPermutation>>>
35 getBreatheBlocks() const;
36
37 MCAPI ::Scripting::Result_deprecated<bool> getBreathesAir() const;
38
39 MCAPI ::Scripting::Result_deprecated<bool> getBreathesLava() const;
40
41 MCAPI ::Scripting::Result_deprecated<bool> getBreathesSolids() const;
42
43 MCAPI ::Scripting::Result_deprecated<bool> getBreathesWater() const;
44
45 MCAPI ::Scripting::Result_deprecated<bool> getCanBreathe() const;
46
47 MCAPI ::Scripting::Result_deprecated<bool> getGeneratesBubbles() const;
48
49 MCAPI ::Scripting::Result_deprecated<float> getInhaleTime() const;
50
51 MCAPI ::Scripting::Result_deprecated<
52 ::std::vector<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptBlockPermutation>>>
53 getNonBreatheBlocks() const;
54
55 MCAPI ::Scripting::Result_deprecated<int> getSuffocateTime() const;
56
57 MCAPI ::Scripting::Result_deprecated<int> getTotalSupply() const;
58
59 MCAPI ::Scripting::Result_deprecated<void> setAirSupply(short value) const;
60 // NOLINTEND
61
62public:
63 // static functions
64 // NOLINTBEGIN
65 MCAPI static ::Scripting::ClassBinding bind();
66 // NOLINTEND
67
68public:
69 // vftables
70 // NOLINTBEGIN
71 MCNAPI static void** $vftable();
72 // NOLINTEND
73};
74
75} // namespace ScriptModuleMinecraft
Definition BreathableComponent.h:11
Definition BreathableDefinition.h:16
Definition ECSScriptActorComponent.h:8
Definition ScriptBlockPermutation.h:24
Definition ScriptBreathableComponent.h:21
Definition ClassBinding.h:19