LeviLamina
Loading...
Searching...
No Matches
DynamicContainerManager.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/FullContainerName.h"
8#include "mc/world/item/ItemStack.h"
9
10// auto generated forward declare list
11// clang-format off
12class Container;
13class ContainerModel;
15// clang-format on
16
18public:
19 // member variables
20 // NOLINTBEGIN
21 ::ll::TypedStorage<4, 12, ::FullContainerName const> mFullContainerName;
22 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::ContainerModel>> mModel;
23 ::ll::TypedStorage<8, 16, ::std::weak_ptr<::Container>> mContainer;
24 ::ll::TypedStorage<8, 24, ::std::vector<::ItemStack>> mLastSlots;
25 ::ll::TypedStorage<1, 1, ::ContainerID> mContainerID;
26 ::ll::TypedStorage<8, 152, ::ItemStack> mStorageItem;
27 // NOLINTEND
28
29public:
30 // prevent constructor by default
32
33public:
34 // member functions
35 // NOLINTBEGIN
37 ::FullContainerName const& name,
38 ::std::shared_ptr<::ContainerModel> model,
39 ::std::shared_ptr<::Container> container,
40 ::ItemStack const& storageItem
41 );
42
43 MCNAPI void broadcastChanges(::PlayerContainerRefresher const& refresher);
44
46 // NOLINTEND
47
48public:
49 // constructor thunks
50 // NOLINTBEGIN
51 MCNAPI void* $ctor(
52 ::FullContainerName const& name,
53 ::std::shared_ptr<::ContainerModel> model,
54 ::std::shared_ptr<::Container> container,
55 ::ItemStack const& storageItem
56 );
57 // NOLINTEND
58
59public:
60 // destructor thunk
61 // NOLINTBEGIN
62 MCNAPI void $dtor();
63 // NOLINTEND
64};
Definition ContainerModel.h:25
Definition Container.h:30
Definition DynamicContainerManager.h:17
MCAPI void broadcastChanges(::PlayerContainerRefresher const &refresher)
MCAPI void * $ctor(::FullContainerName const &name, ::std::shared_ptr<::ContainerModel > model, ::std::shared_ptr<::Container > container, ::ItemStack const &storageItem)
MCAPI DynamicContainerManager(::FullContainerName const &name, ::std::shared_ptr<::ContainerModel > model, ::std::shared_ptr<::Container > container, ::ItemStack const &storageItem)
Definition ItemStack.h:25
Definition FullContainerName.h:8
Definition PlayerContainerRefresher.h:13