LeviLamina
Loading...
Searching...
No Matches
ScriptItemComponent.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/scripting/lifetime_registry/StrongTypedObjectHandle.h"
7#include "mc/deps/scripting/lifetime_registry/WeakTypedObjectHandle.h"
8#include "mc/scripting/modules/minecraft/components/ScriptComponent.h"
9
10// auto generated forward declare list
11// clang-format off
12namespace ScriptModuleMinecraft { class ScriptItemStack; }
13namespace ScriptModuleMinecraft { class ScriptItemType; }
14namespace Scripting { class WeakLifetimeScope; }
15namespace Scripting { struct ClassBinding; }
16// clang-format on
17
18namespace ScriptModuleMinecraft {
19
20class ScriptItemComponent : public ::ScriptModuleMinecraft::ScriptComponent {
21public:
22 // member variables
23 // NOLINTBEGIN
24 ::ll::TypedStorage<8, 32, ::Scripting::WeakTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemStack>>
25 mItemStackHandle;
26 ::ll::TypedStorage<8, 32, ::Scripting::StrongTypedObjectHandle<::ScriptModuleMinecraft::ScriptItemType>> mItemType;
27 // NOLINTEND
28
29public:
30 // prevent constructor by default
31 ScriptItemComponent& operator=(ScriptItemComponent const&);
32 ScriptItemComponent();
33
34public:
35 // virtual functions
36 // NOLINTBEGIN
37 virtual ~ScriptItemComponent() /*override*/;
38
39 virtual bool _isValid() const /*override*/;
40 // NOLINTEND
41
42public:
43 // member functions
44 // NOLINTBEGIN
45 MCAPI ScriptItemComponent(::ScriptModuleMinecraft::ScriptItemComponent const&);
46
47 MCAPI ScriptItemComponent(
50 ::std::string id
51 );
52 // NOLINTEND
53
54public:
55 // static functions
56 // NOLINTBEGIN
57 MCAPI static ::Scripting::ClassBinding bind();
58 // NOLINTEND
59
60public:
61 // constructor thunks
62 // NOLINTBEGIN
63 MCAPI void* $ctor(::ScriptModuleMinecraft::ScriptItemComponent const&);
64
65 MCAPI void* $ctor(
68 ::std::string id
69 );
70 // NOLINTEND
71
72public:
73 // destructor thunk
74 // NOLINTBEGIN
75 MCAPI void $dtor();
76 // NOLINTEND
77
78public:
79 // virtual function thunks
80 // NOLINTBEGIN
81 MCAPI bool $_isValid() const;
82
83
84 // NOLINTEND
85
86public:
87 // vftables
88 // NOLINTBEGIN
89 MCNAPI static void** $vftable();
90 // NOLINTEND
91};
92
93} // namespace ScriptModuleMinecraft
Definition ScriptComponent.h:15
Definition ScriptItemComponent.h:20
Definition ScriptItemStack.h:35
Definition ScriptItemType.h:16
Definition StrongTypedObjectHandle.h:8
Definition WeakLifetimeScope.h:7
Definition ClassBinding.h:19