aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.World/MerchantContainer.h
diff options
context:
space:
mode:
Diffstat (limited to 'Minecraft.World/MerchantContainer.h')
-rw-r--r--Minecraft.World/MerchantContainer.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/Minecraft.World/MerchantContainer.h b/Minecraft.World/MerchantContainer.h
index efba13d6..91893c1b 100644
--- a/Minecraft.World/MerchantContainer.h
+++ b/Minecraft.World/MerchantContainer.h
@@ -30,11 +30,14 @@ private:
public:
shared_ptr<ItemInstance> removeItemNoUpdate(int slot);
void setItem(unsigned int slot, shared_ptr<ItemInstance> item);
- int getName();
+ wstring getName();
+ wstring getCustomName();
+ bool hasCustomName();
int getMaxStackSize();
bool stillValid(shared_ptr<Player> player);
void startOpen();
void stopOpen();
+ bool canPlaceItem(int slot, shared_ptr<ItemInstance> item);
void setChanged();
void updateSellItem();
MerchantRecipe *getActiveRecipe();