This commit is contained in:
aozhiwei 2024-01-15 10:50:17 +08:00
parent 71287dce40
commit aa29a33b97
3 changed files with 19 additions and 1 deletions

View File

@ -26,4 +26,19 @@ namespace mt
return false; return false;
} }
std::shared_ptr<std::vector<std::tuple<int, float>>> BattleHeroGrow::GetLevelAttrs() const
{
return nullptr;
}
std::shared_ptr<std::vector<int>> BattleHeroGrow::GetEquipEffects() const
{
return nullptr;
}
int BattleHeroGrow::GetSkilLEffect() const
{
return 0;
}
} }

View File

@ -16,6 +16,9 @@ namespace mt
const BattleHeroGrow* GetNextMeta() const; const BattleHeroGrow* GetNextMeta() const;
bool IsFullLevel() const; bool IsFullLevel() const;
std::shared_ptr<std::vector<std::tuple<int, float>>> GetLevelAttrs() const;
std::shared_ptr<std::vector<int>> GetEquipEffects() const;
int GetSkilLEffect() const;
private: private:
}; };

View File

@ -773,6 +773,6 @@ message BattleHeroGrow
optional int32 lootExp = 7; optional int32 lootExp = 7;
optional string currentLevelAttribute = 8; optional string currentLevelAttribute = 8;
optional string currentEquipEffect = 9; optional string currentEquipEffect = 9;
optional string currentSkillEffect = 10; optional int32 currentSkillEffect = 10;
optional string currentSkillDesc = 11; optional string currentSkillDesc = 11;
} }