21 ::ll::TypedStorage<8, 16, ::std::weak_ptr<::Bedrock::Threading::SharedRecursiveMutex>> mContainerContextMutex;
22 ::ll::TypedStorage<4, 4, int> mWeightInStorageItem;
23 ::ll::TypedStorage<1, 1, bool> mIsClientSide;
28 LockingFillingContainer();
33 virtual int clearInventory(
int resizeTo) ;
35 virtual void swapSlots(
int from,
int to) ;
37 virtual void setItemWithForceBalance(
int slot,
::ItemStack const& item,
bool forceBalanced) ;
39 virtual ::std::unique_ptr<::ListTag> saveToTag(
::SaveContext const& saveContext)
const ;
41 virtual ::ItemStack
const& getItem(
int slot)
const ;
43 virtual void serverInitItemStackIds(
46 ::std::function<
void(
int,
::ItemStack const&)> onNetIdChanged
50 _trySetInSlot(
::ItemStack& item,
int const& slot,
int const& inventorySize,
int& backCompatOffset) ;
52 virtual ~LockingFillingContainer() =
default;
58 MCAPI LockingFillingContainer(
60 ::SharedTypes::Legacy::ContainerType containerType,
61 ::std::weak_ptr<::Bedrock::Threading::SharedRecursiveMutex> serializationMutex,
65 MCAPI
int getWeightInStorageItem()
const;
73 ::SharedTypes::Legacy::ContainerType containerType,
74 ::std::weak_ptr<::Bedrock::Threading::SharedRecursiveMutex> serializationMutex,
82 MCFOLD
int $clearInventory(
int resizeTo);
84 MCFOLD
void $swapSlots(
int from,
int to);
86 MCAPI
void $setItemWithForceBalance(
int slot,
::ItemStack const& item,
bool forceBalanced);
88 MCAPI ::std::unique_ptr<::ListTag> $saveToTag(
::SaveContext const& saveContext)
const;
90 MCAPI ::ItemStack
const& $getItem(
int slot)
const;
92 MCAPI
void $serverInitItemStackIds(
95 ::std::function<
void(
int,
::ItemStack const&)> onNetIdChanged
98 MCAPI
void $_trySetInSlot(
::ItemStack& item,
int const& slot,
int const& inventorySize,
int& backCompatOffset);
106 MCAPI
static void** $vftable();
Definition SaveContext.h:5