53 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::SparseContainerClient>> mSparseContainer;
54 ::ll::TypedStorage<8, 64, ::std::unordered_map<::ItemStackRequestId, ::std::vector<::HistoricPredictionData>>>
56 ::ll::TypedStorage<8, 64, ::std::unordered_map<::ItemStackRequestId, ::std::vector<::HistoricPredictionData>>>
77 ::SparseContainerBackingSetType backingSetType,
78 bool isItemStackNetManagerEnabled,
79 ::std::unique_ptr<::ISparseContainerSetListener> netManagerSetter,
80 ::std::unique_ptr<::IPlayerContainerSetter> playerContainerSetter
95 ::ll::TypedStorage<8, 48, ::ContainerWeakRef> mContainerWeakRef;
96 ::ll::TypedStorage<8, 8, ::ItemStackNetManagerClient::PredictiveContainer*> mContainer;
108 MCNAPI_C
void $dtor();
116 ::ll::TypedStorage<8, 64, ::std::unordered_map<::ContainerEnumName, ::std::unordered_set<uchar>>>
117 mLegacyTransactionSetItemSlots;
122 unordered_map<::ItemStackRequestId, ::std::vector<::ItemStackNetManagerClient::PredictiveContainer*>>>
124 ::ll::TypedStorage<8, 24, ::std::vector<::std::unique_ptr<::ClientScratchContainer>>> mClientScratchContainers;
125 ::ll::TypedStorage<8, 24, ::std::vector<::std::unique_ptr<::ItemStackNetManagerClient::PredictiveContainer>>>
126 mPlayerOwnedPredictiveContainers;
127 ::ll::TypedStorage<8, 24, ::std::vector<::std::unique_ptr<::ItemStackNetManagerClient::PredictiveContainer>>>
128 mOpenSessionPredictiveContainers;
132 ::std::unordered_map<::FullContainerName, ::ItemStackNetManagerClient::OpenSessionContainerData>>
133 mOpenSessionContainerMap;
137 ::std::unordered_map<::FullContainerName, ::ItemStackNetManagerClient::OpenSessionContainerData>>
150 MCNAPI_C
void* $ctor();
158 MCNAPI_C
void $dtor();
166 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::ContainerModel>> mOwnedContainer;
185 ::ll::TypedStorage<1, 1, bool> mIsHandlingResponse;
186 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::ItemStackRequestData>> mRequest;
187 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::ItemStackRequestBatch>> mRequestBatch;
188 ::ll::TypedStorage<8, 24, ::WeakRef<::EntityContext>> mRequestScreen;
196 virtual ::SparseContainer* initOpenContainer(
202 virtual ::ItemStackRequestId getRequestId() const ;
204 virtual
bool allowInventoryTransactionManager() const ;
206 virtual ::gsl::final_action<::
std::function<
void()>> _tryBeginClientLegacyTransactionRequest() ;
208 virtual
void _addLegacyTransactionRequestSetItemSlot(
210 ::SharedTypes::Legacy::ContainerType containerType,
220 MCNAPI_C
void _beginRequest(::ItemStackRequestScreen screen);
222 MCNAPI_C
void _clearPredictiveContainerRequest(
223 ::ItemStackRequestId const& requestId,
228 MCNAPI_C
void _endRequest();
232 MCNAPI_C ::
std::unordered_map<::ContainerEnumName, ::
std::unordered_set<uchar>>
233 _getLegacyTransactionSetItemSlots() const;
237 MCNAPI_C
void _initPlayerContainers();
239 MCNAPI_C
void _processResponseSlot(
240 ::ItemStackRequestId const& requestId,
247 MCNAPI_C
void addContainerToRequest(::ItemStackRequestId requestId, ::
Container* container);
251 MCNAPI_C
void cacheHistoricPrediction(
253 ::ItemStackRequestId const& requestId,
259 cacheZeroedOutItem(::
Container* container, ::ItemStackRequestId const& requestId,
int slot, ::
ItemStack&& item);
261 MCNAPI_C
void clearZeroedOutItem(::
Container* container, ::ItemStackRequestId const& requestId,
int slot);
267 MCNAPI_C
void trySendBatch();
274 MCNAPI ::SparseContainer* $initOpenContainer(
280 MCNAPI ::ItemStackRequestId $getRequestId()
const;
282 MCNAPI
bool $allowInventoryTransactionManager()
const;
284 MCNAPI ::gsl::final_action<::std::function<void()>> $_tryBeginClientLegacyTransactionRequest();
286 MCNAPI
void $_addLegacyTransactionRequestSetItemSlot(
288 ::SharedTypes::Legacy::ContainerType containerType,
Definition EntityContext.h:16