diff options
Diffstat (limited to 'src/account-server/dalstorage.hpp')
-rw-r--r-- | src/account-server/dalstorage.hpp | 8 |
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. |