Converted const.txt to YAML (#6187)
* Converts the Constant Tables file into YAML. * Includes CSV2YAML converter. Co-authored-by: Aleos <aleos89@users.noreply.github.com> Co-authored-by: Lemongrass3110 <lemongrass@kstp.at>
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
#ifndef SCRIPT_HPP
|
||||
#define SCRIPT_HPP
|
||||
|
||||
#include "../common/database.hpp"
|
||||
#include "../common/cbasetypes.hpp"
|
||||
#include "../common/db.hpp"
|
||||
#include "../common/mmo.hpp"
|
||||
@@ -2058,6 +2059,17 @@ enum e_iteminfo : uint8 {
|
||||
ITEMINFO_AEGISNAME // 18
|
||||
};
|
||||
|
||||
class ConstantDatabase : public YamlDatabase {
|
||||
public:
|
||||
ConstantDatabase() : YamlDatabase("CONSTANT_DB", 1) {
|
||||
|
||||
}
|
||||
|
||||
void clear() { }
|
||||
const std::string getDefaultLocation();
|
||||
uint64 parseBodyNode(const YAML::Node& node);
|
||||
};
|
||||
|
||||
/**
|
||||
* used to generate quick script_array entries
|
||||
**/
|
||||
|
||||
Reference in New Issue
Block a user