LeviLamina
Loading...
Searching...
No Matches
ScriptItemInventoryComponent.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/runtime/Result.h"
9#include "mc/scripting/modules/minecraft/items/components/ScriptItemComponent.h"
10
11// auto generated forward declare list
12// clang-format off
14namespace ScriptModuleMinecraft { class ScriptContainerWrapper; }
15namespace ScriptModuleMinecraft { class ScriptItemStack; }
16namespace ScriptModuleMinecraft { struct ScriptInvalidContainerError; }
17namespace Scripting { class WeakLifetimeScope; }
18namespace Scripting { struct ClassBinding; }
19// clang-format on
20
21namespace ScriptModuleMinecraft {
22
23class ScriptItemInventoryComponent : public ::ScriptModuleMinecraft::ScriptItemComponent {
24public:
25 // member variables
26 // NOLINTBEGIN
27 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::DynamicContainerTracker>> mDynamicContainerTracker;
28 ::ll::TypedStorage<8, 40, ::std::optional<::Scripting::StrongObjectHandle>> mScriptContainer;
29 // NOLINTEND
30
31public:
32 // prevent constructor by default
33 ScriptItemInventoryComponent& operator=(ScriptItemInventoryComponent const&);
34 ScriptItemInventoryComponent();
35
36public:
37 // virtual functions
38 // NOLINTBEGIN
39 virtual ~ScriptItemInventoryComponent() /*override*/ = default;
40 // NOLINTEND
41
42public:
43 // member functions
44 // NOLINTBEGIN
45 MCAPI ScriptItemInventoryComponent(::ScriptModuleMinecraft::ScriptItemInventoryComponent const&);
46
47 MCAPI ScriptItemInventoryComponent(
50 );
51
52 MCAPI void _tryTrackContainer();
53
54 MCAPI ::Scripting::Result<
57 getOrCreateContainer();
58 // NOLINTEND
59
60public:
61 // static functions
62 // NOLINTBEGIN
63 MCAPI static ::Scripting::ClassBinding bind();
64
65 MCAPI static ::std::string const& getTypeName();
66 // NOLINTEND
67
68public:
69 // constructor thunks
70 // NOLINTBEGIN
72
73 MCAPI void* $ctor(
76 );
77 // NOLINTEND
78
79public:
80 // vftables
81 // NOLINTBEGIN
82 MCNAPI static void** $vftable();
83 // NOLINTEND
84};
85
86} // namespace ScriptModuleMinecraft
Definition DynamicContainerTracker.h:21
Definition ScriptContainerWrapper.h:24
Definition ScriptItemComponent.h:20
Definition ScriptItemInventoryComponent.h:23
Definition ScriptItemStack.h:32
Definition StrongTypedObjectHandle.h:8
Definition WeakLifetimeScope.h:7
Definition ScriptInvalidContainerError.h:15
Definition ClassBinding.h:19