[][src]Struct index_datamanip::objects::Power

pub struct Power {
    pub full_name: String,
    pub crcfull_name: u32,
    pub source_file: String,
    pub name: String,
    pub source_name: String,
    pub system: u32,
    pub auto_issue: bool,
    pub auto_issue_save_level: bool,
    pub free: bool,
    pub display_name: String,
    pub display_help: String,
    pub display_short_help: String,
    pub display_target_help: String,
    pub display_target_short_help: String,
    pub display_attacker_attack: String,
    pub display_attacker_attack_floater: String,
    pub display_attacker_hit: String,
    pub display_victim_hit: String,
    pub display_confirm: String,
    pub float_rewarded: String,
    pub display_power_defense_float: String,
    pub icon_name: String,
    pub power_type: u32,
    pub num_allowed: u32,
    pub attack_types: Vec<AttackType>,
    pub buy_requires: Vec<String>,
    pub activate_requires: Vec<String>,
    pub slot_requires: Vec<String>,
    pub target_requires: Vec<String>,
    pub reward_requires: Vec<String>,
    pub auction_requires: Vec<String>,
    pub reward_fallback: String,
    pub accuracy: f32,
    pub near_ground: bool,
    pub target_near_ground: bool,
    pub castable_after_death: u32,
    pub cast_through_hold: bool,
    pub cast_through_sleep: bool,
    pub cast_through_stun: bool,
    pub cast_through_terrorize: bool,
    pub toggle_ignore_hold: bool,
    pub toggle_ignore_sleep: bool,
    pub toggle_ignore_stun: bool,
    pub ignore_level_bought: bool,
    pub shoot_through_untouchable: bool,
    pub interrupt_like_sleep: bool,
    pub ai_report: u32,
    pub effect_area: u32,
    pub max_targets_hit: u32,
    pub _unknown_unused: u32,
    pub radius: f32,
    pub arc: f32,
    pub chain_delay: f32,
    pub chain_eff: Vec<String>,
    pub chain_fork: Vec<u32>,
    pub box_offset: (f32, f32, f32),
    pub box_size: (f32, f32, f32),
    pub range: f32,
    pub range_secondary: f32,
    pub time_to_activate: f32,
    pub recharge_time: f32,
    pub activate_period: f32,
    pub endurance_cost: f32,
    pub idea_cost: f32,
    pub time_to_confirm: u32,
    pub self_confirm: u32,
    pub confirm_requires: Vec<String>,
    pub destroy_on_limit: bool,
    pub stacking_usage: bool,
    pub num_charges: u32,
    pub max_num_charges: u32,
    pub usage_time: f32,
    pub max_usage_time: f32,
    pub lifetime: f32,
    pub max_lifetime: f32,
    pub lifetime_in_game: f32,
    pub max_lifetime_in_game: f32,
    pub interrupt_time: f32,
    pub target_visibility: u32,
    pub target: u32,
    pub target_secondary: u32,
    pub ents_auto_hit: Vec<u32>,
    pub ents_affected: Vec<u32>,
    pub targets_through_vision_phase: bool,
    pub boosts_allowed: Vec<u32>,
    pub group_membership: Vec<u32>,
    pub modes_required: Vec<u32>,
    pub modes_disallowed: Vec<u32>,
    pub ai_groups: Vec<String>,
    pub redirect: Vec<PowerRedirect>,
    pub effects: Vec<Effects>,
    pub ignore_strength: bool,
    pub show_buff_icon: bool,
    pub show_in_inventory: u32,
    pub show_in_manage: bool,
    pub show_in_info: bool,
    pub deletable: bool,
    pub tradeable: bool,
    pub max_boosts: u32,
    pub do_not_save: bool,
    pub boost_ignore_effectiveness: bool,
    pub boost_always_count_for_set: bool,
    pub boost_tradeable: bool,
    pub boost_combinable: bool,
    pub boost_account_bound: bool,
    pub boost_boostable: bool,
    pub boost_use_player_level: bool,
    pub boost_catalyst_conversion: String,
    pub store_product: String,
    pub boost_license_level: u32,
    pub min_slot_level: i32,
    pub max_slot_level: u32,
    pub max_boost_level: u32,
    pub var: Vec<Var>,
    pub toggle_droppable: u32,
    pub proc_allowed: u32,
    pub strengths_disallowed: Vec<u32>,
    pub proc_main_target_only: bool,
    pub anim_main_target_only: bool,
    pub highlight_eval: Vec<String>,
    pub highlight_icon: String,
    pub highlight_ring: RGBA,
    pub travel_suppression: f32,
    pub preference_multiplier: f32,
    pub dont_set_stance: bool,
    pub point_value: f32,
    pub point_multiplier: f32,
    pub chain_into_power: String,
    pub instance_locked: bool,
    pub is_environment_hit: bool,
    pub shuffle_targets: bool,
    pub force_level_bought: i32,
    pub refreshes_on_active_player_change: bool,
    pub cancelable: bool,
    pub ignore_toggle_max_distance: bool,
    pub server_tray_priority: u32,
    pub server_tray_requires: Vec<String>,
    pub abusive_buff: bool,
    pub position_center: u32,
    pub position_distance: f32,
    pub position_height: f32,
    pub position_yaw: f32,
    pub face_target: bool,
    pub attrib_cache: Vec<u32>,
    pub visual_fx: String,
    pub attack_bits: Vec<u32>,
    pub block_bits: Vec<u32>,
    pub wind_up_bits: Vec<u32>,
    pub hit_bits: Vec<u32>,
    pub death_bits: Vec<u32>,
    pub activation_bits: Vec<u32>,
    pub deactivation_bits: Vec<u32>,
    pub initial_attack_bits: Vec<u32>,
    pub continuing_bits: Vec<u32>,
    pub conditional_bits: Vec<u32>,
    pub activation_fx: String,
    pub deactivation_fx: String,
    pub attack_fx: String,
    pub secondary_attack_fx: String,
    pub hit_fx: String,
    pub wind_up_fx: String,
    pub block_fx: String,
    pub death_fx: String,
    pub initial_attack_fx: String,
    pub continuing_fx: String,
    pub continuing_fx1: String,
    pub continuing_fx2: String,
    pub continuing_fx3: String,
    pub continuing_fx4: String,
    pub conditional_fx: String,
    pub conditional_fx1: String,
    pub conditional_fx2: String,
    pub conditional_fx3: String,
    pub conditional_fx4: String,
    pub mode_bits: Vec<u32>,
    pub frames_before_hit: u32,
    pub frames_before_secondary_hit: u32,
    pub delayed_hit: bool,
    pub attack_frames: u32,
    pub initial_frames_before_hit: u32,
    pub initial_attack_fxframe_delay: u32,
    pub projectile_speed: f32,
    pub secondary_projectile_speed: f32,
    pub initial_frames_before_block: u32,
    pub ignore_attack_time_errors: String,
    pub frames_before_block: u32,
    pub fx_important: bool,
    pub primary_tint: ConditionalRGBA,
    pub secondary_tint: ConditionalRGBA,
    pub custom_fx: Vec<CustomFx>,
}

