28class ContainerScreenValidation {
32 ::ll::TypedStorage<8, 40, ::ContainerScreenContext> mScreenContext;
33 ::ll::TypedStorage<4, 4, ::ContainerValidationCaller> mCaller;
34 ::ll::TypedStorage<8, 64, ::std::unordered_map<::FullContainerName, uint64>> mContainerIndexMap;
38 ::std::unordered_map<::FullContainerName, ::std::shared_ptr<::ContainerValidationBase const>>>
39 mContainerValidatorMap;
40 ::ll::TypedStorage<8, 64, ::std::unordered_map<::FullContainerName, ::std::shared_ptr<::Container>>>
41 mPredictiveContainers;
42 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::ContainerScreenValidatorBase>> mContainerScreenValidator;
43 ::ll::TypedStorage<8, 24, ::std::vector<::ContainerValidationLayer>> mValidationStack;
44 ::ll::TypedStorage<4, 12, ::ContainerValidationDebug const> mDebug;
49 ContainerScreenValidation();
54 virtual ~ContainerScreenValidation() =
default;
56 virtual ::ContainerValidationResult
57 tryCraft(::std::unique_ptr<::ContainerValidationCraftInputs> craftInputs, uchar
const numCrafts);
59 virtual ::ContainerValidationCraftResult
60 getCraftResults(::std::unique_ptr<::ContainerValidationCraftInputs> craftInputs, uchar
const numCrafts);
62 virtual ::ContainerValidationResult tryActivate();
70 ::ContainerValidationCaller caller,
71 ::std::unordered_map<
::FullContainerName, ::std::shared_ptr<::Container>> predictiveContainers
77 MCNAPI ::ContainerValidationSlotInfo
82 MCNAPI ::ContainerValidationSlotInfo
98 bool isWholeStackTransfer,
99 bool allowPartialSuccess,
100 bool isInternalTransfer
106 ::ContainerScreenRequestActionType actionType
110 MCNAPI ::std::optional<::ContainerIterationRange>
114 MCAPI ::std::shared_ptr<::SimpleSparseContainer>
118 MCNAPI
void postRequest();
121 MCAPI
bool tryCommitActionResults();
125 MCNAPI ::ContainerValidationResult
128 MCNAPI ::ContainerValidationResult
135 bool isAllowingPartialTransfer
144 ::ContainerValidationCaller caller,
145 ::std::unordered_map<
::FullContainerName, ::std::shared_ptr<::Container>> predictiveContainers
154 ::ContainerValidationCaller caller,
155 ::std::unordered_map<
::FullContainerName, ::std::shared_ptr<::Container>> predictiveContainers
162 MCNAPI ::ContainerValidationResult
163 $tryCraft(::std::unique_ptr<::ContainerValidationCraftInputs> craftInputs, uchar
const numCrafts);
165 MCNAPI ::ContainerValidationCraftResult
166 $getCraftResults(::std::unique_ptr<::ContainerValidationCraftInputs> craftInputs, uchar
const numCrafts);
Definition ContainerScreenContext.h:16