LeviLamina
Loading...
Searching...
No Matches
LevelContainerManagerModel.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/legacy/ActorUniqueID.h"
7#include "mc/world/containers/managers/models/ContainerManagerModel.h"
8#include "mc/world/level/BlockPos.h"
9#include "mc/world/level/block/actor/BlockActorType.h"
10
11// auto generated forward declare list
12// clang-format off
13class BlockActor;
14class Container;
16class ItemStack;
17// clang-format on
18
20public:
21 // member variables
22 // NOLINTBEGIN
23 ::ll::TypedStorage<4, 12, ::BlockPos> mBlockPos;
24 ::ll::TypedStorage<8, 8, ::ActorUniqueID> mEntityUniqueID;
25 ::ll::TypedStorage<4, 4, ::BlockActorType> mBlockActorType;
26 // NOLINTEND
27
28public:
29 // virtual functions
30 // NOLINTBEGIN
31 // vIndex: 0
32 virtual ~LevelContainerManagerModel() /*override*/;
33
34 // vIndex: 7
35 virtual ::std::vector<::ItemStack> getItemCopies() const /*override*/;
36
37 // vIndex: 8
38 virtual void setSlot(int slot, ::ItemStack const& item, bool) /*override*/;
39
40 // vIndex: 9
41 virtual ::ItemStack const& getSlot(int slot) const /*override*/;
42
43 // vIndex: 10
44 virtual void setData(int id, int value) /*override*/;
45
46 // vIndex: 13
47 virtual void broadcastChanges() /*override*/;
48
49 // vIndex: 19
50 virtual bool isValid(float pickRange) /*override*/;
51
52 // vIndex: 20
53 virtual ::ContainerScreenContext _postInit() /*override*/;
54 // NOLINTEND
55
56public:
57 // member functions
58 // NOLINTBEGIN
59 MCNAPI ::BlockActor* _getBlockEntity();
60
61 MCNAPI ::Container* _getRawContainer();
62 // NOLINTEND
63
64public:
65 // destructor thunk
66 // NOLINTBEGIN
67 MCNAPI void $dtor();
68 // NOLINTEND
69
70public:
71 // virtual function thunks
72 // NOLINTBEGIN
73 MCNAPI ::std::vector<::ItemStack> $getItemCopies() const;
74
75 MCNAPI void $setSlot(int slot, ::ItemStack const& item, bool);
76
77 MCNAPI ::ItemStack const& $getSlot(int slot) const;
78
79 MCNAPI void $setData(int id, int value);
80
81 MCNAPI void $broadcastChanges();
82
83 MCNAPI bool $isValid(float pickRange);
84
85 MCNAPI ::ContainerScreenContext $_postInit();
86 // NOLINTEND
87
88public:
89 // vftables
90 // NOLINTBEGIN
91 MCNAPI static void** $vftable();
92 // NOLINTEND
93};
Definition BlockActor.h:32
Definition ContainerManagerModel.h:29
Definition ContainerScreenContext.h:17
Definition Container.h:30
Definition ItemStack.h:25
Definition LevelContainerManagerModel.h:19
static MCAPI void ** $vftable()
MCAPI::Container * _getRawContainer()
MCAPI void $broadcastChanges()
MCAPI ::std::vector<::ItemStack > $getItemCopies() const
MCAPI void $setData(int id, int value)
MCAPI::BlockActor * _getBlockEntity()
MCAPI::ContainerScreenContext $_postInit()
MCAPI bool $isValid(float pickRange)
MCAPI::ItemStack const & $getSlot(int slot) const
MCAPI void $setSlot(int slot, ::ItemStack const &item, bool)