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