summaryrefslogtreecommitdiff
path: root/src/game-server/character.hpp
diff options
context:
space:
mode:
authorGuillaume Melquiond <guillaume.melquiond@gmail.com>2007-08-28 17:03:44 +0000
committerGuillaume Melquiond <guillaume.melquiond@gmail.com>2007-08-28 17:03:44 +0000
commite678c7cc1574d5739f83da2b0d493b44e3a7a42e (patch)
treea184372b02622d82bc85a9827a835de186b0e2ed /src/game-server/character.hpp
parentc4a2cd54d72f776d6e37eae7a8c67caa81269f4f (diff)
downloadmanaserv-e678c7cc1574d5739f83da2b0d493b44e3a7a42e.tar.gz
manaserv-e678c7cc1574d5739f83da2b0d493b44e3a7a42e.tar.bz2
manaserv-e678c7cc1574d5739f83da2b0d493b44e3a7a42e.tar.xz
manaserv-e678c7cc1574d5739f83da2b0d493b44e3a7a42e.zip
Implemented quest variables.
Diffstat (limited to 'src/game-server/character.hpp')
-rw-r--r--src/game-server/character.hpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/game-server/character.hpp b/src/game-server/character.hpp
index 2cf4500c..eff99286 100644
--- a/src/game-server/character.hpp
+++ b/src/game-server/character.hpp
@@ -23,6 +23,7 @@
#ifndef _TMWSERV_CHARACTER_HPP_
#define _TMWSERV_CHARACTER_HPP_
+#include <map>
#include <string>
#include <vector>
@@ -207,6 +208,12 @@ class Character : public Being
*/
void modifiedAttribute(int);
+ /**
+ * Associative array containing all the quest variables known by the
+ * server.
+ */
+ std::map< std::string, std::string > questCache;
+
private:
Character(Character const &);
Character &operator=(Character const &);