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;
15class ItemStack;
16// clang-format on
17
18class LevelContainerManagerModel : public ::ContainerManagerModel {
19public:
20 // member variables
21 // NOLINTBEGIN
22 ::ll::TypedStorage<4, 12, ::BlockPos> mBlockPos;
23 ::ll::TypedStorage<8, 8, ::ActorUniqueID> mEntityUniqueID;
24 ::ll::TypedStorage<1, 1, ::BlockActorType> mBlockActorType;
25 // NOLINTEND
26
27public:
28 // virtual functions
29 // NOLINTBEGIN
30 virtual ~LevelContainerManagerModel() /*override*/;
31
32 virtual ::std::vector<::ItemStack> getItemCopies() const /*override*/;
33
34 virtual void setSlot(int slot, ::ItemStack const& item, bool fromNetwork) /*override*/;
35
36 virtual ::ItemStack const& getSlot(int slot) const /*override*/;
37
38 virtual void setData(int id, int value) /*override*/;
39
40 virtual void broadcastChanges() /*override*/;
41
42 virtual bool isValid(float pickRange) /*override*/;
43
44 virtual ::ContainerScreenContext _postInit() /*override*/;
45
46 virtual void _onDynamicContainerContentsChanged() /*override*/;
47 // NOLINTEND
48
49public:
50 // member functions
51 // NOLINTBEGIN
52 MCAPI ::BlockActor* _getBlockEntity();
53 // NOLINTEND
54
55public:
56 // destructor thunk
57 // NOLINTBEGIN
58 MCAPI void $dtor();
59 // NOLINTEND
60
61public:
62 // virtual function thunks
63 // NOLINTBEGIN
64 MCAPI ::std::vector<::ItemStack> $getItemCopies() const;
65
66 MCAPI void $setSlot(int slot, ::ItemStack const& item, bool fromNetwork);
67
68 MCAPI ::ItemStack const& $getSlot(int slot) const;
69
70 MCFOLD void $setData(int id, int value);
71
72 MCAPI void $broadcastChanges();
73
74 MCAPI bool $isValid(float pickRange);
75
76 MCAPI ::ContainerScreenContext $_postInit();
77
78 MCAPI void $_onDynamicContainerContentsChanged();
79
80
81 // NOLINTEND
82
83public:
84 // vftables
85 // NOLINTBEGIN
86 MCAPI static void** $vftable();
87 // NOLINTEND
88};
Definition BlockActor.h:30
Definition ContainerScreenContext.h:17
static MCAPI void ** $vftable()
Definition ItemStack.h:26
Definition LevelContainerManagerModel.h:18