diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-09-23 00:42:38 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-09-23 00:42:38 +0300 |
commit | 2acd4cd73813e8cd0bf6d662e10e34af59cfac99 (patch) | |
tree | 2fa62d81b7849510df10a9efb8cec8b3384fa12b /src/being/playerinfo.h | |
parent | c4122f537ce74b55c6e465d2020f17b791b278a4 (diff) | |
download | mv-2acd4cd73813e8cd0bf6d662e10e34af59cfac99.tar.gz mv-2acd4cd73813e8cd0bf6d662e10e34af59cfac99.tar.bz2 mv-2acd4cd73813e8cd0bf6d662e10e34af59cfac99.tar.xz mv-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.h | 7 |
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 |