void Dialog::SecondarySkillInfo(const Skill::Secondary::skill_t skill, const Skill::Level::type_t level, const bool ok_button) { std::string header(Skill::Level::String(level)); header.append(" "); header.append(Skill::Secondary::String(skill)); std::string description(Skill::Secondary::Description(skill, level)); String::Replace(description, "%{count}", Skill::Secondary::GetValues(skill, level)); SecondarySkillInfo(header, description, skill, level, ok_button); }
void Dialog::SecondarySkillInfo(const Skill::Secondary & skill, const bool ok_button) { SecondarySkillInfo(skill.GetName(), skill.GetDescription(), skill, ok_button); }