diff options
Diffstat (limited to 'src/localplayer.h')
-rw-r--r-- | src/localplayer.h | 8 |
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); |