30 ::ll::TypedStorage<8, 16, ::std::weak_ptr<::TradeContainerManagerModel>> mTradeContainerMangerModel;
31 ::ll::TypedStorage<4, 4, int> mCurrentRecipeIndex;
32 ::ll::TypedStorage<8, 40, ::SlotData const> mCreatedItemOutputSlot;
33 ::ll::TypedStorage<8, 128, ::ItemInstance> mResultPreviewItem;
34 ::ll::TypedStorage<8, 8, ::MerchantRecipe*> mResultPreviewRecipe;
42 virtual bool isOutputSlot(::std::string
const& collectionName)
const ;
44 virtual ::ItemStackBase
const& getTakeableItemStackBase(
::SlotData const& slot)
const ;
48 virtual void handleTakeAmount(
::SlotData const& dstSlot,
int amount,
::SlotData const& srcSlot) ;
52 virtual int handleAutoPlace(
55 ::std::vector<::AutoPlaceItem>
const& autoPlaceOrder,
56 ::std::vector<::AutoPlaceResult>& destinations
66 virtual ::CreateContainerItemScope
73 MCNAPI_C
void _consumeIngredients(uchar numCrafts);
76 _consumeMaterials(
::ItemStack const& containerItem,
int amount, ::ContainerEnumName inputContainerEnumName);
78 MCNAPI_C
void _createResult(
bool shouldPlayAudio);
83 MCNAPI_C ::MerchantRecipe* _getActiveRecipe();
87 MCNAPI_C
void _moveItemsBackToInventory();
89 MCNAPI_C
void _setupCallbacks();
91 MCNAPI_C
int getAvailableRecipeListSize();
93 MCNAPI_C ::std::string getDisplayName();
95 MCNAPI_C ::MerchantRecipe* getRecipe(
int CurrentIndex);
97 MCNAPI_C
void setRecipeIndex(
int index);
103 MCNAPI_C
void* $ctor(::std::weak_ptr<::TradeContainerManagerModel> pModel);
110 MCNAPI
bool $isOutputSlot(::std::string
const& collectionName)
const;
112 MCNAPI ::ItemStackBase
const& $getTakeableItemStackBase(
::SlotData const& slot)
const;
116 MCNAPI
void $handleTakeAmount(
::SlotData const& dstSlot,
int amount,
::SlotData const& srcSlot);
120 MCNAPI
int $handleAutoPlace(
123 ::std::vector<::AutoPlaceItem>
const& autoPlaceOrder,
124 ::std::vector<::AutoPlaceResult>& destinations
131 MCNAPI
void $handleAddToStack(
::SlotData const& dstSlot,
::SlotData const& srcSlot, ::ItemTakeType type);
133 MCNAPI ::CreateContainerItemScope