diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-10-06 21:24:28 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-10-06 23:40:01 +0300 |
commit | c623250fbc8524a1ab78791595bf1fc4344fec49 (patch) | |
tree | a0a0fb07bf5de4e494d50b214418b1ec99787dce /src/being/playerinfo.cpp | |
parent | ff516ba3e0459cce11d6b43d4686a1c3c43a6605 (diff) | |
download | plus-c623250fbc8524a1ab78791595bf1fc4344fec49.tar.gz plus-c623250fbc8524a1ab78791595bf1fc4344fec49.tar.bz2 plus-c623250fbc8524a1ab78791595bf1fc4344fec49.tar.xz plus-c623250fbc8524a1ab78791595bf1fc4344fec49.zip |
read guild position flags.
Diffstat (limited to 'src/being/playerinfo.cpp')
-rw-r--r-- | src/being/playerinfo.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/being/playerinfo.cpp b/src/being/playerinfo.cpp index 4f7b714cf..0000825fe 100644 --- a/src/being/playerinfo.cpp +++ b/src/being/playerinfo.cpp @@ -61,6 +61,7 @@ Equipment *mEquipment = nullptr; MercenaryInfo *mMercenary = nullptr; HomunculusInfo *mHomunculus = nullptr; PetInfo *mPet = nullptr; +GuildPositionFlags::Type mGuildPositionFlags = GuildPositionFlags::None; bool mTrading = false; int mLevelProgress = 0; @@ -556,4 +557,14 @@ void updateAttackAi(const int targetId, const bool keep) homunculusHandler->attack(targetId, keep); } +void setGuildPositionFlags(const GuildPositionFlags::Type pos) +{ + mGuildPositionFlags = pos; +} + +GuildPositionFlags::Type getGuildPositionFlags() +{ + return mGuildPositionFlags; +} + } // namespace PlayerInfo |