summaryrefslogtreecommitdiff
path: root/src/localplayer.h
diff options
context:
space:
mode:
authorJoshua Langley <joshlangley[at]optusnet.com.au>2007-08-21 15:11:19 +0000
committerJoshua Langley <joshlangley[at]optusnet.com.au>2007-08-21 15:11:19 +0000
commit0f8e80bcfe92ca39803f0443cf4b30e3f9171eb9 (patch)
treea07d923f09e8c9aa4a478e2bd572ab94edf09ae4 /src/localplayer.h
parent148b62c05337eaaaf3a1ead212b3792122812cee (diff)
downloadmana-client-0f8e80bcfe92ca39803f0443cf4b30e3f9171eb9.tar.gz
mana-client-0f8e80bcfe92ca39803f0443cf4b30e3f9171eb9.tar.bz2
mana-client-0f8e80bcfe92ca39803f0443cf4b30e3f9171eb9.tar.xz
mana-client-0f8e80bcfe92ca39803f0443cf4b30e3f9171eb9.zip
mantis id=118 - Added Item Shortcut Bar.
Diffstat (limited to 'src/localplayer.h')
-rw-r--r--src/localplayer.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/localplayer.h b/src/localplayer.h
index b721e276..9be185bf 100644
--- a/src/localplayer.h
+++ b/src/localplayer.h
@@ -80,6 +80,14 @@ class LocalPlayer : public Player
Item* getInvItem(int index);
/**
+ * Searches for the specified item by it's identification.
+ *
+ * @param itemId The id of the item to be searched.
+ * @return Item found on success, NULL on failure.
+ */
+ Item* searchForItem(int itemId);
+
+ /**
* Equips an item.
*/
void equipItem(Item *item);