31 using LegacyRequestScope = ::gsl::final_action<::std::function<void()>>;
33 using BaseContainerSetter = ::std::function<void(
::ItemStack const&)>;
38 ::ll::TypedStorage<1, 1, bool const> mIsEnabled;
39 ::ll::TypedStorage<1, 1, bool const> mIsClientSide;
40 ::ll::TypedStorage<8, 8, ::Player&> mPlayer;
41 ::ll::TypedStorage<8, 16, ::WeakRef<::EntityRegistry>> mLevelWeakRegistry;
42 ::ll::TypedStorage<8, 16, ::OwnerPtr<::EntityRegistry>> mEntityRegistry;
43 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::ItemStackNetManagerScreenStack>> mScreenStack;
44 ::ll::TypedStorage<1, 1, bool> mCurrentRequestHasCraftAction;
45 ::ll::TypedStorage<4, 16, ::ItemStackLegacyRequestId> mLegacyTransactionRequestId;
61 virtual bool isEnabled()
const;
64 virtual ::ItemStackRequestId getRequestId()
const = 0;
67 virtual bool retainSetItemStackNetIdVariant()
const;
70 virtual bool allowInventoryTransactionManager()
const = 0;
73 virtual ::gsl::final_action<::std::function<void()>> _tryBeginClientLegacyTransactionRequest();
79 virtual void onContainerScreenClose();
85 virtual void _addLegacyTransactionRequestSetItemSlot(
87 ::SharedTypes::Legacy::ContainerType containerType,
104 MCAPI ::ContainerScreenContext
const& getScreenContext()
const;
110 MCAPI static ::gsl::final_action<::std::function<void()>> _tryBeginClientLegacyTransactionRequest(
::Player* player);
112 MCAPI
static bool setPlayerContainer(
114 ::SharedTypes::Legacy::ContainerType containerType,
118 ::std::function<
void(
::ItemStack const&)>
const& callback
125 MCAPI
void* $ctor(
::Player& player,
bool isClientSide,
bool isEnabled);
137 MCFOLD
bool $isEnabled()
const;
139 MCFOLD
bool $retainSetItemStackNetIdVariant()
const;
141 MCAPI ::gsl::final_action<::std::function<void()>> $_tryBeginClientLegacyTransactionRequest();
145 MCAPI
void $onContainerScreenClose();
149 MCFOLD
void $_addLegacyTransactionRequestSetItemSlot(
151 ::SharedTypes::Legacy::ContainerType containerType,
Definition ContainerScreenContext.h:17