diff --git a/server/gameserver/mt/Hero.h b/server/gameserver/mt/Hero.h index 84a41924..a5e5b3a6 100644 --- a/server/gameserver/mt/Hero.h +++ b/server/gameserver/mt/Hero.h @@ -6,6 +6,8 @@ namespace mt { + class BattleBasicAttribute; + struct HeroShotAnimation { int id = 0; @@ -53,9 +55,11 @@ namespace mt int RandDrop() const; const HeroShotAnimation* GetShotAnimi(int shotfire) const; float GetHeight() const { return height_; } + std::shared_ptr GetBasicMeta() { return basic_meta_; } private: float height_ = 0.0f; + std::shared_ptr basic_meta_ = nullptr; static void LoadHeroAndEquipShotData(); };