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/lifetime_registry/StrongObjectHandle.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.h"
10#include "mc/deps/scripting/runtime/Result_deprecated.h"
11#include "mc/scripting/modules/minecraft/components/ScriptActorComponent.h"
12
13// auto generated forward declare list
14// clang-format off
15namespace ScriptModuleMinecraft { class ScriptContainerWrapper; }
16namespace ScriptModuleMinecraft { class ScriptInventoryComponentContainer; }
17namespace ScriptModuleMinecraft { struct ScriptInvalidActorError; }
18namespace Scripting { struct ClassBinding; }
19// clang-format on
20
21namespace ScriptModuleMinecraft {
22
24public:
25 // member variables
26 // NOLINTBEGIN
27 ::ll::TypedStorage<8, 40, ::std::optional<::Scripting::StrongObjectHandle>> mScriptContainer;
28 // NOLINTEND
29
30public:
31 // virtual functions
32 // NOLINTBEGIN
33 virtual bool _isValid() const /*override*/;
34 // NOLINTEND
35
36public:
37 // member functions
38 // NOLINTBEGIN
39 MCAPI ::Scripting::Result_deprecated<int> getAdditionalSlotsPerStrength() const;
40
41 MCAPI ::Scripting::Result_deprecated<bool> getCanBeSiphonedFrom() const;
42
43 MCAPI ::Scripting::Result_deprecated<::std::string> getContainerType() const;
44
45 MCAPI ::Scripting::Result_deprecated<int> getInventorySize() const;
46
47 MCAPI ::Scripting::Result_deprecated<
49 getOrCreateContainerV010();
50
51 MCAPI ::std::optional<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptContainerWrapper>>
52 getOrCreateContainerV1();
53
54 MCAPI ::Scripting::Result<
57 getOrCreateContainerV2();
58
59 MCAPI ::Scripting::Result_deprecated<bool> getPrivate() const;
60
61 MCAPI ::Scripting::Result_deprecated<bool> getRestrictToOwner() const;
62 // NOLINTEND
63
64public:
65 // static functions
66 // NOLINTBEGIN
67 MCAPI static ::Scripting::ClassBinding bind();
68 // NOLINTEND
69
70public:
71 // static variables
72 // NOLINTBEGIN
73 MCAPI static char const*& ComponentId();
74 // NOLINTEND
75
76public:
77 // virtual function thunks
78 // NOLINTBEGIN
79 MCAPI bool $_isValid() const;
80
81
82 // NOLINTEND
83
84public:
85 // vftables
86 // NOLINTBEGIN
87 MCNAPI static void** $vftable();
88 // NOLINTEND
89};
90
91} // namespace ScriptModuleMinecraft
Definition ScriptActorComponent.h:24
Definition ScriptContainerWrapper.h:25
Definition ScriptInventoryComponentContainer.h:20
Definition ScriptInventoryComponent.h:23
Definition StrongTypedObjectHandle.h:8
Definition WeakTypedObjectHandle.h:8
Definition ScriptInvalidActorError.h:18
Definition ClassBinding.h:19