summaryrefslogtreecommitdiff
path: root/src/game-server/skillmanager.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/game-server/skillmanager.h')
-rw-r--r--src/game-server/skillmanager.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/game-server/skillmanager.h b/src/game-server/skillmanager.h
index 85f7f42e..12828fe4 100644
--- a/src/game-server/skillmanager.h
+++ b/src/game-server/skillmanager.h
@@ -28,8 +28,7 @@
class SkillManager
{
public:
- SkillManager(const std::string & skillFile):
- mSkillFile(skillFile),
+ SkillManager():
mDefaultSkillId(0)
{}
@@ -64,6 +63,11 @@ class SkillManager
unsigned getDefaultSkillId() const
{ return mDefaultSkillId; }
+
+ void readSkillSetNode(xmlNodePtr node, const std::string &filename);
+
+ void checkStatus();
+
private:
struct SkillInfo {
SkillInfo():
@@ -80,12 +84,9 @@ class SkillManager
*/
void clear();
- void readSkillNode(xmlNodePtr skillNode, const std::string& setName);
-
void printDebugSkillTable();
- // The skill file (skills.xml)
- std::string mSkillFile;
+ void readSkillNode(xmlNodePtr skillNode, const std::string& setName);
// The skill map
typedef std::map<unsigned, SkillInfo*> SkillsInfo;