persister cleanup (still broke but logic is there for when it isn't); also replace all the SOE BS for forwarding stl port with native object classes because i thought that may be part of the problem...

This commit is contained in:
DarthArgus
2016-12-10 23:17:06 +00:00
parent 688ab3fc9e
commit 8e94519082
450 changed files with 1287 additions and 1494 deletions
@@ -18,8 +18,8 @@ class DataTable;
class SkillManager
{
public:
typedef stdunordered_map<std::string, SkillObject *>::fwd SkillMap;
typedef stdunordered_map<std::string, uint32>::fwd XpLimitMap;
typedef std::unordered_map<std::string, SkillObject *> SkillMap;
typedef std::unordered_map<std::string, uint32> XpLimitMap;
virtual ~SkillManager ();
@@ -37,7 +37,7 @@ namespace
//----------------------------------------------------------------------
typedef stdvector<std::string>::fwd StringVector;
typedef std::vector<std::string> StringVector;
inline void tokenizeList (const std::string & str, StringVector & sv, int row, const std::string & columnName)
{
UNREF (row);
@@ -19,15 +19,15 @@ public:
virtual ~SkillObject();
bool load(DataTable & file, const std::string & skillName);
typedef stdvector<const SkillObject *>::fwd SkillVector;
typedef std::vector<const SkillObject *> SkillVector;
typedef std::pair<int, int> XpPair; // xp needed, xp limit
typedef std::pair<std::string, XpPair> ExperiencePair;
typedef stdvector<ExperiencePair>::fwd ExperienceVector;
typedef std::vector<ExperiencePair> ExperienceVector;
typedef std::pair<std::string, int> GenericMod;
typedef stdvector<GenericMod>::fwd GenericModVector;
typedef stdvector<std::string>::fwd StringVector;
typedef std::vector<GenericMod> GenericModVector;
typedef std::vector<std::string> StringVector;
typedef std::pair<std::string, bool> SpeciesFlag;
typedef stdvector<SpeciesFlag>::fwd SpeciesFlagVector;
typedef std::vector<SpeciesFlag> SpeciesFlagVector;
const SkillObject * findCategory () const;