Converted the skill database to YAML (#4531)

* Combines skill_cast_db, skill_castnodex_db, skill_copyable_db, skill_nonearnpc_db, skill_require_db, and skill_unit_db into skill_db.
* Introduces a cached YAML class for quicker lookups.
* General cleanups and optimizations.
* Includes CSV2YAML conversion tool.
Thanks to @Lemongrass3110!
Co-authored-by: Lemongrass3110 <lemongrass@kstp.at>
This commit is contained in:
Aleos
2020-01-31 14:14:08 -05:00
committed by GitHub
parent de9f667d2f
commit dca3797d44
51 changed files with 74122 additions and 12272 deletions

View File

@@ -125,9 +125,15 @@ bool YamlDatabase::load(const std::string& path) {
this->parseImports( rootNode );
this->loadingFinished();
return true;
}
void YamlDatabase::loadingFinished(){
// Does nothing by default, just for hooking
}
void YamlDatabase::parse( const YAML::Node& rootNode ){
uint64 count = 0;