Skip to content

Commit

Permalink
EventCommand use DBString
Browse files Browse the repository at this point in the history
  • Loading branch information
mateofio committed Aug 16, 2020
1 parent 09cfa2d commit af33f0e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion generator/csv/fields.csv
Original file line number Diff line number Diff line change
Expand Up @@ -1019,7 +1019,7 @@ Equipment,helmet_id,,Ref<Item:Int16>,,0,0,0,
Equipment,accessory_id,,Ref<Item:Int16>,,0,0,0,
EventCommand,code,,Enum<EventCommand_Code>,,0,0,0,
EventCommand,indent,,Int32,,0,0,0,
EventCommand,string,,String,,'',0,0,
EventCommand,string,,DBString,,'',0,0,
EventCommand,parameters,,Vector<Int32>,,,0,0,
MoveCommand,command_id,,Enum<MoveCommand_Code>,,0,0,0,
MoveCommand,parameter_string,,String,,'',0,0,
Expand Down
4 changes: 2 additions & 2 deletions src/generated/lcf/rpg/eventcommand.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@

// Headers
#include <stdint.h>
#include <string>
#include <vector>
#include "lcf/dbstring.h"
#include "lcf/enum_tags.h"
#include <ostream>
#include <type_traits>
Expand Down Expand Up @@ -176,7 +176,7 @@ namespace rpg {

int32_t code = 0;
int32_t indent = 0;
std::string string;
DBString string;
std::vector<int32_t> parameters;
};
inline std::ostream& operator<<(std::ostream& os, EventCommand::Code code) {
Expand Down

0 comments on commit af33f0e

Please sign in to comment.