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) /*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 // NOLINTEND
46
47public:
48 // member functions
49 // NOLINTBEGIN
50 MCAPI ::BlockActor* _getBlockEntity();
51 // NOLINTEND
52
53public:
54 // destructor thunk
55 // NOLINTBEGIN
56 MCAPI void $dtor();
57 // NOLINTEND
58
59public:
60 // virtual function thunks
61 // NOLINTBEGIN
62 MCAPI ::std::vector<::ItemStack> $getItemCopies() const;
63
64 MCAPI void $setSlot(int slot, ::ItemStack const& item, bool);
65
66 MCAPI ::ItemStack const& $getSlot(int slot) const;
67
68 MCFOLD void $setData(int id, int value);
69
70 MCAPI void $broadcastChanges();
71
72 MCAPI bool $isValid(float pickRange);
73
74 MCAPI ::ContainerScreenContext $_postInit();
75
76
77 // NOLINTEND
78
79public:
80 // vftables
81 // NOLINTBEGIN
82 MCAPI static void** $vftable();
83 // NOLINTEND
84};
Definition BlockActor.h:32
Definition ContainerScreenContext.h:17
static MCAPI void ** $vftable()
MCAPI void $dtor()
Definition ItemStack.h:26
Definition LevelContainerManagerModel.h:18