From 5427da41d391937a9e9b353889347a7462a734f8 Mon Sep 17 00:00:00 2001 From: David Athay Date: Mon, 27 Oct 2008 17:16:40 +0000 Subject: Added changing player's character and account level (game-server commit to come at a later date) --- src/account-server/dalstorage.hpp | 22 +++++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) (limited to 'src/account-server/dalstorage.hpp') 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 -- cgit v1.2.3-60-g2f50