summaryrefslogtreecommitdiffstats
path: root/src/game-server/emotemanager.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/game-server/emotemanager.h')
-rw-r--r--src/game-server/emotemanager.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/game-server/emotemanager.h b/src/game-server/emotemanager.h
index 42c7168..9470132 100644
--- a/src/game-server/emotemanager.h
+++ b/src/game-server/emotemanager.h
@@ -31,8 +31,7 @@ class EmoteManager
{
public:
- EmoteManager(const std::string &emoteFile):
- mEmoteFile(emoteFile)
+ EmoteManager()
{ }
~EmoteManager()
@@ -43,11 +42,17 @@ public:
*/
void initialize();
+ void reload();
+
/**
* Tells whether the given id is a valid emote one.
*/
bool isIdAvailable(int id) const;
+ void readEmoteNode(xmlNodePtr node, const std::string &filename);
+
+ void checkStatus();
+
private:
/**
* Clears up the emote list.
@@ -55,7 +60,6 @@ private:
void clear()
{ mEmoteIds.clear(); }
- std::string mEmoteFile;
std::vector<int> mEmoteIds;
};