33 ::ll::TypedStorage<8, 16, ::std::weak_ptr<::AnvilContainerManagerModel>> mAnvilContainerManagerModel;
34 ::ll::TypedStorage<4, 4, int> mCost;
35 ::ll::TypedStorage<8, 72, ::Bedrock::Safety::RedactableString> mPreviewName;
36 ::ll::TypedStorage<8, 72, ::Bedrock::Safety::RedactableString> mItemName;
37 ::ll::TypedStorage<1, 1, bool> mIsMapRecipe;
38 ::ll::TypedStorage<8, 136, ::ItemResultPreview> mResultPreview;
39 ::ll::TypedStorage<1, 1, bool> mIsEnchantingBookRecipe;
40 ::ll::TypedStorage<4, 4, int> mRepairItemCountCost;
41 ::ll::TypedStorage<4, 4, ::RecipeNetId> mCurrentRecipeNetId;
42 ::ll::TypedStorage<8, 8, ::Recipe const*> mMapCraftingRecipe;
43 ::ll::TypedStorage<8, 40, ::SlotData const> mCreatedItemOutputSlot;
51 virtual void postInit(::std::weak_ptr<::ContainerManagerController> self) ;
53 virtual void updatePreviewItem() ;
59 virtual ::Bedrock::Safety::RedactableString
const& getPreviewItemName()
const ;
61 virtual ::Bedrock::Safety::RedactableString
const& getItemName()
const ;
63 virtual bool isOutputSlot(::std::string
const& collectionName)
const ;
65 virtual ::ItemStackBase
const& getTakeableItemStackBase(
::SlotData const& slot)
const ;
67 virtual void handleTakeAmount(
::SlotData const& dstSlot,
int amount,
::SlotData const& srcSlot) ;
75 virtual int handleAutoPlace(
78 ::std::vector<::AutoPlaceItem>
const& autoPlaceOrder,
79 ::std::vector<::AutoPlaceResult>& destinations
84 virtual ::CreateContainerItemScope
87 virtual void _updateItemStackRequest(
88 ::ContainerScreenRequestActionType,
97 MCNAPI_C
void _consumeMaterials();
99 MCNAPI_C
bool _consumeOneFromAnvilInputSlot();
105 MCNAPI_C
bool _isTooExpensive();
107 MCNAPI_C
void _onItemGrabbed();
109 MCNAPI_C
bool _playerHasEnoughXP();
111 MCNAPI_C
void _setupCallbacks();
113 MCNAPI_C ::std::string getCostText();
115 MCNAPI_C
bool shouldDrawRed();
121 MCNAPI_C
void* $ctor(::std::weak_ptr<::AnvilContainerManagerModel> containerManagerModel);
128 MCNAPI
void $postInit(::std::weak_ptr<::ContainerManagerController> self);
130 MCNAPI
void $updatePreviewItem();
136 MCNAPI ::Bedrock::Safety::RedactableString
const& $getPreviewItemName()
const;
138 MCNAPI ::Bedrock::Safety::RedactableString
const& $getItemName()
const;
140 MCNAPI
bool $isOutputSlot(::std::string
const& collectionName)
const;
142 MCNAPI ::ItemStackBase
const& $getTakeableItemStackBase(
::SlotData const& slot)
const;
144 MCNAPI
void $handleTakeAmount(
::SlotData const& dstSlot,
int amount,
::SlotData const& srcSlot);
152 MCNAPI
int $handleAutoPlace(
155 ::std::vector<::AutoPlaceItem>
const& autoPlaceOrder,
156 ::std::vector<::AutoPlaceResult>& destinations
163 MCNAPI
void $_updateItemStackRequest(
164 ::ContainerScreenRequestActionType,