22class LevelContainerModel :
public ::ContainerModel {
26 ::ll::TypedStorage<8, 8, ::Player&> mPlayer;
27 ::ll::TypedStorage<4, 12, ::BlockPos> mBlockPos;
28 ::ll::TypedStorage<1, 1, ::BlockActorType> mBlockEntityType;
29 ::ll::TypedStorage<8, 8, ::ActorUniqueID> mEntityUniqueId;
30 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mContainerRemovedSubscription;
35 LevelContainerModel& operator=(LevelContainerModel
const&);
36 LevelContainerModel(LevelContainerModel
const&);
37 LevelContainerModel();
42 virtual ~LevelContainerModel() =
default;
44 virtual void releaseResources() ;
46 virtual void containerContentChanged(
int slot) ;
48 virtual bool isValid() ;
50 virtual ::ContainerWeakRef getContainerWeakRef()
const ;
52 virtual void postInit() ;
54 virtual bool isSlotDisabled(
int slot)
const ;
56 virtual int _getContainerOffset()
const ;
60 virtual ::Container* _getContainer()
const ;
66 MCAPI LevelContainerModel(
67 ::ContainerEnumName containerName,
70 ::BlockActorType type,
72 ::ContainerCategory category
75 MCAPI
void _refreshSlot(
int modelSlot);
77 MCAPI
void containerRemoved();
83 MCAPI static ::Container*
84 getContainerHelper(
::Player& player, ::BlockActorType blockActorType,
::BlockPos const& blockPos);
91 ::ContainerEnumName containerName,
94 ::BlockActorType type,
96 ::ContainerCategory category
103 MCAPI
void $releaseResources();
105 MCAPI
void $containerContentChanged(
int slot);
107 MCAPI
bool $isValid();
109 MCAPI ::ContainerWeakRef $getContainerWeakRef()
const;
111 MCAPI
void $postInit();
113 MCAPI
bool $isSlotDisabled(
int slot)
const;
115 MCAPI
int $_getContainerOffset()
const;
119 MCAPI ::Container* $_getContainer()
const;
127 MCAPI
static void** $vftable();