summaryrefslogtreecommitdiff
path: root/src/account-server/dalstorage.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/account-server/dalstorage.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/account-server/dalstorage.hpp')
-rw-r--r--src/account-server/dalstorage.hpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/account-server/dalstorage.hpp b/src/account-server/dalstorage.hpp
index 00a5b69b..c25b3fc2 100644
--- a/src/account-server/dalstorage.hpp
+++ b/src/account-server/dalstorage.hpp
@@ -203,6 +203,17 @@ class DALStorage: public Storage
void flushAll();
void flush(AccountPtr const &);
+ /**
+ * Gets the value of a quest variable.
+ */
+ std::string getQuestVar(int id, std::string const &);
+
+ /**
+ * Sets the value of a quest variable.
+ */
+ void setQuestVar(int id, std::string const &, std::string const &);
+
+
private:
/**
* Constructor.