diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-10-04 15:19:53 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-10-04 15:19:53 +0300 |
commit | a553b3cda91aa095d88e22abcaa81701c2894334 (patch) | |
tree | cb44d56a66896fdbf4eaf9673901ee9cf3a60a73 /src/being/playerinfo.h | |
parent | 343809fe458a08bf96fe4f537db2d81d7523632e (diff) | |
download | manaplus-a553b3cda91aa095d88e22abcaa81701c2894334.tar.gz manaplus-a553b3cda91aa095d88e22abcaa81701c2894334.tar.bz2 manaplus-a553b3cda91aa095d88e22abcaa81701c2894334.tar.xz manaplus-a553b3cda91aa095d88e22abcaa81701c2894334.zip |
move equip/unequip/use calls into playerinfo.
Diffstat (limited to 'src/being/playerinfo.h')
-rw-r--r-- | src/being/playerinfo.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/being/playerinfo.h b/src/being/playerinfo.h index a0b10d4fe..052fbe966 100644 --- a/src/being/playerinfo.h +++ b/src/being/playerinfo.h @@ -255,6 +255,16 @@ namespace PlayerInfo void setEquipmentBackend(Equipment::Backend *const backend); + void equipItem(const Item *const item); + + void unequipItem(const Item *const item); + + void useItem(const Item *const item); + + void useEquipItem(const Item *const item); + + void useEquipItem2(const Item *const item); + void protectItem(const int id); void unprotectItem(const int id); |