Skip to content
LeviMC
English
AutoLightDark
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/script_core/lifetime_registry/scripting/StrongObjectHandle.h"
7#include "mc/deps/script_core/lifetime_registry/scripting/StrongTypedObjectHandle.h"
8#include "mc/scripting/modules/minecraft/items/components/ScriptItemComponent.h"
9
10// auto generated forward declare list
11// clang-format off
13namespace ScriptModuleMinecraft { class ScriptItemStack; }
14namespace Scripting { class WeakLifetimeScope; }
15namespace Scripting { struct ClassBinding; }
16// clang-format on
17
18namespace ScriptModuleMinecraft {
19
20class ScriptItemInventoryComponent : public ::ScriptModuleMinecraft::ScriptItemComponent {
21public:
22 // member variables
23 // NOLINTBEGIN
24 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::DynamicContainerTracker>> mDynamicContainerTracker;
25 ::ll::TypedStorage<8, 40, ::std::optional<::Scripting::StrongObjectHandle>> mScriptContainer;
26 // NOLINTEND
27
28public:
29 // prevent constructor by default
30 ScriptItemInventoryComponent();
31
32public:
33 // virtual functions
34 // NOLINTBEGIN
35 virtual ~ScriptItemInventoryComponent() /*override*/;
36 // NOLINTEND
37
38public:
39 // member functions
40 // NOLINTBEGIN
44 );
45
46 MCNAPI void _tryTrackContainer();
47 // NOLINTEND
48
49public:
50 // static functions
51 // NOLINTBEGIN
52 MCNAPI static ::Scripting::ClassBinding bind();
53 // NOLINTEND
54
55public:
56 // constructor thunks
57 // NOLINTBEGIN
58 MCNAPI void* $ctor(
61 );
62 // NOLINTEND
63
64public:
65 // destructor thunk
66 // NOLINTBEGIN
67 MCNAPI void $dtor();
68 // NOLINTEND
69
70public:
71 // vftables
72 // NOLINTBEGIN
73 MCNAPI static void** $vftable();
74 // NOLINTEND
75};
76
77} // namespace ScriptModuleMinecraft
Definition DynamicContainerTracker.h:20
Definition ScriptItemComponent.h:20
static MCAPI ::Scripting::ClassBinding bind()
MCAPI void * $ctor(::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemStack > item, ::Scripting::WeakLifetimeScope const &scope)
MCAPI ScriptItemInventoryComponent(::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemStack > item, ::Scripting::WeakLifetimeScope const &scope)
Definition ScriptItemStack.h:30
Definition StrongTypedObjectHandle.h:8
Definition WeakLifetimeScope.h:12
Definition ClassBinding.h:10