summaryrefslogtreecommitdiff
path: root/src/being/playerinfo.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-23 00:42:38 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-23 00:42:38 +0300
commit2acd4cd73813e8cd0bf6d662e10e34af59cfac99 (patch)
tree2fa62d81b7849510df10a9efb8cec8b3384fa12b /src/being/playerinfo.h
parentc4122f537ce74b55c6e465d2020f17b791b278a4 (diff)
downloadplus-2acd4cd73813e8cd0bf6d662e10e34af59cfac99.tar.gz
plus-2acd4cd73813e8cd0bf6d662e10e34af59cfac99.tar.bz2
plus-2acd4cd73813e8cd0bf6d662e10e34af59cfac99.tar.xz
plus-2acd4cd73813e8cd0bf6d662e10e34af59cfac99.zip
eathena: use petinfo for loading and storing data about pet.
Diffstat (limited to 'src/being/playerinfo.h')
-rw-r--r--src/being/playerinfo.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/being/playerinfo.h b/src/being/playerinfo.h
index 4fcc5dfc1..23fb41731 100644
--- a/src/being/playerinfo.h
+++ b/src/being/playerinfo.h
@@ -64,6 +64,7 @@ class Inventory;
class Item;
struct MercenaryInfo;
+struct PetInfo;
/**
* A database like namespace which holds global info about the localplayer
@@ -242,6 +243,12 @@ namespace PlayerInfo
void setMercenary(MercenaryInfo *const info);
void setMercenaryBeing(Being *const being);
+
+ PetInfo *getPet();
+
+ void setPet(PetInfo *const info);
+
+ void setPetBeing(Being *const being);
} // namespace PlayerInfo
#endif // BEING_PLAYERINFO_H