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