diff options
author | David Athay <ko2fan@gmail.com> | 2008-10-27 17:16:40 +0000 |
---|---|---|
committer | David Athay <ko2fan@gmail.com> | 2008-10-27 17:16:40 +0000 |
commit | 5427da41d391937a9e9b353889347a7462a734f8 (patch) | |
tree | 71185fce65324a0d99683084226f20e8be065140 /src/account-server/dalstorage.hpp | |
parent | fb2b268a2616617800b92330e09278042e50e7d7 (diff) | |
download | manaserv-5427da41d391937a9e9b353889347a7462a734f8.tar.gz manaserv-5427da41d391937a9e9b353889347a7462a734f8.tar.bz2 manaserv-5427da41d391937a9e9b353889347a7462a734f8.tar.xz manaserv-5427da41d391937a9e9b353889347a7462a734f8.zip |
Added changing player's character and account level (game-server commit to come at a later date)
Diffstat (limited to 'src/account-server/dalstorage.hpp')
-rw-r--r-- | src/account-server/dalstorage.hpp | 22 |
1 files changed, 19 insertions, 3 deletions
diff --git a/src/account-server/dalstorage.hpp b/src/account-server/dalstorage.hpp index 1e8566ef..ae1657c0 100644 --- a/src/account-server/dalstorage.hpp +++ b/src/account-server/dalstorage.hpp @@ -286,18 +286,34 @@ class DALStorage std::string const &value); /** - * Store post + * Set the level on an account + * + * @param id The id of the account + * @param level The level to set for the account + */ + void setAccountLevel(int id, int level); + + /** + * Set the level on a character + * + * @param id The id of the character + * @param level The level to set for the character + */ + void setPlayerLevel(int id, int level); + + /** + * Store letter * * @param letter The letter to store */ - void storePost(Letter *letter); + void storeLetter(Letter *letter); /** * Retrieve post * * @param playerId The id of the player requesting his post */ - Letter* getStoredPost(int playerId); + Post* getStoredPost(int playerId); /** * Add item to auction |