pub struct BattleConstants { /* private fields */ }Expand description
Constants parsed from gui/data/constants/battle.xml.
Implementations§
Source§impl BattleConstants
impl BattleConstants
pub fn camera_mode(&self, id: i32) -> Option<&str>
pub fn death_reason(&self, id: i32) -> Option<&str>
pub fn game_mode(&self, id: i32) -> Option<&str>
pub fn battle_result(&self, id: i32) -> Option<&str>
pub fn player_relation(&self, id: i32) -> Option<&str>
pub fn damage_module(&self, id: i32) -> Option<&str>
pub fn finish_type(&self, id: i32) -> Option<&str>
pub fn consumable_state(&self, id: i32) -> Option<&str>
pub fn planes_type(&self, id: i32) -> Option<&str>
pub fn diplomacy_relation(&self, id: i32) -> Option<&str>
pub fn modules_state(&self, id: i32) -> Option<&str>
pub fn entity_type(&self, id: i32) -> Option<&str>
pub fn entity_state(&self, id: i32) -> Option<&str>
pub fn battery_state(&self, id: i32) -> Option<&str>
pub fn depth_state(&self, id: i32) -> Option<&str>
pub fn building_type(&self, id: i32) -> Option<&str>
pub fn torpedo_marker_type(&self, id: i32) -> Option<&str>
pub fn interactive_zone_type(&self, id: i32) -> Option<&str>
pub fn control_point_type(&self, id: i32) -> Option<&str>
pub fn camera_modes_mut(&mut self) -> &mut HashMap<i32, Cow<'static, str>>
pub fn death_reasons_mut(&mut self) -> &mut HashMap<i32, Cow<'static, str>>
pub fn game_modes_mut(&mut self) -> &mut HashMap<i32, Cow<'static, str>>
pub fn battle_results_mut(&mut self) -> &mut HashMap<i32, Cow<'static, str>>
pub fn player_relations_mut(&mut self) -> &mut HashMap<i32, Cow<'static, str>>
pub fn damage_modules_mut(&mut self) -> &mut HashMap<i32, Cow<'static, str>>
pub fn finish_types_mut(&mut self) -> &mut HashMap<i32, Cow<'static, str>>
pub fn consumable_states_mut(&mut self) -> &mut HashMap<i32, Cow<'static, str>>
pub fn planes_types_mut(&mut self) -> &mut HashMap<i32, Cow<'static, str>>
pub fn diplomacy_relations_mut( &mut self, ) -> &mut HashMap<i32, Cow<'static, str>>
pub fn modules_states_mut(&mut self) -> &mut HashMap<i32, Cow<'static, str>>
pub fn entity_types_mut(&mut self) -> &mut HashMap<i32, Cow<'static, str>>
pub fn entity_states_mut(&mut self) -> &mut HashMap<i32, Cow<'static, str>>
pub fn battery_states_mut(&mut self) -> &mut HashMap<i32, Cow<'static, str>>
pub fn depth_states_mut(&mut self) -> &mut HashMap<i32, Cow<'static, str>>
pub fn building_types_mut(&mut self) -> &mut HashMap<i32, Cow<'static, str>>
pub fn torpedo_marker_types_mut( &mut self, ) -> &mut HashMap<i32, Cow<'static, str>>
pub fn interactive_zone_types_mut( &mut self, ) -> &mut HashMap<i32, Cow<'static, str>>
pub fn control_point_types_mut( &mut self, ) -> &mut HashMap<i32, Cow<'static, str>>
pub fn damage_stat_weapon(&self, id: i32) -> Option<&str>
pub fn damage_stat_weapons(&self) -> &HashMap<i32, Cow<'static, str>>
pub fn damage_stat_weapons_mut( &mut self, ) -> &mut HashMap<i32, Cow<'static, str>>
pub fn damage_stat_category(&self, id: i32) -> Option<&str>
pub fn damage_stat_categories(&self) -> &HashMap<i32, Cow<'static, str>>
pub fn damage_stat_categories_mut( &mut self, ) -> &mut HashMap<i32, Cow<'static, str>>
pub fn camera_modes(&self) -> &HashMap<i32, Cow<'static, str>>
pub fn death_reasons(&self) -> &HashMap<i32, Cow<'static, str>>
pub fn game_modes(&self) -> &HashMap<i32, Cow<'static, str>>
pub fn battle_results(&self) -> &HashMap<i32, Cow<'static, str>>
pub fn player_relations(&self) -> &HashMap<i32, Cow<'static, str>>
pub fn damage_modules(&self) -> &HashMap<i32, Cow<'static, str>>
pub fn finish_types(&self) -> &HashMap<i32, Cow<'static, str>>
pub fn consumable_states(&self) -> &HashMap<i32, Cow<'static, str>>
pub fn planes_types(&self) -> &HashMap<i32, Cow<'static, str>>
pub fn diplomacy_relations(&self) -> &HashMap<i32, Cow<'static, str>>
pub fn modules_states(&self) -> &HashMap<i32, Cow<'static, str>>
pub fn entity_types(&self) -> &HashMap<i32, Cow<'static, str>>
pub fn entity_states(&self) -> &HashMap<i32, Cow<'static, str>>
pub fn battery_states(&self) -> &HashMap<i32, Cow<'static, str>>
pub fn depth_states(&self) -> &HashMap<i32, Cow<'static, str>>
pub fn building_types(&self) -> &HashMap<i32, Cow<'static, str>>
pub fn torpedo_marker_types(&self) -> &HashMap<i32, Cow<'static, str>>
pub fn interactive_zone_types(&self) -> &HashMap<i32, Cow<'static, str>>
pub fn control_point_types(&self) -> &HashMap<i32, Cow<'static, str>>
Trait Implementations§
Source§impl Clone for BattleConstants
impl Clone for BattleConstants
Source§fn clone(&self) -> BattleConstants
fn clone(&self) -> BattleConstants
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for BattleConstants
impl RefUnwindSafe for BattleConstants
impl Send for BattleConstants
impl Sync for BattleConstants
impl Unpin for BattleConstants
impl UnsafeUnpin for BattleConstants
impl UnwindSafe for BattleConstants
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