This commit is contained in:
aozhiwei 2024-01-03 16:51:59 +08:00
parent 015e693225
commit 5acb72fe88

View File

@ -6,6 +6,8 @@
namespace mt namespace mt
{ {
class BattleBasicAttribute;
struct HeroShotAnimation struct HeroShotAnimation
{ {
int id = 0; int id = 0;
@ -53,9 +55,11 @@ namespace mt
int RandDrop() const; int RandDrop() const;
const HeroShotAnimation* GetShotAnimi(int shotfire) const; const HeroShotAnimation* GetShotAnimi(int shotfire) const;
float GetHeight() const { return height_; } float GetHeight() const { return height_; }
std::shared_ptr<BattleBasicAttribute> GetBasicMeta() { return basic_meta_; }
private: private:
float height_ = 0.0f; float height_ = 0.0f;
std::shared_ptr<mt::BattleBasicAttribute> basic_meta_ = nullptr;
static void LoadHeroAndEquipShotData(); static void LoadHeroAndEquipShotData();
}; };