diff options
author | Guillaume Melquiond <guillaume.melquiond@gmail.com> | 2007-08-28 17:03:44 +0000 |
---|---|---|
committer | Guillaume Melquiond <guillaume.melquiond@gmail.com> | 2007-08-28 17:03:44 +0000 |
commit | e678c7cc1574d5739f83da2b0d493b44e3a7a42e (patch) | |
tree | a184372b02622d82bc85a9827a835de186b0e2ed /src/account-server/storage.hpp | |
parent | c4a2cd54d72f776d6e37eae7a8c67caa81269f4f (diff) | |
download | manaserv-e678c7cc1574d5739f83da2b0d493b44e3a7a42e.tar.gz manaserv-e678c7cc1574d5739f83da2b0d493b44e3a7a42e.tar.bz2 manaserv-e678c7cc1574d5739f83da2b0d493b44e3a7a42e.tar.xz manaserv-e678c7cc1574d5739f83da2b0d493b44e3a7a42e.zip |
Implemented quest variables.
Diffstat (limited to 'src/account-server/storage.hpp')
-rw-r--r-- | src/account-server/storage.hpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/account-server/storage.hpp b/src/account-server/storage.hpp index 55a82abf..d436fa1f 100644 --- a/src/account-server/storage.hpp +++ b/src/account-server/storage.hpp @@ -319,6 +319,17 @@ class Storage */ virtual void flush(AccountPtr const &account) = 0; + /** + * Gets the value of a quest variable. + */ + virtual std::string getQuestVar(int id, std::string const &) = 0; + + /** + * Sets the value of a quest variable. + */ + virtual void setQuestVar(int id, std::string const &, + std::string const &) = 0; + protected: /** |