summaryrefslogtreecommitdiff
path: root/src/account-server/dalstorage.hpp
diff options
context:
space:
mode:
authorGuillaume Melquiond <guillaume.melquiond@gmail.com>2006-12-31 13:37:33 +0000
committerGuillaume Melquiond <guillaume.melquiond@gmail.com>2006-12-31 13:37:33 +0000
commitad002e15ffdd80b36ced71c2fb9b91366afed15d (patch)
tree7cee8a8be51b1ac6ee26ae3861cc4780f9a6b83a /src/account-server/dalstorage.hpp
parent723e7454e5d164b9d438a45b0446b56b72f36d83 (diff)
downloadmanaserv-ad002e15ffdd80b36ced71c2fb9b91366afed15d.tar.gz
manaserv-ad002e15ffdd80b36ced71c2fb9b91366afed15d.tar.bz2
manaserv-ad002e15ffdd80b36ced71c2fb9b91366afed15d.tar.xz
manaserv-ad002e15ffdd80b36ced71c2fb9b91366afed15d.zip
Finished implementation for warping players around servers. Thoroughly untested.
Diffstat (limited to 'src/account-server/dalstorage.hpp')
-rw-r--r--src/account-server/dalstorage.hpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/account-server/dalstorage.hpp b/src/account-server/dalstorage.hpp
index 22c6c6e8..d2633e23 100644
--- a/src/account-server/dalstorage.hpp
+++ b/src/account-server/dalstorage.hpp
@@ -65,6 +65,14 @@ class DALStorage: public Storage
AccountPtr
getAccount(const std::string& userName);
+ /**
+ * Gets a character by database ID.
+ *
+ * @param id the ID of the character.
+ *
+ * @return the character associated to the ID.
+ */
+ PlayerPtr getCharacter(int id);
/**
* Add a new account.