#[repr(transparent)]pub struct EventCommandCode(pub i32);Tuple Fields§
§0: i32Implementations§
Source§impl EventCommandCode
impl EventCommandCode
pub const END: Self
pub const CALL_COMMON_EVENT: Self
pub const FORCE_FLEE: Self
pub const ENABLE_COMBO: Self
pub const CHANGE_CLASS: Self
pub const CHANGE_BATTLE_COMMANDS: Self
pub const OPEN_LOAD_MENU: Self
pub const EXIT_GAME: Self
pub const TOGGLE_ATB_MODE: Self
pub const TOGGLE_FULLSCREEN: Self
pub const OPEN_VIDEO_OPTIONS: Self
pub const SHOW_MESSAGE: Self
pub const MESSAGE_OPTIONS: Self
pub const CHANGE_FACE_GRAPHIC: Self
pub const SHOW_CHOICE: Self
pub const INPUT_NUMBER: Self
pub const CONTROL_SWITCHES: Self
pub const CONTROL_VARS: Self
pub const TIMER_OPERATION: Self
pub const CHANGE_GOLD: Self
pub const CHANGE_ITEMS: Self
pub const CHANGE_PARTY_MEMBERS: Self
pub const CHANGE_EXP: Self
pub const CHANGE_LEVEL: Self
pub const CHANGE_PARAMETERS: Self
pub const CHANGE_SKILLS: Self
pub const CHANGE_EQUIPMENT: Self
pub const CHANGE_HP: Self
pub const CHANGE_SP: Self
pub const CHANGE_CONDITION: Self
pub const FULL_HEAL: Self
pub const SIMULATED_ATTACK: Self
pub const CHANGE_HERO_NAME: Self
pub const CHANGE_HERO_TITLE: Self
pub const CHANGE_SPRITE_ASSOCIATION: Self
pub const CHANGE_ACTOR_FACE: Self
pub const CHANGE_VEHICLE_GRAPHIC: Self
pub const CHANGE_SYSTEM_BGM: Self
pub const CHANGE_SYSTEM_SFX: Self
pub const CHANGE_SYSTEM_GRAPHICS: Self
pub const CHANGE_SCREEN_TRANSITIONS: Self
pub const ENEMY_ENCOUNTER: Self
pub const OPEN_SHOP: Self
pub const SHOW_INN: Self
pub const ENTER_HERO_NAME: Self
pub const TELEPORT: Self
pub const MEMORIZE_LOCATION: Self
pub const RECALL_TO_LOCATION: Self
pub const ENTER_EXIT_VEHICLE: Self
pub const SET_VEHICLE_LOCATION: Self
pub const CHANGE_EVENT_LOCATION: Self
pub const TRADE_EVENT_LOCATIONS: Self
pub const STORE_TERRAIN_ID: Self
pub const STORE_EVENT_ID: Self
pub const ERASE_SCREEN: Self
pub const SHOW_SCREEN: Self
pub const TINT_SCREEN: Self
pub const FLASH_SCREEN: Self
pub const SHAKE_SCREEN: Self
pub const PAN_SCREEN: Self
pub const WEATHER_EFFECTS: Self
pub const SHOW_PICTURE: Self
pub const MOVE_PICTURE: Self
pub const ERASE_PICTURE: Self
pub const SHOW_BATTLE_ANIMATION: Self
pub const PLAYER_VISIBILITY: Self
pub const FLASH_SPRITE: Self
pub const MOVE_EVENT: Self
pub const PROCEED_WITH_MOVEMENT: Self
pub const HALT_ALL_MOVEMENT: Self
pub const WAIT: Self
pub const PLAY_BGM: Self
pub const FADE_OUT_BGM: Self
pub const MEMORIZE_BGM: Self
pub const PLAY_MEMORIZED_BGM: Self
pub const PLAY_SOUND: Self
pub const PLAY_MOVIE: Self
pub const KEY_INPUT_PROC: Self
pub const CHANGE_MAP_TILESET: Self
pub const CHANGE_PBG: Self
pub const CHANGE_ENCOUNTER_STEPS: Self
pub const TILE_SUBSTITUTION: Self
pub const TELEPORT_TARGETS: Self
pub const CHANGE_TELEPORT_ACCESS: Self
pub const ESCAPE_TARGET: Self
pub const CHANGE_ESCAPE_ACCESS: Self
pub const OPEN_SAVE_MENU: Self
pub const CHANGE_SAVE_ACCESS: Self
pub const OPEN_MAIN_MENU: Self
pub const CHANGE_MAIN_MENU_ACCESS: Self
pub const CONDITIONAL_BRANCH: Self
pub const LABEL: Self
pub const JUMP_TO_LABEL: Self
pub const LOOP: Self
pub const BREAK_LOOP: Self
pub const END_EVENT_PROCESSING: Self
pub const ERASE_EVENT: Self
pub const CALL_EVENT: Self
pub const COMMENT: Self
pub const GAME_OVER: Self
pub const RETURNTO_TITLE_SCREEN: Self
pub const CHANGE_MONSTER_HP: Self
pub const CHANGE_MONSTER_MP: Self
pub const CHANGE_MONSTER_CONDITION: Self
pub const SHOW_HIDDEN_MONSTER: Self
pub const CHANGE_BATTLE_BG: Self
pub const SHOW_BATTLE_ANIMATION_B: Self
pub const CONDITIONAL_BRANCH_B: Self
pub const TERMINATE_BATTLE: Self
pub const SHOW_MESSAGE_2: Self
pub const SHOW_CHOICE_OPTION: Self
pub const SHOW_CHOICE_END: Self
pub const VICTORY_HANDLER: Self
pub const ESCAPE_HANDLER: Self
pub const DEFEAT_HANDLER: Self
pub const END_BATTLE: Self
pub const TRANSACTION: Self
pub const NO_TRANSACTION: Self
pub const END_SHOP: Self
pub const STAY: Self
pub const NO_STAY: Self
pub const END_INN: Self
pub const ELSE_BRANCH: Self
pub const END_BRANCH: Self
pub const END_LOOP: Self
pub const COMMENT_2: Self
pub const ELSE_BRANCH_B: Self
pub const END_BRANCH_B: Self
pub const EASY_RPG_TRIGGER_EVENT_AT: Self
pub const EASY_RPG_PATHFINDER: Self
pub const EASY_RPG_CALL_MOVEMENT_ACTION: Self
pub const EASY_RPG_WAIT_FOR_SINGLE_MOVEMENT: Self
pub const EASY_RPG_ANIMATE_VARIABLE: Self
pub const EASY_RPG_SET_INTERPRETER_FLAG: Self
pub const EASY_RPG_PROCESS_JSON: Self
pub const EASY_RPG_CLONE_MAP_EVENT: Self
pub const EASY_RPG_DESTROY_MAP_EVENT: Self
pub const EASY_RPG_STRING_PICTURE_MENU: Self
pub const MANIAC_GET_SAVE_INFO: Self
pub const MANIAC_SAVE: Self
pub const MANIAC_LOAD: Self
pub const MANIAC_END_LOAD_PROCESS: Self
pub const MANIAC_GET_MOUSE_POSITION: Self
pub const MANIAC_SET_MOUSE_POSITION: Self
pub const MANIAC_SHOW_STRING_PICTURE: Self
pub const MANIAC_GET_PICTURE_INFO: Self
pub const MANIAC_CONTROL_BATTLE: Self
pub const MANIAC_CONTROL_ATB_GAUGE: Self
pub const MANIAC_CHANGE_BATTLE_COMMAND_EX: Self
pub const MANIAC_GET_BATTLE_INFO: Self
pub const MANIAC_CONTROL_VAR_ARRAY: Self
pub const MANIAC_KEY_INPUT_PROC_EX: Self
pub const MANIAC_REWRITE_MAP: Self
pub const MANIAC_CONTROL_GLOBAL_SAVE: Self
pub const MANIAC_CHANGE_PICTURE_ID: Self
pub const MANIAC_SET_GAME_OPTION: Self
pub const MANIAC_CALL_COMMAND: Self
pub const MANIAC_CONTROL_STRINGS: Self
pub const MANIAC_GET_GAME_INFO: Self
pub const MANIAC_EDIT_PICTURE: Self
pub const MANIAC_WRITE_PICTURE: Self
pub const MANIAC_ADD_MOVE_ROUTE: Self
pub const MANIAC_EDIT_TILE: Self
pub const MANIAC_CONTROL_TEXT_PROCESSING: Self
pub const MANIAC_ZOOM: Self
Trait Implementations§
Source§impl Clone for EventCommandCode
impl Clone for EventCommandCode
impl Copy for EventCommandCode
Source§impl Debug for EventCommandCode
impl Debug for EventCommandCode
Source§impl Default for EventCommandCode
impl Default for EventCommandCode
impl Eq for EventCommandCode
Source§impl From<i32> for EventCommandCode
impl From<i32> for EventCommandCode
Source§impl Hash for EventCommandCode
impl Hash for EventCommandCode
Source§impl IntoOwned for EventCommandCode
impl IntoOwned for EventCommandCode
Source§type Owned = EventCommandCode
type Owned = EventCommandCode
The same shape, owning its data.
Source§fn into_owned(self) -> Self
fn into_owned(self) -> Self
Copy anything still borrowed, so the result outlives the input buffer.
Source§impl<'lcf> LcfField<'lcf> for EventCommandCode
impl<'lcf> LcfField<'lcf> for EventCommandCode
Source§fn field_default(engine: Engine) -> Self
fn field_default(engine: Engine) -> Self
The value this field holds when its chunk is absent and the schema gives no explicit
default. Read more
Source§fn read(
data: &'lcf [u8],
ctx: &mut Ctx<'_>,
owner: &'static str,
id: u32,
) -> Self
fn read( data: &'lcf [u8], ctx: &mut Ctx<'_>, owner: &'static str, id: u32, ) -> Self
Decode from a chunk payload sliced to exactly this field’s bytes. Read more
Source§fn lcf_size(&self, engine: Engine) -> u32
fn lcf_size(&self, engine: Engine) -> u32
Encoded length in bytes, which the two-pass writer emits as the chunk’s length prefix.
Source§fn write<S: Sink>(&self, sink: &mut S, engine: Engine) -> Result<(), S::Error>
fn write<S: Sink>(&self, sink: &mut S, engine: Engine) -> Result<(), S::Error>
Append the encoded payload. Read more
Source§fn lcf_differs(&self, other: &Self) -> boolwhere
Self: PartialEq,
fn lcf_differs(&self, other: &Self) -> boolwhere
Self: PartialEq,
Whether
self differs from other in its written form; the writer elides a field equal to
its default. Plain !=, except floats compare by bits: -0.0 == 0.0, so != would drop a
stored -0.0 and break the round trip.Source§fn element_count(&self) -> u32
fn element_count(&self) -> u32
Number of elements, for array-like fields. Read more
Source§impl Ord for EventCommandCode
impl Ord for EventCommandCode
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for EventCommandCode
impl PartialEq for EventCommandCode
Source§impl PartialOrd for EventCommandCode
impl PartialOrd for EventCommandCode
impl StructuralPartialEq for EventCommandCode
Auto Trait Implementations§
impl Freeze for EventCommandCode
impl RefUnwindSafe for EventCommandCode
impl Send for EventCommandCode
impl Sync for EventCommandCode
impl Unpin for EventCommandCode
impl UnsafeUnpin for EventCommandCode
impl UnwindSafe for EventCommandCode
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more