Represents a configurable parameter within an ASM patch. More...
#include <asm_patch.h>
Public Attributes | |
| std::string | define_name |
| std::string | display_name |
| PatchParameterType | type = PatchParameterType::kByte |
| int | value = 0 |
| int | min_value = 0 |
| int | max_value = 0xFF |
| int | checked_value = 1 |
| int | unchecked_value = 0 |
| bool | use_decimal = false |
| std::vector< std::string > | choices |
Represents a configurable parameter within an ASM patch.
Parameters are defined in the patch file between ;#DEFINE_START and ;#DEFINE_END markers. Each parameter has metadata attributes followed by an Asar define line (e.g., !MY_DEFINE = $10).
Definition at line 33 of file asm_patch.h.
| std::string yaze::core::PatchParameter::define_name |
Definition at line 34 of file asm_patch.h.
Referenced by yaze::editor::SettingsPanel::DrawParameterWidget(), and yaze::core::AsmPatch::ParseMetadata().
| std::string yaze::core::PatchParameter::display_name |
Definition at line 35 of file asm_patch.h.
Referenced by yaze::editor::SettingsPanel::DrawParameterWidget(), and yaze::core::AsmPatch::ParseMetadata().
| PatchParameterType yaze::core::PatchParameter::type = PatchParameterType::kByte |
Definition at line 36 of file asm_patch.h.
Referenced by yaze::editor::SettingsPanel::DrawParameterWidget(), and yaze::core::AsmPatch::ParseMetadata().
| int yaze::core::PatchParameter::value = 0 |
Definition at line 37 of file asm_patch.h.
Referenced by yaze::editor::SettingsPanel::DrawParameterWidget(), and yaze::core::AsmPatch::ParseMetadata().
| int yaze::core::PatchParameter::min_value = 0 |
Definition at line 38 of file asm_patch.h.
Referenced by yaze::editor::SettingsPanel::DrawParameterWidget(), and yaze::core::AsmPatch::ParseMetadata().
| int yaze::core::PatchParameter::max_value = 0xFF |
Definition at line 39 of file asm_patch.h.
Referenced by yaze::editor::SettingsPanel::DrawParameterWidget(), and yaze::core::AsmPatch::ParseMetadata().
| int yaze::core::PatchParameter::checked_value = 1 |
Definition at line 40 of file asm_patch.h.
Referenced by yaze::editor::SettingsPanel::DrawParameterWidget(), and yaze::core::AsmPatch::ParseMetadata().
| int yaze::core::PatchParameter::unchecked_value = 0 |
Definition at line 41 of file asm_patch.h.
Referenced by yaze::editor::SettingsPanel::DrawParameterWidget(), and yaze::core::AsmPatch::ParseMetadata().
| bool yaze::core::PatchParameter::use_decimal = false |
Definition at line 42 of file asm_patch.h.
Referenced by yaze::editor::SettingsPanel::DrawParameterWidget(), and yaze::core::AsmPatch::ParseMetadata().
| std::vector<std::string> yaze::core::PatchParameter::choices |
Definition at line 43 of file asm_patch.h.
Referenced by yaze::editor::SettingsPanel::DrawParameterWidget(), and yaze::core::AsmPatch::ParseMetadata().