LeviLamina
Loading...
Searching...
No Matches
ScriptInventoryComponentContainer.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/ecs/WeakEntityRef.h"
7#include "mc/deps/scripting/runtime/Result_deprecated.h"
8#include "mc/scripting/modules/minecraft/ScriptContainer.h"
9
10// auto generated forward declare list
11// clang-format off
12class Container;
13class ItemContext;
14namespace Scripting { class WeakLifetimeScope; }
15namespace Scripting { struct ClassBinding; }
16// clang-format on
17
18namespace ScriptModuleMinecraft {
19
20class ScriptInventoryComponentContainer : public ::ScriptModuleMinecraft::ScriptContainer {
21public:
22 // member variables
23 // NOLINTBEGIN
24 ::ll::TypedStorage<8, 24, ::WeakEntityRef> mEntityRef;
25 // NOLINTEND
26
27public:
28 // prevent constructor by default
29 ScriptInventoryComponentContainer();
30
31public:
32 // virtual functions
33 // NOLINTBEGIN
34 virtual ~ScriptInventoryComponentContainer() /*override*/;
35
36 virtual ::Scripting::Result_deprecated<int> getEmptySlotsCount() const /*override*/;
37
38 virtual ::Container* _tryGetContainer() const /*override*/;
39
40 virtual ::ItemContext _getItemContext(int slot) const /*override*/;
41 // NOLINTEND
42
43public:
44 // member functions
45 // NOLINTBEGIN
46 MCAPI
47 ScriptInventoryComponentContainer(::WeakEntityRef const& entityRef, ::Scripting::WeakLifetimeScope const& scope);
48 // NOLINTEND
49
50public:
51 // static functions
52 // NOLINTBEGIN
53 MCAPI static ::Scripting::ClassBinding bindV010();
54 // NOLINTEND
55
56public:
57 // constructor thunks
58 // NOLINTBEGIN
59 MCAPI void* $ctor(::WeakEntityRef const& entityRef, ::Scripting::WeakLifetimeScope const& scope);
60 // NOLINTEND
61
62public:
63 // destructor thunk
64 // NOLINTBEGIN
65 MCAPI void $dtor();
66 // NOLINTEND
67
68public:
69 // virtual function thunks
70 // NOLINTBEGIN
71 MCFOLD ::Scripting::Result_deprecated<int> $getEmptySlotsCount() const;
72
73 MCAPI ::Container* $_tryGetContainer() const;
74
75 MCFOLD ::ItemContext $_getItemContext(int slot) const;
76
77
78 // NOLINTEND
79
80public:
81 // vftables
82 // NOLINTBEGIN
83 MCNAPI static void** $vftable();
84 // NOLINTEND
85};
86
87} // namespace ScriptModuleMinecraft
Definition Container.h:34
Definition ItemContext.h:23
Definition ScriptContainer.h:27
Definition WeakLifetimeScope.h:14
Definition WeakEntityRef.h:14
Definition ClassBinding.h:19