Handles the.
Definition: FieldTextWriter.h:26
void End()
Finalizes the text file.
Definition: FieldTextWriter.cpp:323
void AddText(std::vector< unsigned char > &text)
Adds text.
Definition: FieldTextWriter.cpp:328
std::unique_ptr< Logger > logger_
The logger used to write text.
Definition: FieldTextWriter.h:87
u16 GetU16LE(u32 offset)
Reads 16 bytes of data from the data (little endian).
Definition: FieldTextWriter.cpp:39
u8 GetU8(u32 offset)
Reads 8 bytes of data from the data.
Definition: FieldTextWriter.cpp:44
void Begin(std::string file_name)
Initializes the text file.
Definition: FieldTextWriter.cpp:25
bool tag_open_
Indicates if the text XML tag has been opened and not closed.
Definition: FieldTextWriter.h:97
void Write(const std::vector< u8 > &script_section_buffer, std::string field_name, bool english=true)
Writes text to the XML file.
Definition: FieldTextWriter.cpp:49
std::vector< u8 > data_
The data being read.
Definition: FieldTextWriter.h:92