summaryrefslogtreecommitdiffstats
path: root/src/UI/SlotArea.h
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-05-18 22:30:34 +0200
committerMattes D <github@xoft.cz>2014-05-18 22:30:34 +0200
commitac005681839134018f0162cfb8cb1453e11cbb46 (patch)
tree41cc966732262c0a8f5441932b758344856d6259 /src/UI/SlotArea.h
parentMerge pull request #1005 from SphinxC0re/LoadPluginfolder (diff)
parentFixes (diff)
downloadcuberite-ac005681839134018f0162cfb8cb1453e11cbb46.tar
cuberite-ac005681839134018f0162cfb8cb1453e11cbb46.tar.gz
cuberite-ac005681839134018f0162cfb8cb1453e11cbb46.tar.bz2
cuberite-ac005681839134018f0162cfb8cb1453e11cbb46.tar.lz
cuberite-ac005681839134018f0162cfb8cb1453e11cbb46.tar.xz
cuberite-ac005681839134018f0162cfb8cb1453e11cbb46.tar.zst
cuberite-ac005681839134018f0162cfb8cb1453e11cbb46.zip
Diffstat (limited to '')
-rw-r--r--src/UI/SlotArea.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/UI/SlotArea.h b/src/UI/SlotArea.h
index 4da6a672f..e297bcff7 100644
--- a/src/UI/SlotArea.h
+++ b/src/UI/SlotArea.h
@@ -254,6 +254,9 @@ protected:
/// Retrieves the recipe for the specified player from the map, or creates one if not found
cCraftingRecipe & GetRecipeForPlayer(cPlayer & a_Player);
+
+ /// Called after an item has been crafted to handle statistics e.t.c.
+ void HandleCraftItem(const cItem & a_Result, cPlayer & a_Player);
} ;
@@ -397,6 +400,9 @@ protected:
// cItemGrid::cListener overrides:
virtual void OnSlotChanged(cItemGrid * a_ItemGrid, int a_SlotNum) override;
+
+ /// Called after an item has been smelted to handle statistics e.t.c.
+ void HandleSmeltItem(const cItem & a_Result, cPlayer & a_Player);
} ;