diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-03-13 16:22:46 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-03-13 16:22:46 +0300 |
commit | f40b3cd12dd2e2c65d02816c450e5645fba84109 (patch) | |
tree | 280e582f4a188cacc97973be3994a24b38218ed2 /src/being/being.h | |
parent | 767e9a19a27ecf4b7f5ea88e958c818fc56db9fd (diff) | |
download | plus-f40b3cd12dd2e2c65d02816c450e5645fba84109.tar.gz plus-f40b3cd12dd2e2c65d02816c450e5645fba84109.tar.bz2 plus-f40b3cd12dd2e2c65d02816c450e5645fba84109.tar.xz plus-f40b3cd12dd2e2c65d02816c450e5645fba84109.zip |
For skill units in context menu show creator name or id.
Diffstat (limited to 'src/being/being.h')
-rw-r--r-- | src/being/being.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/being/being.h b/src/being/being.h index 585b59a43..31c28d28f 100644 --- a/src/being/being.h +++ b/src/being/being.h @@ -925,6 +925,12 @@ class Being notfinal : public ActorSprite, { return mSpiritBalls; } void stopCast(const bool b) override final; + + void setCreatorId(const BeingId id) + { mCreatorId = id; } + + BeingId getCreatorId() const noexcept A_WARN_UNUSED + { return mCreatorId; } #endif void setKarma(const int karma) restrict2 noexcept @@ -1170,6 +1176,9 @@ class Being notfinal : public ActorSprite, int mKarma; int mManner; int mAreaSize; +#ifdef EATHENA_SUPPORT + BeingId mCreatorId; +#endif uint16_t mTeamId; uint16_t mLook; uint16_t mBadgesCount; |