Removed the statistics structure from common/* and server/*
This commit is contained in:
@@ -21,10 +21,6 @@
|
||||
*/
|
||||
#include "character_data.hpp"
|
||||
|
||||
Statistics* CharacterData::GetBaseStats() {
|
||||
return &baseStats;
|
||||
}
|
||||
|
||||
int CharacterData::GetOwner() {
|
||||
return owner;
|
||||
}
|
||||
|
||||
@@ -25,7 +25,6 @@
|
||||
//components
|
||||
#include "character_defines.hpp"
|
||||
#include "entity.hpp"
|
||||
#include "statistics.hpp"
|
||||
|
||||
//std namespace
|
||||
#include <string>
|
||||
@@ -37,7 +36,7 @@ public:
|
||||
~CharacterData() = default;
|
||||
|
||||
//accessors and mutators
|
||||
Statistics* GetBaseStats();
|
||||
//...
|
||||
|
||||
//database stuff
|
||||
int GetOwner();
|
||||
@@ -47,8 +46,6 @@ public:
|
||||
private:
|
||||
friend class CharacterManager;
|
||||
|
||||
Statistics baseStats;
|
||||
|
||||
int owner;
|
||||
std::string handle;
|
||||
std::string avatar;
|
||||
|
||||
Reference in New Issue
Block a user