From f40b3cd12dd2e2c65d02816c450e5645fba84109 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 13 Mar 2016 16:22:46 +0300 Subject: For skill units in context menu show creator name or id. --- src/being/being.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/being/being.h') 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; -- cgit v1.2.3-70-g09d2