27class ContainerScreenValidation {
31 ::ll::TypedStorage<8, 40, ::ContainerScreenContext> mScreenContext;
32 ::ll::TypedStorage<4, 4, ::ContainerValidationCaller> mCaller;
33 ::ll::TypedStorage<8, 64, ::std::unordered_map<::FullContainerName, uint64>> mContainerIndexMap;
37 ::std::unordered_map<::FullContainerName, ::std::shared_ptr<::ContainerValidationBase const>>>
38 mContainerValidatorMap;
39 ::ll::TypedStorage<8, 64, ::std::unordered_map<::FullContainerName, ::std::shared_ptr<::Container>>>
40 mPredictiveContainers;
41 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::ContainerScreenValidatorBase>> mContainerScreenValidator;
42 ::ll::TypedStorage<8, 24, ::std::vector<::ContainerValidationLayer>> mValidationStack;
43 ::ll::TypedStorage<4, 12, ::ContainerValidationDebug const> mDebug;
48 ContainerScreenValidation();
53 virtual ~ContainerScreenValidation();
55 virtual ::ContainerValidationResult tryCraft(::std::unique_ptr<::ContainerValidationCraftInputs>, uchar
const);
57 virtual ::ContainerValidationCraftResult
58 getCraftResults(::std::unique_ptr<::ContainerValidationCraftInputs>, uchar
const);
60 virtual ::ContainerValidationResult tryActivate();
68 ::ContainerValidationCaller caller,
69 ::std::unordered_map<
::FullContainerName, ::std::shared_ptr<::Container>> predictiveContainers
74 MCNAPI ::ContainerValidationSlotInfo
79 MCNAPI ::std::shared_ptr<::ContainerValidationBase const>
94 bool isWholeStackTransfer,
95 bool allowPartialSuccess,
96 bool isInternalTransfer
102 ::ContainerScreenRequestActionType actionType
105 MCNAPI ::std::shared_ptr<::SimpleSparseContainer>
112 MCNAPI ::ContainerValidationResult
115 MCNAPI ::ContainerValidationResult
122 bool isAllowingPartialTransfer
131 ::ContainerValidationCaller caller,
132 ::std::unordered_map<
::FullContainerName, ::std::shared_ptr<::Container>> predictiveContainers
141 ::ContainerValidationCaller caller,
142 ::std::unordered_map<
::FullContainerName, ::std::shared_ptr<::Container>> predictiveContainers
155 MCNAPI ::ContainerValidationResult
$tryCraft(::std::unique_ptr<::ContainerValidationCraftInputs>, uchar
const);
157 MCNAPI ::ContainerValidationCraftResult
Definition ContainerScreenContext.h:17
MCAPI void * $ctor(::ContainerScreenContext const &screenContext, ::ContainerValidationCaller caller, ::std::unordered_map<::FullContainerName, ::std::shared_ptr<::Container > > predictiveContainers)
MCAPI int _trySetItem(::ContainerValidationSlotInfo &slotInfo, ::ItemStack const &stack, bool isWholeStackTransfer, bool allowPartialSuccess, bool isInternalTransfer)
static MCAPI ::std::unique_ptr<::ContainerScreenValidation > makeContainerScreenValidation(::ContainerScreenContext const &screenContext, ::ContainerValidationCaller caller, ::std::unordered_map<::FullContainerName, ::std::shared_ptr<::Container > > predictiveContainers)