LeviLamina
Loading...
Searching...
No Matches
IContainerManager.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/shared_types/legacy/ContainerType.h"
7#include "mc/world/ContainerID.h"
8
9// auto generated forward declare list
10// clang-format off
11class ItemStack;
13namespace Bedrock::PubSub { class Subscription; }
14// clang-format on
15
17public:
18 // virtual functions
19 // NOLINTBEGIN
20 // vIndex: 0
21 virtual ~IContainerManager();
22
23 // vIndex: 1
24 virtual ::ContainerID getContainerId() const = 0;
25
26 // vIndex: 2
27 virtual void setContainerId(::ContainerID) = 0;
28
29 // vIndex: 3
30 virtual ::SharedTypes::Legacy::ContainerType getContainerType() const = 0;
31
32 // vIndex: 4
33 virtual void setContainerType(::SharedTypes::Legacy::ContainerType) = 0;
34
35 // vIndex: 5
36 virtual ::Bedrock::PubSub::Subscription
37 registerContainerTypeListener(::std::function<void(::SharedTypes::Legacy::ContainerType)>) const = 0;
38
39 // vIndex: 6
40 virtual void serverInitItemStackIds() = 0;
41
42 // vIndex: 7
43 virtual ::std::vector<::ItemStack> getItemCopies() const = 0;
44
45 // vIndex: 8
46 virtual void setSlot(int, ::ItemStack const&, bool) = 0;
47
48 // vIndex: 9
49 virtual ::ItemStack const& getSlot(int) const = 0;
50
51 // vIndex: 10
52 virtual void setData(int, int) = 0;
53
54 // vIndex: 11
55 virtual void setFullContainerSlot(int, ::FullContainerName const&, ::ItemStack const&, bool) = 0;
56
57 // vIndex: 12
58 virtual ::ItemStack const& getFullContainerSlot(int, ::FullContainerName const&) const = 0;
59
60 // vIndex: 13
61 virtual void broadcastChanges() = 0;
62 // NOLINTEND
63
64public:
65 // destructor thunk
66 // NOLINTBEGIN
67 MCAPI void $dtor();
68 // NOLINTEND
69
70public:
71 // virtual function thunks
72 // NOLINTBEGIN
73
74 // NOLINTEND
75
76public:
77 // vftables
78 // NOLINTBEGIN
79 MCAPI static void** $vftable();
80 // NOLINTEND
81};
Definition IContainerManager.h:16
Definition ItemStack.h:25
Definition FullContainerName.h:8