Skip to content

Commit 33a67e6

Browse files
committed
MoveCommand - use DBString
1 parent 233c838 commit 33a67e6

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

generator/csv/fields.csv

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1022,7 +1022,7 @@ EventCommand,indent,,Int32,,0,0,0,
10221022
EventCommand,string,,DBString,,'',0,0,
10231023
EventCommand,parameters,,Vector<Int32>,,,0,0,
10241024
MoveCommand,command_id,,Enum<MoveCommand_Code>,,0,0,0,
1025-
MoveCommand,parameter_string,,String,,'',0,0,
1025+
MoveCommand,parameter_string,,DBString,,'',0,0,
10261026
MoveCommand,parameter_a,,Int32,,0,0,0,
10271027
MoveCommand,parameter_b,,Int32,,0,0,0,
10281028
MoveCommand,parameter_c,,Int32,,0,0,0,

src/generated/lcf/rpg/movecommand.h

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

1515
// Headers
1616
#include <stdint.h>
17-
#include <string>
17+
#include "lcf/dbstring.h"
1818
#include "lcf/enum_tags.h"
1919
#include <ostream>
2020
#include <type_traits>
@@ -116,7 +116,7 @@ namespace rpg {
116116
);
117117

118118
int32_t command_id = 0;
119-
std::string parameter_string;
119+
DBString parameter_string;
120120
int32_t parameter_a = 0;
121121
int32_t parameter_b = 0;
122122
int32_t parameter_c = 0;

0 commit comments

Comments
 (0)