Struct eos_rs::ffi::script_var_value_table
source · #[repr(C)]pub struct script_var_value_table {Show 103 fields
pub version: i32,
pub condition: i32,
pub position_x: [u32; 3],
pub position_y: [u32; 3],
pub position_height: [u32; 3],
pub recycle_count: u32,
pub ground_enter: i16,
pub ground_getout: i16,
pub ground_map: i16,
pub ground_place: i16,
pub ground_enter_backup: [i16; 5],
pub ground_getout_backup: [i16; 5],
pub ground_map_backup: [i16; 5],
pub ground_place_backup: [i16; 5],
pub dungeon_select: i16,
pub dungeon_enter: i16,
pub dungeon_enter_mode: i16,
pub dungeon_enter_index: i16,
pub dungeon_enter_backup: [i16; 5],
pub dungeon_enter_mode_backup: [i16; 5],
pub dungeon_enter_index_backup: [i16; 5],
pub hero_first_kind: i16,
pub partner_first_kind: i16,
pub random_request_npc03_kind: i16,
pub event_local: i16,
pub dungeon_event_local: i16,
pub item_backup: [i16; 2],
pub item_backup_kurekure: [i16; 2],
pub item_backup_take: [i16; 2],
pub item_backup_get: [i16; 2],
pub request_thanks_result_kind: i16,
pub request_thanks_result_variation: i16,
pub dungeon_enter_frequency: u16,
pub dungeon_enter_frequency_backup: [u16; 5],
pub scenario_balance_flag: i8,
pub scenario_balance_debug: i8,
pub hero_talk_kind: i8,
pub partner_talk_kind: i8,
pub config_color_kind: i8,
pub rom_variation: i8,
pub special_episode_type: i8,
pub position_direction: [i8; 3],
pub scenario_select: [u8; 2],
pub scenario_main: [u8; 2],
pub scenario_side: [u8; 2],
pub scenario_sub1: [u8; 2],
pub scenario_sub2: [u8; 2],
pub scenario_sub3: [u8; 2],
pub scenario_sub4: [u8; 2],
pub scenario_sub5: [u8; 2],
pub scenario_sub6: [u8; 2],
pub scenario_sub7: [u8; 2],
pub scenario_sub8: [u8; 2],
pub crystal_color_01: u8,
pub crystal_color_02: u8,
pub crystal_color_03: u8,
pub compulsory_save_point: u8,
pub compulsory_save_point_side: u8,
pub scenario_select_backup: [u8; 8],
pub ground_enter_link: u8,
pub ground_enter_link_backup: [u8; 5],
pub dungeon_result: u8,
pub ground_start_mode: u8,
pub dungeon_result_backup: [u8; 5],
pub ground_start_mode_backup: [u8; 5],
pub request_clear_count: u8,
pub player_kind: u8,
pub attendant1_kind: u8,
pub attendant2_kind: u8,
pub player_kind_backup: [u8; 5],
pub attendant1_kind_backup: [u8; 5],
pub attendant2_kind_backup: [u8; 5],
pub world_map_level: u8,
pub lottery_result: u8,
pub sub30_spot_level: u8,
pub team_rank_event_level: u8,
pub play_old_game: u8,
pub hero_first_name: [c_char; 10],
pub partner_first_name: [c_char; 10],
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1]>,
pub scenario_main_bit_flag: [u8; 16],
pub scenario_talk_bit_flag: [u8; 32],
pub scenario_main_bit_flag_backup: [u8; 64],
pub special_episode_open: [u8; 1],
pub special_episode_open_old: [u8; 1],
pub special_episode_conquest: [u8; 1],
pub performance_progress_list: [u8; 8],
pub dungeon_open_list: [u8; 32],
pub dungeon_enter_list: [u8; 32],
pub dungeon_arrive_list: [u8; 32],
pub dungeon_conquest_list: [u8; 32],
pub dungeon_present_list: [u8; 32],
pub dungeon_request_list: [u8; 32],
pub world_map_mark_list_normal: [u8; 40],
pub world_map_mark_list_special: [u8; 40],
pub station_item_static: [u8; 4],
pub station_item_temp: [u8; 4],
pub deliver_item_static: [u8; 2],
pub deliver_item_temp: [u8; 2],
pub _bitfield_align_2: [u8; 0],
pub _bitfield_2: __BindgenBitfieldUnit<[u8; 1]>,
pub unused: [u8; 332],
}
Fields§
§version: i32
§condition: i32
§position_x: [u32; 3]
§position_y: [u32; 3]
§position_height: [u32; 3]
§recycle_count: u32
§ground_enter: i16
§ground_getout: i16
§ground_map: i16
§ground_place: i16
§ground_enter_backup: [i16; 5]
§ground_getout_backup: [i16; 5]
§ground_map_backup: [i16; 5]
§ground_place_backup: [i16; 5]
§dungeon_select: i16
§dungeon_enter: i16
§dungeon_enter_mode: i16
§dungeon_enter_index: i16
§dungeon_enter_backup: [i16; 5]
§dungeon_enter_mode_backup: [i16; 5]
§dungeon_enter_index_backup: [i16; 5]
§hero_first_kind: i16
§partner_first_kind: i16
§random_request_npc03_kind: i16
§event_local: i16
§dungeon_event_local: i16
§item_backup: [i16; 2]
§item_backup_kurekure: [i16; 2]
§item_backup_take: [i16; 2]
§item_backup_get: [i16; 2]
§request_thanks_result_kind: i16
§request_thanks_result_variation: i16
§dungeon_enter_frequency: u16
§dungeon_enter_frequency_backup: [u16; 5]
§scenario_balance_flag: i8
§scenario_balance_debug: i8
§hero_talk_kind: i8
§partner_talk_kind: i8
§config_color_kind: i8
§rom_variation: i8
§special_episode_type: i8
§position_direction: [i8; 3]
§scenario_select: [u8; 2]
§scenario_main: [u8; 2]
§scenario_side: [u8; 2]
§scenario_sub1: [u8; 2]
§scenario_sub2: [u8; 2]
§scenario_sub3: [u8; 2]
§scenario_sub4: [u8; 2]
§scenario_sub5: [u8; 2]
§scenario_sub6: [u8; 2]
§scenario_sub7: [u8; 2]
§scenario_sub8: [u8; 2]
§crystal_color_01: u8
§crystal_color_02: u8
§crystal_color_03: u8
§compulsory_save_point: u8
§compulsory_save_point_side: u8
§scenario_select_backup: [u8; 8]
§ground_enter_link: u8
§ground_enter_link_backup: [u8; 5]
§dungeon_result: u8
§ground_start_mode: u8
§dungeon_result_backup: [u8; 5]
§ground_start_mode_backup: [u8; 5]
§request_clear_count: u8
§player_kind: u8
§attendant1_kind: u8
§attendant2_kind: u8
§player_kind_backup: [u8; 5]
§attendant1_kind_backup: [u8; 5]
§attendant2_kind_backup: [u8; 5]
§world_map_level: u8
§lottery_result: u8
§sub30_spot_level: u8
§team_rank_event_level: u8
§play_old_game: u8
§hero_first_name: [c_char; 10]
§partner_first_name: [c_char; 10]
§_bitfield_align_1: [u8; 0]
§_bitfield_1: __BindgenBitfieldUnit<[u8; 1]>
§scenario_main_bit_flag: [u8; 16]
§scenario_talk_bit_flag: [u8; 32]
§scenario_main_bit_flag_backup: [u8; 64]
§special_episode_open: [u8; 1]
§special_episode_open_old: [u8; 1]
§special_episode_conquest: [u8; 1]
§performance_progress_list: [u8; 8]
§dungeon_open_list: [u8; 32]
§dungeon_enter_list: [u8; 32]
§dungeon_arrive_list: [u8; 32]
§dungeon_conquest_list: [u8; 32]
§dungeon_present_list: [u8; 32]
§dungeon_request_list: [u8; 32]
§world_map_mark_list_normal: [u8; 40]
§world_map_mark_list_special: [u8; 40]
§station_item_static: [u8; 4]
§station_item_temp: [u8; 4]
§deliver_item_static: [u8; 2]
§deliver_item_temp: [u8; 2]
§_bitfield_align_2: [u8; 0]
§_bitfield_2: __BindgenBitfieldUnit<[u8; 1]>
§unused: [u8; 332]
Implementations§
source§impl script_var_value_table
impl script_var_value_table
pub fn side02_talk(&self) -> u8
pub fn set_side02_talk(&mut self, val: u8)
pub fn side06_room(&self) -> u8
pub fn set_side06_room(&mut self, val: u8)
pub fn side08_boss2nd(&self) -> u8
pub fn set_side08_boss2nd(&mut self, val: u8)
pub fn side01_boss2nd(&self) -> u8
pub fn set_side01_boss2nd(&mut self, val: u8)
pub fn new_bitfield_1( side02_talk: u8, side06_room: u8, side08_boss2nd: u8, side01_boss2nd: u8 ) -> __BindgenBitfieldUnit<[u8; 1]>
pub fn bit_fuwarante_local(&self) -> u8
pub fn set_bit_fuwarante_local(&mut self, val: u8)
pub fn sub30_treasure_discover(&self) -> u8
pub fn set_sub30_treasure_discover(&mut self, val: u8)
pub fn sub30_spot_discover(&self) -> u8
pub fn set_sub30_spot_discover(&mut self, val: u8)
pub fn sub30_projectp(&self) -> u8
pub fn set_sub30_projectp(&mut self, val: u8)
pub fn new_bitfield_2( bit_fuwarante_local: u8, sub30_treasure_discover: u8, sub30_spot_discover: u8, sub30_projectp: u8 ) -> __BindgenBitfieldUnit<[u8; 1]>
Auto Trait Implementations§
impl RefUnwindSafe for script_var_value_table
impl Send for script_var_value_table
impl Sync for script_var_value_table
impl Unpin for script_var_value_table
impl UnwindSafe for script_var_value_table
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CheckedAs for T
impl<T> CheckedAs for T
source§fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
fn checked_as<Dst>(self) -> Option<Dst>where T: CheckedCast<Dst>,
Casts the value.
source§impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere Src: CheckedCast<Dst>,
source§fn checked_cast_from(src: Src) -> Option<Dst>
fn checked_cast_from(src: Src) -> Option<Dst>
Casts the value.
§impl<T, U> Into<U> for Twhere
U: From<T>,
impl<T, U> Into<U> for Twhere U: From<T>,
source§impl<Src, Dst> LosslessTryInto<Dst> for Srcwhere
Dst: LosslessTryFrom<Src>,
impl<Src, Dst> LosslessTryInto<Dst> for Srcwhere Dst: LosslessTryFrom<Src>,
source§fn lossless_try_into(self) -> Option<Dst>
fn lossless_try_into(self) -> Option<Dst>
Performs the conversion.
source§impl<Src, Dst> LossyInto<Dst> for Srcwhere
Dst: LossyFrom<Src>,
impl<Src, Dst> LossyInto<Dst> for Srcwhere Dst: LossyFrom<Src>,
source§fn lossy_into(self) -> Dst
fn lossy_into(self) -> Dst
Performs the conversion.
source§impl<T> OverflowingAs for T
impl<T> OverflowingAs for T
source§fn overflowing_as<Dst>(self) -> (Dst, bool)where
T: OverflowingCast<Dst>,
fn overflowing_as<Dst>(self) -> (Dst, bool)where T: OverflowingCast<Dst>,
Casts the value.
source§impl<Src, Dst> OverflowingCastFrom<Src> for Dstwhere
Src: OverflowingCast<Dst>,
impl<Src, Dst> OverflowingCastFrom<Src> for Dstwhere Src: OverflowingCast<Dst>,
source§fn overflowing_cast_from(src: Src) -> (Dst, bool)
fn overflowing_cast_from(src: Src) -> (Dst, bool)
Casts the value.
source§impl<T> SaturatingAs for T
impl<T> SaturatingAs for T
source§fn saturating_as<Dst>(self) -> Dstwhere
T: SaturatingCast<Dst>,
fn saturating_as<Dst>(self) -> Dstwhere T: SaturatingCast<Dst>,
Casts the value.
source§impl<Src, Dst> SaturatingCastFrom<Src> for Dstwhere
Src: SaturatingCast<Dst>,
impl<Src, Dst> SaturatingCastFrom<Src> for Dstwhere Src: SaturatingCast<Dst>,
source§fn saturating_cast_from(src: Src) -> Dst
fn saturating_cast_from(src: Src) -> Dst
Casts the value.
§impl<T, U> TryFrom<U> for Twhere
U: Into<T>,
impl<T, U> TryFrom<U> for Twhere U: Into<T>,
§impl<T, U> TryInto<U> for Twhere
U: TryFrom<T>,
impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,
source§impl<T> UnwrappedAs for T
impl<T> UnwrappedAs for T
source§fn unwrapped_as<Dst>(self) -> Dstwhere
T: UnwrappedCast<Dst>,
fn unwrapped_as<Dst>(self) -> Dstwhere T: UnwrappedCast<Dst>,
Casts the value.
source§impl<Src, Dst> UnwrappedCastFrom<Src> for Dstwhere
Src: UnwrappedCast<Dst>,
impl<Src, Dst> UnwrappedCastFrom<Src> for Dstwhere Src: UnwrappedCast<Dst>,
source§fn unwrapped_cast_from(src: Src) -> Dst
fn unwrapped_cast_from(src: Src) -> Dst
Casts the value.
source§impl<T> WrappingAs for T
impl<T> WrappingAs for T
source§fn wrapping_as<Dst>(self) -> Dstwhere
T: WrappingCast<Dst>,
fn wrapping_as<Dst>(self) -> Dstwhere T: WrappingCast<Dst>,
Casts the value.
source§impl<Src, Dst> WrappingCastFrom<Src> for Dstwhere
Src: WrappingCast<Dst>,
impl<Src, Dst> WrappingCastFrom<Src> for Dstwhere Src: WrappingCast<Dst>,
source§fn wrapping_cast_from(src: Src) -> Dst
fn wrapping_cast_from(src: Src) -> Dst
Casts the value.