LeviLamina
Loading...
Searching...
No Matches
HorseContainerManagerModel.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/LevelContainerManagerModel.h"
8
9// auto generated forward declare list
10// clang-format off
11class ContainerModel;
13class ItemStack;
14class Player;
15struct ActorUniqueID;
16// clang-format on
17
18class HorseContainerManagerModel : public ::LevelContainerManagerModel {
19public:
20 // member variables
21 // NOLINTBEGIN
22 ::ll::TypedStorage<8, 16, ::std::weak_ptr<::ContainerModel>> mEquipContainerModel;
23 // NOLINTEND
24
25public:
26 // prevent constructor by default
27 HorseContainerManagerModel();
28
29public:
30 // virtual functions
31 // NOLINTBEGIN
32 virtual ~HorseContainerManagerModel() /*override*/ = default;
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 ::std::vector<::ItemStack> getItemCopies() const /*override*/;
39
40 virtual ::ContainerScreenContext _postInit() /*override*/;
41 // NOLINTEND
42
43public:
44 // member functions
45 // NOLINTBEGIN
46 MCAPI HorseContainerManagerModel(::ContainerID containerId, ::Player& player, ::ActorUniqueID const& uniqueId);
47
48 MCAPI void _onChestSlotChanged(int slot, ::ItemStack const& oldItem, ::ItemStack const& newItem);
49
50 MCAPI void _onEquipSlotChanged(int slot, ::ItemStack const& oldItem, ::ItemStack const& newItem);
51 // NOLINTEND
52
53public:
54 // constructor thunks
55 // NOLINTBEGIN
56 MCAPI void* $ctor(::ContainerID containerId, ::Player& player, ::ActorUniqueID const& uniqueId);
57 // NOLINTEND
58
59public:
60 // virtual function thunks
61 // NOLINTBEGIN
62 MCAPI void $setSlot(int slot, ::ItemStack const& item, bool);
63
64 MCAPI ::ItemStack const& $getSlot(int slot) const;
65
66 MCAPI ::std::vector<::ItemStack> $getItemCopies() const;
67
68 MCAPI ::ContainerScreenContext $_postInit();
69
70
71 // NOLINTEND
72
73public:
74 // vftables
75 // NOLINTBEGIN
76 MCAPI static void** $vftable();
77 // NOLINTEND
78};
Definition ContainerModel.h:28
Definition ContainerScreenContext.h:19
Definition ItemStack.h:35
Definition Player.h:137
Definition ActorUniqueID.h:10