diff options
Diffstat (limited to 'src/account-server/storage.hpp')
-rw-r--r-- | src/account-server/storage.hpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/account-server/storage.hpp b/src/account-server/storage.hpp index fec6dcf3..d530f6f2 100644 --- a/src/account-server/storage.hpp +++ b/src/account-server/storage.hpp @@ -173,6 +173,15 @@ class Storage getAccount(const std::string& userName) = 0; /** + * Gets a character by database ID. + * + * @param id the ID of the character. + * + * @return the character associated to the ID. + */ + virtual PlayerPtr getCharacter(int id) = 0; + + /** * Add a new account. * * @param account the new account. |