mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-31 09:06:46 +00:00
Repository tweaks [skip ci]
This commit is contained in:
@@ -20,8 +20,8 @@
|
||||
*/
|
||||
|
||||
/**
|
||||
* This repository was automatically generated on Apr 5, 2020 and is NOT
|
||||
* to be modified directly. Any repository modifications are meant to be made to
|
||||
* This repository was automatically generated and is NOT to be modified directly.
|
||||
* Any repository modifications are meant to be made to
|
||||
* the repository extending the base. Any modifications to base repositories are to
|
||||
* be made by the generator only
|
||||
*/
|
||||
@@ -292,6 +292,7 @@ public:
|
||||
|
||||
auto columns = Columns();
|
||||
|
||||
update_values.push_back(columns[0] + " = " + std::to_string(adventure_template_entry.id));
|
||||
update_values.push_back(columns[1] + " = '" + EscapeString(adventure_template_entry.zone) + "'");
|
||||
update_values.push_back(columns[2] + " = " + std::to_string(adventure_template_entry.zone_version));
|
||||
update_values.push_back(columns[3] + " = " + std::to_string(adventure_template_entry.is_hard));
|
||||
@@ -344,6 +345,7 @@ public:
|
||||
{
|
||||
std::vector<std::string> insert_values;
|
||||
|
||||
insert_values.push_back(std::to_string(adventure_template_entry.id));
|
||||
insert_values.push_back("'" + EscapeString(adventure_template_entry.zone) + "'");
|
||||
insert_values.push_back(std::to_string(adventure_template_entry.zone_version));
|
||||
insert_values.push_back(std::to_string(adventure_template_entry.is_hard));
|
||||
@@ -404,6 +406,7 @@ public:
|
||||
for (auto &adventure_template_entry: adventure_template_entries) {
|
||||
std::vector<std::string> insert_values;
|
||||
|
||||
insert_values.push_back(std::to_string(adventure_template_entry.id));
|
||||
insert_values.push_back("'" + EscapeString(adventure_template_entry.zone) + "'");
|
||||
insert_values.push_back(std::to_string(adventure_template_entry.zone_version));
|
||||
insert_values.push_back(std::to_string(adventure_template_entry.is_hard));
|
||||
|
||||
Reference in New Issue
Block a user