LeviLamina
Loading...
Searching...
No Matches
CartographyContainerManagerModel.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/ContainerID.h"
7#include "mc/world/containers/managers/models/ContainerManagerModel.h"
8#include "mc/world/level/BlockPos.h"
9
10// auto generated forward declare list
11// clang-format off
13class ItemStack;
14class Player;
15// clang-format on
16
18public:
19 // member variables
20 // NOLINTBEGIN
21 ::ll::TypedStorage<4, 12, ::BlockPos> mBlockPos;
22 // NOLINTEND
23
24public:
25 // prevent constructor by default
27
28public:
29 // virtual functions
30 // NOLINTBEGIN
31 // vIndex: 0
32 virtual ~CartographyContainerManagerModel() /*override*/ = default;
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 fromNetwork) /*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 CartographyContainerManagerModel(::ContainerID containerId, ::Player& player, ::BlockPos const& blockPos);
60 // NOLINTEND
61
62public:
63 // constructor thunks
64 // NOLINTBEGIN
65 MCNAPI void* $ctor(::ContainerID containerId, ::Player& player, ::BlockPos const& blockPos);
66 // NOLINTEND
67
68public:
69 // virtual function thunks
70 // NOLINTBEGIN
71 MCNAPI ::std::vector<::ItemStack> $getItemCopies() const;
72
73 MCNAPI void $setSlot(int slot, ::ItemStack const& item, bool fromNetwork);
74
75 MCNAPI ::ItemStack const& $getSlot(int slot) const;
76
77 MCNAPI void $setData(int id, int value);
78
79 MCNAPI void $broadcastChanges();
80
81 MCNAPI bool $isValid(float pickRange);
82
83 MCNAPI ::ContainerScreenContext $_postInit();
84 // NOLINTEND
85
86public:
87 // vftables
88 // NOLINTBEGIN
89 MCNAPI static void** $vftable();
90 // NOLINTEND
91};
Definition BlockPos.h:18
Definition CartographyContainerManagerModel.h:17
MCAPI void $setSlot(int slot, ::ItemStack const &item, bool fromNetwork)
MCAPI void $setData(int id, int value)
MCAPI CartographyContainerManagerModel(::ContainerID containerId, ::Player &player, ::BlockPos const &blockPos)
MCAPI void * $ctor(::ContainerID containerId, ::Player &player, ::BlockPos const &blockPos)
MCAPI ::std::vector<::ItemStack > $getItemCopies() const
MCAPI bool $isValid(float pickRange)
MCAPI::ContainerScreenContext $_postInit()
MCAPI::ItemStack const & $getSlot(int slot) const
static MCAPI void ** $vftable()
Definition ContainerManagerModel.h:29
Definition ContainerScreenContext.h:17
Definition ItemStack.h:25
Definition Player.h:119