/* !!!! GENERATED FILE - DO NOT EDIT !!!!
 * --------------------------------------
 *
 * This file is part of liblcf. Copyright (c) liblcf authors.
 * https://github.com/EasyRPG/liblcf - https://easyrpg.org
 *
 * liblcf is Free/Libre Open Source Software, released under the MIT License.
 * For the full copyright and license information, please view the COPYING
 * file that was distributed with this source code.
 */

// Headers
#include "lcf/lsd/reader.h"
#include "lcf/lsd/chunks.h"
#include "reader_struct_impl.h"

namespace lcf {

// Read SaveEventExecFrame.

template <>
char const* const Struct<rpg::SaveEventExecFrame>::name = "SaveEventExecFrame";
static SizeField<rpg::SaveEventExecFrame, std::vector<rpg::EventCommand>> static_size_commands(
	&rpg::SaveEventExecFrame::commands,
	LSD_Reader::ChunkSaveEventExecFrame::commands_size,
	1,
	0
);
static TypedField<rpg::SaveEventExecFrame, std::vector<rpg::EventCommand>> static_commands(
	&rpg::SaveEventExecFrame::commands,
	LSD_Reader::ChunkSaveEventExecFrame::commands,
	"commands",
	1,
	0
);
static TypedField<rpg::SaveEventExecFrame, int32_t> static_current_command(
	&rpg::SaveEventExecFrame::current_command,
	LSD_Reader::ChunkSaveEventExecFrame::current_command,
	"current_command",
	0,
	0
);
static TypedField<rpg::SaveEventExecFrame, int32_t> static_event_id(
	&rpg::SaveEventExecFrame::event_id,
	LSD_Reader::ChunkSaveEventExecFrame::event_id,
	"event_id",
	0,
	0
);
static TypedField<rpg::SaveEventExecFrame, bool> static_triggered_by_decision_key(
	&rpg::SaveEventExecFrame::triggered_by_decision_key,
	LSD_Reader::ChunkSaveEventExecFrame::triggered_by_decision_key,
	"triggered_by_decision_key",
	0,
	0
);
static SizeField<rpg::SaveEventExecFrame, std::vector<uint8_t>> static_size_subcommand_path(
	&rpg::SaveEventExecFrame::subcommand_path,
	LSD_Reader::ChunkSaveEventExecFrame::subcommand_path_size,
	0,
	0
);
static TypedField<rpg::SaveEventExecFrame, std::vector<uint8_t>> static_subcommand_path(
	&rpg::SaveEventExecFrame::subcommand_path,
	LSD_Reader::ChunkSaveEventExecFrame::subcommand_path,
	"subcommand_path",
	1,
	0
);
static TypedField<rpg::SaveEventExecFrame, int32_t> static_maniac_event_info(
	&rpg::SaveEventExecFrame::maniac_event_info,
	LSD_Reader::ChunkSaveEventExecFrame::maniac_event_info,
	"maniac_event_info",
	0,
	0
);
static TypedField<rpg::SaveEventExecFrame, int32_t> static_maniac_event_id(
	&rpg::SaveEventExecFrame::maniac_event_id,
	LSD_Reader::ChunkSaveEventExecFrame::maniac_event_id,
	"maniac_event_id",
	0,
	0
);
static TypedField<rpg::SaveEventExecFrame, int32_t> static_maniac_event_page_id(
	&rpg::SaveEventExecFrame::maniac_event_page_id,
	LSD_Reader::ChunkSaveEventExecFrame::maniac_event_page_id,
	"maniac_event_page_id",
	0,
	0
);
static TypedField<rpg::SaveEventExecFrame, int32_t> static_maniac_loop_info_size(
	&rpg::SaveEventExecFrame::maniac_loop_info_size,
	LSD_Reader::ChunkSaveEventExecFrame::maniac_loop_info_size,
	"maniac_loop_info_size",
	0,
	0
);
static TypedField<rpg::SaveEventExecFrame, std::vector<int32_t>> static_maniac_loop_info(
	&rpg::SaveEventExecFrame::maniac_loop_info,
	LSD_Reader::ChunkSaveEventExecFrame::maniac_loop_info,
	"maniac_loop_info",
	0,
	0
);
static TypedField<rpg::SaveEventExecFrame, rpg::SaveEventExecFrame::EasyRpgFrameRuntime_Flags> static_easyrpg_runtime_flags(
	&rpg::SaveEventExecFrame::easyrpg_runtime_flags,
	LSD_Reader::ChunkSaveEventExecFrame::easyrpg_runtime_flags,
	"easyrpg_runtime_flags",
	0,
	0
);


template <>
Field<rpg::SaveEventExecFrame> const* Struct<rpg::SaveEventExecFrame>::fields[] = {
	&static_size_commands,
	&static_commands,
	&static_current_command,
	&static_event_id,
	&static_triggered_by_decision_key,
	&static_size_subcommand_path,
	&static_subcommand_path,
	&static_maniac_event_info,
	&static_maniac_event_id,
	&static_maniac_event_page_id,
	&static_maniac_loop_info_size,
	&static_maniac_loop_info,
	&static_easyrpg_runtime_flags,
	NULL
};

template class Struct<rpg::SaveEventExecFrame>;

} //namespace lcf
