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 fireItemAcquiredEvent(::ItemInstance const& itemInstance, int count);
54#endif
55 // NOLINTEND
56
57public:
58 // constructor thunks
59 // NOLINTBEGIN
60 MCAPI void* $ctor(::ContainerID containerId, ::Player& player, ::ActorUniqueID uniqueID);
61
62 MCAPI void*
63 $ctor(::ContainerID containerId, ::Player& player, ::BlockPos const& blockPos, ::BlockActorType blockActorType);
64 // NOLINTEND
65
66public:
67 // virtual function thunks
68 // NOLINTBEGIN
69 MCAPI bool $isValid(float pickRange);
70
71 MCAPI ::ContainerScreenContext $_postInit();
72
73
74 // NOLINTEND
75
76public:
77 // vftables
78 // NOLINTBEGIN
79 MCAPI static void** $vftable();
80 // NOLINTEND
81};
Definition BlockPos.h:19
Definition ContainerScreenContext.h:17
static MCAPI void ** $vftable()
Definition ItemInstance.h:15
Definition LevelContainerManagerModel.h:18
Definition Player.h:129
Definition ActorUniqueID.h:5