summaryrefslogtreecommitdiff
path: root/src/account-server/storage.h
diff options
context:
space:
mode:
authorErik Schilling <ablu.erikschilling@googlemail.com>2013-04-03 21:17:50 +0200
committerErik Schilling <ablu.erikschilling@googlemail.com>2013-04-11 13:42:59 +0200
commitd95fccfca8575d8fb06988e558a338e37776961a (patch)
tree6d7200a55ae910357311ef35295387fbb6969095 /src/account-server/storage.h
parentc1ba76b936c04dbdcdcc3ed86f919a949c8aa63f (diff)
downloadmanaserv-d95fccfca8575d8fb06988e558a338e37776961a.tar.gz
manaserv-d95fccfca8575d8fb06988e558a338e37776961a.tar.bz2
manaserv-d95fccfca8575d8fb06988e558a338e37776961a.tar.xz
manaserv-d95fccfca8575d8fb06988e558a338e37776961a.zip
Renamed Character -> CharacterData in the accountserver
Diffstat (limited to 'src/account-server/storage.h')
-rw-r--r--src/account-server/storage.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/account-server/storage.h b/src/account-server/storage.h
index 06645c69..fbc4cd8c 100644
--- a/src/account-server/storage.h
+++ b/src/account-server/storage.h
@@ -30,7 +30,7 @@
#include "common/transaction.h"
class Account;
-class Character;
+class CharacterData;
class ChatChannel;
class FloorItem;
class Guild;
@@ -83,7 +83,7 @@ class Storage
*
* @return the character associated to the Id.
*/
- Character *getCharacter(int id, Account *owner);
+ CharacterData *getCharacter(int id, Account *owner);
/**
* Gets a character by character name.
@@ -92,7 +92,7 @@ class Storage
*
* @return the character associated to the name
*/
- Character *getCharacter(const std::string &name);
+ CharacterData *getCharacter(const std::string &name);
/**
* Gets the id of a character by its name.
@@ -194,7 +194,7 @@ class Storage
*
* @param character character object.
*/
- void delCharacter(Character *character) const;
+ void delCharacter(CharacterData *character) const;
/**
* Removes expired bans from accounts
@@ -238,7 +238,7 @@ class Storage
*
* @return true on success
*/
- bool updateCharacter(Character *ptr);
+ bool updateCharacter(CharacterData *ptr);
/**
* Add a new guild.
@@ -475,7 +475,7 @@ class Storage
*
* @return the character found by the query.
*/
- Character *getCharacterBySQL(Account *owner);
+ CharacterData *getCharacterBySQL(Account *owner);
/**
* Fix improper character slots