Skip to content
LeviMC
English
AutoLightDark
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/script_core/lifetime_registry/scripting/StrongObjectHandle.h"
7#include "mc/deps/script_core/lifetime_registry/scripting/StrongTypedObjectHandle.h"
8#include "mc/deps/script_core/runtime/scripting/Result.h"
9#include "mc/deps/script_core/runtime/scripting/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 ScriptContainerWrapper; }
15namespace ScriptModuleMinecraft { struct ScriptInvalidActorError; }
16namespace Scripting { struct ClassBinding; }
17// clang-format on
18
19namespace ScriptModuleMinecraft {
20
22public:
23 // member variables
24 // NOLINTBEGIN
25 ::ll::TypedStorage<8, 40, ::std::optional<::Scripting::StrongObjectHandle>> mScriptContainer;
26 // NOLINTEND
27
28public:
29 // virtual functions
30 // NOLINTBEGIN
31 virtual bool _isValid() const /*override*/;
32 // NOLINTEND
33
34public:
35 // member functions
36 // NOLINTBEGIN
37 MCNAPI ::Scripting::Result_deprecated<int> getAdditionalSlotsPerStrength() const;
38
39 MCNAPI ::Scripting::Result_deprecated<bool> getCanBeSiphonedFrom() const;
40
41 MCNAPI ::Scripting::Result_deprecated<int> getInventorySize() const;
42
43 MCNAPI ::std::optional<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptContainerWrapper>>
45
46 MCNAPI ::Scripting::Result<
50
51 MCNAPI ::Scripting::Result_deprecated<bool> getPrivate() const;
52
53 MCNAPI ::Scripting::Result_deprecated<bool> getRestrictToOwner() const;
54 // NOLINTEND
55
56public:
57 // static functions
58 // NOLINTBEGIN
59 MCNAPI static ::Scripting::ClassBinding bind();
60 // NOLINTEND
61
62public:
63 // static variables
64 // NOLINTBEGIN
65 MCNAPI static char const*& ComponentId();
66 // NOLINTEND
67
68public:
69 // virtual function thunks
70 // NOLINTBEGIN
71 MCNAPI bool $_isValid() const;
72
73
74 // NOLINTEND
75
76public:
77 // vftables
78 // NOLINTBEGIN
79 MCNAPI static void** $vftable();
80 // NOLINTEND
81};
82
83} // namespace ScriptModuleMinecraft
Definition ScriptActorComponent.h:21
Definition ScriptContainerWrapper.h:22
Definition ScriptInventoryComponent.h:21
MCAPI ::Scripting::Result_deprecated< bool > getCanBeSiphonedFrom() const
MCAPI ::Scripting::Result_deprecated< bool > getPrivate() const
static MCAPI char const *& ComponentId()
static MCAPI ::Scripting::ClassBinding bind()
MCAPI ::Scripting::Result_deprecated< bool > getRestrictToOwner() const
MCAPI ::Scripting::Result< ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptContainerWrapper >, ::ScriptModuleMinecraft::ScriptInvalidActorError > getOrCreateContainerV2()
MCAPI ::std::optional<::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptContainerWrapper > > getOrCreateContainerV1()
MCAPI ::Scripting::Result_deprecated< int > getInventorySize() const
MCAPI ::Scripting::Result_deprecated< int > getAdditionalSlotsPerStrength() const
Definition StrongTypedObjectHandle.h:8
Definition ScriptInvalidActorError.h:18
Definition ClassBinding.h:10