summaryrefslogtreecommitdiff
path: root/src/game-server/accountconnection.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/accountconnection.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/accountconnection.hpp')
-rw-r--r--src/game-server/accountconnection.hpp13
1 files changed, 12 insertions, 1 deletions
diff --git a/src/game-server/accountconnection.hpp b/src/game-server/accountconnection.hpp
index ba9abe06..9899db14 100644
--- a/src/game-server/accountconnection.hpp
+++ b/src/game-server/accountconnection.hpp
@@ -48,7 +48,18 @@ class AccountConnection : public Connection
/**
* Prepares the account server for a reconnecting player
*/
- void playerReconnectAccount(int id, const std::string magic_token);
+ void playerReconnectAccount(int id, std::string const &magic_token);
+
+ /**
+ * Requests the value of a quest variable from the database.
+ */
+ void requestQuestVar(Character *, std::string const &);
+
+ /**
+ * Pushes a new quest value to the database.
+ */
+ void updateQuestVar(Character *, std::string const &name,
+ std::string const &value);
#if 0
/**