diff options
Diffstat (limited to 'src/account-server/storage.hpp')
-rw-r--r-- | src/account-server/storage.hpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/account-server/storage.hpp b/src/account-server/storage.hpp index d530f6f2..031acf4d 100644 --- a/src/account-server/storage.hpp +++ b/src/account-server/storage.hpp @@ -173,6 +173,16 @@ class Storage getAccount(const std::string& userName) = 0; /** + * Get an account by ID. + * + * @param accountID the ID of the account. + * + * @return the account associated with the ID. + */ + virtual AccountPtr + getAccountByID(int accountID) = 0; + + /** * Gets a character by database ID. * * @param id the ID of the character. |