Skip to content

Commit 5df276d

Browse files
committed
EventCommand use DBString
1 parent 67c8aa5 commit 5df276d

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

generator/csv/fields.csv

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1019,7 +1019,7 @@ Equipment,helmet_id,,Ref<Item:Int16>,,0,0,0,
10191019
Equipment,accessory_id,,Ref<Item:Int16>,,0,0,0,
10201020
EventCommand,code,,Enum<EventCommand_Code>,,0,0,0,
10211021
EventCommand,indent,,Int32,,0,0,0,
1022-
EventCommand,string,,String,,'',0,0,
1022+
EventCommand,string,,DBString,,'',0,0,
10231023
EventCommand,parameters,,Vector<Int32>,,,0,0,
10241024
MoveCommand,command_id,,Enum<MoveCommand_Code>,,0,0,0,
10251025
MoveCommand,parameter_string,,String,,'',0,0,

src/generated/lcf/rpg/eventcommand.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414

1515
// Headers
1616
#include <stdint.h>
17-
#include <string>
1817
#include <vector>
18+
#include "lcf/dbstring.h"
1919
#include "lcf/enum_tags.h"
2020
#include <ostream>
2121
#include <type_traits>
@@ -176,7 +176,7 @@ namespace rpg {
176176

177177
int32_t code = 0;
178178
int32_t indent = 0;
179-
std::string string;
179+
DBString string;
180180
std::vector<int32_t> parameters;
181181
};
182182
inline std::ostream& operator<<(std::ostream& os, EventCommand::Code code) {

0 commit comments

Comments
 (0)