From af33f0e393cadf026d4f82f7515aa262d18794aa Mon Sep 17 00:00:00 2001 From: Matthew Fioravante Date: Sun, 16 Aug 2020 14:07:00 -0400 Subject: [PATCH] EventCommand use DBString --- generator/csv/fields.csv | 2 +- src/generated/lcf/rpg/eventcommand.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/generator/csv/fields.csv b/generator/csv/fields.csv index ed4e63ced..54d678e93 100644 --- a/generator/csv/fields.csv +++ b/generator/csv/fields.csv @@ -1019,7 +1019,7 @@ Equipment,helmet_id,,Ref,,0,0,0, Equipment,accessory_id,,Ref,,0,0,0, EventCommand,code,,Enum,,0,0,0, EventCommand,indent,,Int32,,0,0,0, -EventCommand,string,,String,,'',0,0, +EventCommand,string,,DBString,,'',0,0, EventCommand,parameters,,Vector,,,0,0, MoveCommand,command_id,,Enum,,0,0,0, MoveCommand,parameter_string,,String,,'',0,0, diff --git a/src/generated/lcf/rpg/eventcommand.h b/src/generated/lcf/rpg/eventcommand.h index 3ad719d98..02d750022 100644 --- a/src/generated/lcf/rpg/eventcommand.h +++ b/src/generated/lcf/rpg/eventcommand.h @@ -14,8 +14,8 @@ // Headers #include -#include #include +#include "lcf/dbstring.h" #include "lcf/enum_tags.h" #include #include @@ -176,7 +176,7 @@ namespace rpg { int32_t code = 0; int32_t indent = 0; - std::string string; + DBString string; std::vector parameters; }; inline std::ostream& operator<<(std::ostream& os, EventCommand::Code code) {