LeviLamina
Loading...
Searching...
No Matches
LevelContainerModel.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/containers/ContainerEnumName.h"
7#include "mc/world/containers/models/ContainerCategory.h"
8#include "mc/world/containers/models/ContainerModel.h"
9#include "mc/world/level/block/actor/BlockActorType.h"
10
11// auto generated forward declare list
12// clang-format off
13class BlockPos;
14class Container;
16class ItemStack;
17class Player;
18struct ActorUniqueID;
19// clang-format on
20
22public:
23 // member variables
24 // NOLINTBEGIN
30 // NOLINTEND
31
32public:
33 // prevent constructor by default
37
38public:
39 // virtual functions
40 // NOLINTBEGIN
41 // vIndex: 1
42 virtual ~LevelContainerModel() /*override*/ = default;
43
44 // vIndex: 3
45 virtual void releaseResources() /*override*/;
46
47 // vIndex: 0
48 virtual void containerContentChanged(int slot) /*override*/;
49
50 // vIndex: 14
51 virtual bool isValid() /*override*/;
52
53 // vIndex: 7
54 virtual ::ContainerWeakRef getContainerWeakRef() const /*override*/;
55
56 // vIndex: 2
57 virtual void postInit() /*override*/;
58
59 // vIndex: 20
60 virtual bool isSlotDisabled(int slot) const /*override*/;
61
62 // vIndex: 22
63 virtual int _getContainerOffset() const /*override*/;
64
65 // vIndex: 24
66 virtual void _onItemChanged(int modelSlot, ::ItemStack const& oldItem, ::ItemStack const& newItem) /*override*/;
67
68 // vIndex: 21
69 virtual ::Container* _getContainer() const /*override*/;
70 // NOLINTEND
71
72public:
73 // member functions
74 // NOLINTBEGIN
76 ::ContainerEnumName containerName,
77 int containerSize,
78 ::Player& player,
79 ::ActorUniqueID entityId,
80 ::ContainerCategory category
81 );
82
84 ::ContainerEnumName containerName,
85 int containerSize,
86 ::Player& player,
87 ::BlockActorType type,
88 ::BlockPos const& blockPos,
89 ::ContainerCategory category
90 );
91
92 MCAPI void _refreshSlot(int modelSlot);
93
94 MCAPI void containerRemoved();
95 // NOLINTEND
96
97public:
98 // constructor thunks
99 // NOLINTBEGIN
100 MCAPI void* $ctor(
101 ::ContainerEnumName containerName,
102 int containerSize,
103 ::Player& player,
104 ::ActorUniqueID entityId,
105 ::ContainerCategory category
106 );
107
108 MCAPI void* $ctor(
109 ::ContainerEnumName containerName,
110 int containerSize,
111 ::Player& player,
112 ::BlockActorType type,
113 ::BlockPos const& blockPos,
114 ::ContainerCategory category
115 );
116 // NOLINTEND
117
118public:
119 // destructor thunk
120 // NOLINTBEGIN
121
122 // NOLINTEND
123
124public:
125 // virtual function thunks
126 // NOLINTBEGIN
127 MCAPI void $releaseResources();
128
129 MCAPI void $containerContentChanged(int slot);
130
131 MCAPI bool $isValid();
132
133 MCAPI ::ContainerWeakRef $getContainerWeakRef() const;
134
135 MCAPI void $postInit();
136
137 MCAPI bool $isSlotDisabled(int slot) const;
138
139 MCAPI int $_getContainerOffset() const;
140
141 MCFOLD void $_onItemChanged(int modelSlot, ::ItemStack const& oldItem, ::ItemStack const& newItem);
142
143 MCAPI ::Container* $_getContainer() const;
144 // NOLINTEND
145
146public:
147 // vftables
148 // NOLINTBEGIN
149 MCAPI static void** $vftable();
150 // NOLINTEND
151};
Definition BlockPos.h:18
Definition ContainerModel.h:22
Definition ContainerWeakRef.h:5
Definition Container.h:30
Definition ItemStack.h:25
Definition LevelContainerModel.h:21
Definition Player.h:119
Definition ActorUniqueID.h:5
Definition Alias.h:14