Fleshed out and rewrote some code

Fleshed out HandleCharacterNew() and HandleCharacterDelete(), and rewrote
HandleSynchronize().
This commit is contained in:
Kayne Ruse
2014-06-08 02:51:12 +10:00
parent ee2ac0b7a9
commit 5175a4e40d
4 changed files with 81 additions and 23 deletions
-1
View File
@@ -68,7 +68,6 @@ CharacterManager::~CharacterManager() {
}
}
//TODO: should statistics be stored separately?
//TODO: default stats as a parameter? This would be good for differing beggining states or multiple classes
int CharacterManager::CreateCharacter(int owner, std::string handle, std::string avatar) {
//Create the character, failing if it exists