From f5fdb19e7aac292cca31ec23250587e0d97d0ff6 Mon Sep 17 00:00:00 2001 From: Chuck Miller Date: Thu, 1 Oct 2009 00:26:38 -0400 Subject: Adds code for saving and getting status effects from the database --- src/account-server/dalstorage.hpp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/account-server/dalstorage.hpp') diff --git a/src/account-server/dalstorage.hpp b/src/account-server/dalstorage.hpp index 77222377..36bb1e39 100644 --- a/src/account-server/dalstorage.hpp +++ b/src/account-server/dalstorage.hpp @@ -146,6 +146,14 @@ class DALStorage void updateExperience(const int CharId, const int SkillId, const int SkillValue); + /** + * Inserts a record about a status effect into the database + * @param charId ID of the character in the database + * @param statusId ID of the status effect + * @param time Time left on the status effect + */ + void insertStatusEffect(const int charId, const int statusId, const int time); + /** * Sets a ban on an account (hence on all its characters). * -- cgit v1.2.3-60-g2f50