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 virtual ~IContainerManager();
21
22 virtual ::ContainerID getContainerId() const = 0;
23
24 virtual void setContainerId(::ContainerID) = 0;
25
26 virtual ::SharedTypes::Legacy::ContainerType getContainerType() const = 0;
27
28 virtual void setContainerType(::SharedTypes::Legacy::ContainerType) = 0;
29
30 virtual ::Bedrock::PubSub::Subscription
31 registerContainerTypeListener(::std::function<void(::SharedTypes::Legacy::ContainerType)>) const = 0;
32
33 virtual void serverInitItemStackIds() = 0;
34
35 virtual ::std::vector<::ItemStack> getItemCopies() const = 0;
36
37 virtual void setSlot(int, ::ItemStack const&, bool) = 0;
38
39 virtual ::ItemStack const& getSlot(int) const = 0;
40
41 virtual void setData(int, int) = 0;
42
43 virtual void setFullContainerSlot(int, ::FullContainerName const&, ::ItemStack const&, bool) = 0;
44
45 virtual ::ItemStack const& getFullContainerSlot(int, ::FullContainerName const&) const = 0;
46
47 virtual void broadcastChanges() = 0;
48 // NOLINTEND
49
50public:
51 // destructor thunk
52 // NOLINTBEGIN
53 MCNAPI void $dtor();
54 // NOLINTEND
55
56public:
57 // virtual function thunks
58 // NOLINTBEGIN
59
60 // NOLINTEND
61
62public:
63 // vftables
64 // NOLINTBEGIN
65 MCNAPI static void** $vftable();
66 // NOLINTEND
67};
Definition Subscription.h:10
Definition IContainerManager.h:16
static MCAPI void ** $vftable()
MCAPI void $dtor()
Definition ItemStack.h:26
Definition FullContainerName.h:8