LeviLamina
Loading...
Searching...
No Matches
ScriptInventoryComponent.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/scripting/binding_type/ClassBindingBuilder.h"
7#include "mc/deps/scripting/lifetime_registry/StrongTypedObjectHandle.h"
8#include "mc/deps/scripting/lifetime_registry/WeakTypedObjectHandle.h"
9#include "mc/deps/scripting/runtime/Result_deprecated.h"
10#include "mc/scripting/modules/minecraft/components/ScriptActorComponent.h"
11
12// auto generated forward declare list
13// clang-format off
14namespace ScriptModuleMinecraft { class ScriptComponentTypeEnumBuilder; }
15namespace ScriptModuleMinecraft { class ScriptContainerWrapper; }
16namespace ScriptModuleMinecraft { class ScriptInventoryComponentContainer; }
17// clang-format on
18
19namespace ScriptModuleMinecraft {
20
22public:
23 // member variables
24 // NOLINTBEGIN
26 // NOLINTEND
27
28public:
29 // prevent constructor by default
32
33public:
34 // virtual functions
35 // NOLINTBEGIN
36 // vIndex: 1
37 virtual bool _isValid() const /*override*/;
38
39 // vIndex: 0
40 virtual ~ScriptInventoryComponent() /*override*/ = default;
41 // NOLINTEND
42
43public:
44 // member functions
45 // NOLINTBEGIN
47
48 MCAPI ::Scripting::Result_deprecated<int> getAdditionalSlotsPerStrength() const;
49
50 MCAPI ::Scripting::Result_deprecated<bool> getCanBeSiphonedFrom() const;
51
52 MCAPI ::Scripting::Result_deprecated<::std::string> getContainerType() const;
53
54 MCAPI ::Scripting::Result_deprecated<int> getInventorySize() const;
55
56 MCAPI ::Scripting::Result_deprecated<
57 ::std::optional<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptContainerWrapper>>>
58 getOrCreateContainer();
59
60 MCAPI ::Scripting::Result_deprecated<
62 getOrCreateContainerV010();
63
64 MCAPI ::Scripting::Result_deprecated<bool> getPrivate() const;
65
66 MCAPI ::Scripting::Result_deprecated<bool> getRestrictToOwner() const;
67 // NOLINTEND
68
69public:
70 // static functions
71 // NOLINTBEGIN
72 MCAPI static ::Scripting::ClassBindingBuilder<::ScriptModuleMinecraft::ScriptInventoryComponent>
73 bind(::ScriptModuleMinecraft::ScriptComponentTypeEnumBuilder& componentTypeEnumBuilder);
74 // NOLINTEND
75
76public:
77 // static variables
78 // NOLINTBEGIN
79 MCAPI static char const*& ComponentId();
80 // NOLINTEND
81
82public:
83 // constructor thunks
84 // NOLINTBEGIN
86 // NOLINTEND
87
88public:
89 // destructor thunk
90 // NOLINTBEGIN
91
92 // NOLINTEND
93
94public:
95 // virtual function thunks
96 // NOLINTBEGIN
97 MCAPI bool $_isValid() const;
98 // NOLINTEND
99
100public:
101 // vftables
102 // NOLINTBEGIN
103 MCAPI static void** $vftable();
104 // NOLINTEND
105};
106
107} // namespace ScriptModuleMinecraft
Definition ScriptActorComponent.h:19
Definition ScriptComponentTypeEnumBuilder.h:16
Definition ScriptInventoryComponent.h:21
Definition WeakTypedObjectHandle.h:8
Definition Alias.h:14