Fields

full_name: Stringcrcfull_name: u32source_file: Stringname: Stringsource_name: Stringsystem: u32auto_issue: boolauto_issue_save_level: boolfree: booldisplay_name: Stringdisplay_help: Stringdisplay_short_help: Stringdisplay_target_help: Stringdisplay_target_short_help: Stringdisplay_attacker_attack: Stringdisplay_attacker_attack_floater: Stringdisplay_attacker_hit: Stringdisplay_victim_hit: Stringdisplay_confirm: Stringfloat_rewarded: Stringdisplay_power_defense_float: Stringicon_name: Stringpower_type: u32num_allowed: u32attack_types: Vec<AttackType>buy_requires: Vec<String>activate_requires: Vec<String>slot_requires: Vec<String>target_requires: Vec<String>reward_requires: Vec<String>auction_requires: Vec<String>reward_fallback: Stringaccuracy: f32near_ground: booltarget_near_ground: boolcastable_after_death: u32cast_through_hold: boolcast_through_sleep: boolcast_through_stun: boolcast_through_terrorize: booltoggle_ignore_hold: booltoggle_ignore_sleep: booltoggle_ignore_stun: boolignore_level_bought: boolshoot_through_untouchable: boolinterrupt_like_sleep: boolai_report: u32effect_area: u32max_targets_hit: u32_unknown_unused: u32radius: f32arc: f32chain_delay: f32chain_eff: Vec<String>chain_fork: Vec<u32>box_offset: (f32, f32, f32)box_size: (f32, f32, f32)range: f32range_secondary: f32time_to_activate: f32recharge_time: f32activate_period: f32endurance_cost: f32idea_cost: f32time_to_confirm: u32self_confirm: u32confirm_requires: Vec<String>destroy_on_limit: boolstacking_usage: boolnum_charges: u32max_num_charges: u32usage_time: f32max_usage_time: f32lifetime: f32max_lifetime: f32lifetime_in_game: f32max_lifetime_in_game: f32interrupt_time: f32target_visibility: u32target: u32target_secondary: u32ents_auto_hit: Vec<u32>ents_affected: Vec<u32>targets_through_vision_phase: boolboosts_allowed: Vec<u32>group_membership: Vec<u32>modes_required: Vec<u32>modes_disallowed: Vec<u32>ai_groups: Vec<String>redirect: Vec<PowerRedirect>effects: Vec<Effects>ignore_strength: boolshow_buff_icon: boolshow_in_inventory: u32show_in_manage: boolshow_in_info: booldeletable: booltradeable: boolmax_boosts: u32do_not_save: boolboost_ignore_effectiveness: boolboost_always_count_for_set: boolboost_tradeable: boolboost_combinable: boolboost_account_bound: boolboost_boostable: boolboost_use_player_level: boolboost_catalyst_conversion: Stringstore_product: Stringboost_license_level: u32min_slot_level: i32max_slot_level: u32max_boost_level: u32var: Vec<Var>toggle_droppable: u32proc_allowed: u32strengths_disallowed: Vec<u32>proc_main_target_only: boolanim_main_target_only: boolhighlight_eval: Vec<String>highlight_icon: Stringhighlight_ring: RGBAtravel_suppression: f32preference_multiplier: f32dont_set_stance: boolpoint_value: f32point_multiplier: f32chain_into_power: Stringinstance_locked: boolis_environment_hit: boolshuffle_targets: boolforce_level_bought: i32refreshes_on_active_player_change: boolcancelable: boolignore_toggle_max_distance: boolserver_tray_priority: u32server_tray_requires: Vec<String>abusive_buff: boolposition_center: u32position_distance: f32position_height: f32position_yaw: f32face_target: boolattrib_cache: Vec<u32>visual_fx: Stringattack_bits: Vec<u32>block_bits: Vec<u32>wind_up_bits: Vec<u32>hit_bits: Vec<u32>death_bits: Vec<u32>activation_bits: Vec<u32>deactivation_bits: Vec<u32>initial_attack_bits: Vec<u32>continuing_bits: Vec<u32>conditional_bits: Vec<u32>activation_fx: Stringdeactivation_fx: Stringattack_fx: Stringsecondary_attack_fx: Stringhit_fx: Stringwind_up_fx: Stringblock_fx: Stringdeath_fx: Stringinitial_attack_fx: Stringcontinuing_fx: Stringcontinuing_fx1: Stringcontinuing_fx2: Stringcontinuing_fx3: Stringcontinuing_fx4: Stringconditional_fx: Stringconditional_fx1: Stringconditional_fx2: Stringconditional_fx3: Stringconditional_fx4: Stringmode_bits: Vec<u32>frames_before_hit: u32frames_before_secondary_hit: u32delayed_hit: boolattack_frames: u32initial_frames_before_hit: u32initial_attack_fxframe_delay: u32projectile_speed: f32secondary_projectile_speed: f32initial_frames_before_block: u32ignore_attack_time_errors: Stringframes_before_block: u32fx_important: boolprimary_tint: ConditionalRGBAsecondary_tint: ConditionalRGBAcustom_fx: Vec<CustomFx>

Methods

impl Power[src]

pub fn fix_strings(&mut self, pmessages: &HashMap<String, String>)[src]

Trait Implementations

impl Debug for Power[src]

impl<'de> Deserialize<'de> for Power[src]

impl Serialize for Power[src]

Auto Trait Implementations

impl RefUnwindSafe for Power

impl Send for Power

impl Sync for Power

impl Unpin for Power

impl UnwindSafe for Power

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.