28 ::ll::TypedStorage<4, 4, ::SparseContainerBackingSetType const> mBackingSetType;
29 ::ll::TypedStorage<8, 8, ::Container&> mBackingContainer;
30 ::ll::TypedStorage<8, 64, ::std::unordered_map<int, ::ItemStack>> mItems;
31 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::ISparseContainerSetListener>> mNetManagerSetter;
32 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::IPlayerContainerSetter>> mPlayerSetter;
36 ::std::unordered_map<::ContainerEnumName, ::std::function<void(
int,
::ItemStack const&,
::ItemStack const&)>>>
37 mItemNetworkChangedCallbacks;
41 ::std::unordered_map<::ContainerEnumName, ::std::function<bool(
int,
::ItemStackBase const&,
int)>>>
42 mItemAllowedInSlotCallbacks;
43 ::ll::TypedStorage<8, 64, ::std::unordered_map<::ContainerEnumName, ::std::function<bool(
::ItemStackBase const&)>>>
44 mItemAllowedToAddCallbacks;
48 ::std::unordered_map<::ContainerEnumName, ::std::function<int(
int,
::ItemStackBase const&)>>>
49 mAvailableSetCountCallbacks;
50 ::ll::TypedStorage<8, 64, ::std::unordered_map<::ContainerEnumName, ::std::function<bool(
int)>>>
51 mValidSlotForContainerCallbacks;
52 ::ll::TypedStorage<8, 64, ::std::unordered_map<::ContainerEnumName, ::std::function<bool(
::ItemStackBase const&)>>>
53 mItemAllowedToRemoveCallbacks;
54 ::ll::TypedStorage<8, 64, ::std::unordered_map<::ContainerEnumName, ::std::function<bool(
::ItemStackBase const&)>>>
55 mItemAllowedInContainerCallbacks;
56 ::ll::TypedStorage<1, 1, bool const> mIsClientSide;
57 ::ll::TypedStorage<1, 1, bool const> mIsItemStackNetManagerEnabled;
67 virtual ::ItemStack
const& getItem(
int)
const ;
70 virtual int getContainerSize()
const ;
73 virtual int getMaxStackSize()
const ;
76 virtual void containerContentChanged(
int) ;
79 virtual void setItem(
int modelSlot,
::ItemStack const& item) ;
82 virtual void serverInitItemStackIds(
int,
int, ::std::function<
void(
int,
::ItemStack const&)>) ;
88 virtual void stopOpen(
::Player& player) ;
91 virtual void removeItem(
int slot,
int count) ;
Definition ContainerContentChangeListener.h:5