LeviLamina
Loading...
Searching...
No Matches
ChestContainerManagerModel.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#include "mc/world/level/block/actor/BlockActorType.h"
9
10// auto generated forward declare list
11// clang-format off
12class BlockPos;
14class ItemInstance;
15class Player;
16struct ActorUniqueID;
17// clang-format on
18
19class ChestContainerManagerModel : public ::LevelContainerManagerModel {
20public:
21 // member variables
22 // NOLINTBEGIN
23 ::ll::TypedStorage<1, 1, ::BlockActorType> mBlockActorType;
24 // NOLINTEND
25
26public:
27 // prevent constructor by default
28 ChestContainerManagerModel();
29
30public:
31 // virtual functions
32 // NOLINTBEGIN
33 virtual ~ChestContainerManagerModel() /*override*/ = default;
34
35 virtual bool isValid(float pickRange) /*override*/;
36
37 virtual ::ContainerScreenContext _postInit() /*override*/;
38 // NOLINTEND
39
40public:
41 // member functions
42 // NOLINTBEGIN
43 MCAPI ChestContainerManagerModel(::ContainerID containerId, ::Player& player, ::ActorUniqueID uniqueID);
44
45 MCAPI ChestContainerManagerModel(
46 ::ContainerID containerId,
47 ::Player& player,
48 ::BlockPos const& blockPos,
49 ::BlockActorType blockActorType
50 );
51
52#ifdef LL_PLAT_C
53 MCAPI void fireFullCobbleStoneEvent();
54
55 MCAPI void fireItemAcquiredEvent(::ItemInstance const& itemInstance, int count);
56
57 MCFOLD ::BlockActorType getBlockActorType() const;
58#endif
59 // NOLINTEND
60
61public:
62 // constructor thunks
63 // NOLINTBEGIN
64 MCAPI void* $ctor(::ContainerID containerId, ::Player& player, ::ActorUniqueID uniqueID);
65
66 MCAPI void*
67 $ctor(::ContainerID containerId, ::Player& player, ::BlockPos const& blockPos, ::BlockActorType blockActorType);
68 // NOLINTEND
69
70public:
71 // virtual function thunks
72 // NOLINTBEGIN
73 MCAPI bool $isValid(float pickRange);
74
75 MCAPI ::ContainerScreenContext $_postInit();
76
77
78 // NOLINTEND
79
80public:
81 // vftables
82 // NOLINTBEGIN
83 MCAPI static void** $vftable();
84 // NOLINTEND
85};
Definition BlockPos.h:21
Definition ContainerScreenContext.h:19
Definition ItemInstance.h:15
Definition Player.h:137
Definition ActorUniqueID.h:10