52 enum class RemoveType :
int {
63 ::ll::TypedStorage<1, 1, uchar> mSlot;
64 ::ll::TypedStorage<4, 4, ::ItemStackNetId> mServerNetId;
87 ::ll::TypedStorage<1, 1, ::ContainerEnumName const> mContainerName;
88 ::ll::TypedStorage<4, 4, ::ContainerRuntimeId const> mContainerRuntimeId;
89 ::ll::TypedStorage<8, 24, ::std::vector<::std::pair<::ItemStackLegacyRequestId, ::ItemStackNetId>>> mSlots;
103 MCAPI
void* $ctor(::ContainerEnumName containerName,
::Container& container);
117 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::ItemStackRequestActionCraftHandler>> mCraftRequestHandler;
118 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::ScreenHandlerBase>> mScreenHandler;
120 TypedStorage<8, 64, ::std::unordered_map<::ContainerRuntimeId, ::std::shared_ptr<::SimpleSparseContainer>>>
121 mRuntimeIdSparseContainerMap;
125 ::std::unordered_map<::ItemStackRequestId, ::ItemStackRequestActionHandler::RequestIdAssignments>>
160 ::ll::TypedStorage<8, 8, ::Player&> mPlayer;
161 ::ll::TypedStorage<8, 8, ::ItemStackNetManagerServer&> mItemStackNetManager;
162 ::ll::TypedStorage<4, 4, ::ContainerRuntimeId const> mPlayerArmorContainerRuntimeId;
163 ::ll::TypedStorage<4, 4, ::ContainerRuntimeId const> mPlayerHandContainerRuntimeId;
164 ::ll::TypedStorage<4, 4, ::ContainerRuntimeId const> mPlayerUIContainerRuntimeId;
165 ::ll::TypedStorage<8, 96, ::std::array<::ItemStackRequestActionHandler::PlayerLegacyRequestSlotIdAssignment, 3>>
166 mPlayerLegacyRequests;
167 ::ll::TypedStorage<8, 8, ::std::chrono::steady_clock::time_point> mLastTime;
168 ::ll::TypedStorage<8, 24, ::WeakRef<::EntityContext>> mCurrentRequestScreen;
169 ::ll::TypedStorage<4, 16, ::ItemStackRequestId> mClientRequestId;
170 ::ll::TypedStorage<8, 24, ::std::vector<::ItemStackResponseContainerInfo>> mResponseContainerInfos;
171 ::ll::TypedStorage<8, 16, ::std::map<::std::string, ::std::vector<::std::string>>> mFilteredStrings;
172 ::ll::TypedStorage<8, 16, ::std::map<::std::string, ::std::vector<::std::string>>> mStrings;
173 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::ContainerScreenValidation>> mScreenValidation;
183 MCAPI
void _cacheLegacySlotIdAssignment(
184 ::ContainerEnumName containerName,
190 MCAPI
void _cacheSlotIdAssigment(
199 MCAPI ::std::shared_ptr<::SimpleSparseContainer>
202 MCAPI ::ItemStackNetResult _handleRemove(
205 ::ItemStackRequestActionHandler::RemoveType removeType
208 MCAPI ::ItemStackNetResult _handleTransfer(
217 MCAPI ::std::optional<::ItemStackRequestActionHandler::RequestSlotIdAssignment> _resolveSlotIdAssignment(
222 MCAPI ::ItemStackRequestActionHandler::ScreenData* _tryGetCurrentScreenData()
const;
224 MCAPI ::ItemStackRequestHandlerSlotInfo
231 MCAPI ::std::tuple<::ItemStackNetResult, ::std::vector<::ItemStackResponseContainerInfo>>
232 endRequest(::ItemStackNetResult currentResult);
234 MCAPI ::std::vector<::std::string>
const& getFilteredStrings(
::ItemStackRequestId requestId)
const;
236 MCAPI ::ContainerScreenContext
const& getScreenContext()
const;
244 MCAPI
void normalTick();
246 MCAPI ::std::vector<::ItemInstance>
247 tryCraft(::std::unique_ptr<::ContainerValidationCraftInputs> craftInputs, uchar numCrafts);
Definition ContainerScreenContext.h:11
Definition EntityContext.h:16