1 // Ryzom - MMORPG Framework <http://dev.ryzom.com/projects/ryzom/>
2 // Copyright (C) 2010 Winch Gate Property Limited
4 // This program is free software: you can redistribute it and/or modify
5 // it under the terms of the GNU Affero General Public License as
6 // published by the Free Software Foundation, either version 3 of the
7 // License, or (at your option) any later version.
9 // This program is distributed in the hope that it will be useful,
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 // GNU Affero General Public License for more details.
14 // You should have received a copy of the GNU Affero General Public License
15 // along with this program. If not, see <http://www.gnu.org/licenses/>.
20 #include "nel/misc/types_nl.h"
24 // NbSkills in enum : 225 Report this in database.xls
25 // BRIANCODE - adding an "any" enum AFTER NUM_SKILLS so I can check if "any" skill is level X or higher (for example)
263 * get the right skill enum from the input string
264 * \param str the input string
265 * \return the ESkills associated to this string (Unknown if the string cannot be interpreted)
267 ESkills
toSkill ( const std::string
&str
);
270 * get the right skill string from the gived enum
271 * \param skill the skill to convert
272 * \return the string associated to this enum number (Unknown if the enum number not exist)
274 const std::string
& toString( uint16 skill
);
277 * get the skill category name
278 * \param s is the enum number
279 * \return the string name of skill type (Unknown if the enum number not exist)
281 const std::string
& getSkillCategoryName( uint16 s
);
285 #endif // RY_SKILLS_H
286 /* End of skills.h */