[][src]Enum bwapi_wrapper::BWAPI_WeaponTypes_Enum_Enum

#[repr(i32)]pub enum BWAPI_WeaponTypes_Enum_Enum {
    Gauss_Rifle,
    Gauss_Rifle_Jim_Raynor,
    C_10_Canister_Rifle,
    C_10_Canister_Rifle_Sarah_Kerrigan,
    Fragmentation_Grenade,
    Fragmentation_Grenade_Jim_Raynor,
    Spider_Mines,
    Twin_Autocannons,
    Hellfire_Missile_Pack,
    Twin_Autocannons_Alan_Schezar,
    Hellfire_Missile_Pack_Alan_Schezar,
    Arclite_Cannon,
    Arclite_Cannon_Edmund_Duke,
    Fusion_Cutter,
    Gemini_Missiles,
    Burst_Lasers,
    Gemini_Missiles_Tom_Kazansky,
    Burst_Lasers_Tom_Kazansky,
    ATS_Laser_Battery,
    ATA_Laser_Battery,
    ATS_Laser_Battery_Hero,
    ATA_Laser_Battery_Hero,
    ATS_Laser_Battery_Hyperion,
    ATA_Laser_Battery_Hyperion,
    Flame_Thrower,
    Flame_Thrower_Gui_Montag,
    Arclite_Shock_Cannon,
    Arclite_Shock_Cannon_Edmund_Duke,
    Longbolt_Missile,
    Yamato_Gun,
    Nuclear_Strike,
    Lockdown,
    EMP_Shockwave,
    Irradiate,
    Claws,
    Claws_Devouring_One,
    Claws_Infested_Kerrigan,
    Needle_Spines,
    Needle_Spines_Hunter_Killer,
    Kaiser_Blades,
    Kaiser_Blades_Torrasque,
    Toxic_Spores,
    Spines,
    Acid_Spore,
    Acid_Spore_Kukulza,
    Glave_Wurm,
    Glave_Wurm_Kukulza,
    Seeker_Spores,
    Subterranean_Tentacle,
    Suicide_Infested_Terran,
    Suicide_Scourge,
    Parasite,
    Spawn_Broodlings,
    Ensnare,
    Dark_Swarm,
    Plague,
    Consume,
    Particle_Beam,
    Psi_Blades,
    Psi_Blades_Fenix,
    Phase_Disruptor,
    Phase_Disruptor_Fenix,
    Psi_Assault,
    Psionic_Shockwave,
    Psionic_Shockwave_TZ_Archon,
    Dual_Photon_Blasters,
    Anti_Matter_Missiles,
    Dual_Photon_Blasters_Mojo,
    Anti_Matter_Missiles_Mojo,
    Phase_Disruptor_Cannon,
    Phase_Disruptor_Cannon_Danimoth,
    Pulse_Cannon,
    STS_Photon_Cannon,
    STA_Photon_Cannon,
    Scarab,
    Stasis_Field,
    Psionic_Storm,
    Warp_Blades_Zeratul,
    Warp_Blades_Hero,
    Platform_Laser_Battery,
    Independant_Laser_Battery,
    Twin_Autocannons_Floor_Trap,
    Hellfire_Missile_Pack_Wall_Trap,
    Flame_Thrower_Wall_Trap,
    Hellfire_Missile_Pack_Floor_Trap,
    Neutron_Flare,
    Disruption_Web,
    Restoration,
    Halo_Rockets,
    Corrosive_Acid,
    Mind_Control,
    Feedback,
    Optical_Flare,
    Maelstrom,
    Subterranean_Spines,
    Warp_Blades,
    C_10_Canister_Rifle_Samir_Duran,
    C_10_Canister_Rifle_Infested_Duran,
    Dual_Photon_Blasters_Artanis,
    Anti_Matter_Missiles_Artanis,
    C_10_Canister_Rifle_Alexei_Stukov,
    None,
    Unknown,
    MAX,
}
Enumeration of weapon types. @see WeaponType

Variants

Gauss_Rifle
Gauss_Rifle_Jim_Raynor
C_10_Canister_Rifle
C_10_Canister_Rifle_Sarah_Kerrigan
Fragmentation_Grenade
Fragmentation_Grenade_Jim_Raynor
Spider_Mines
Twin_Autocannons
Hellfire_Missile_Pack
Twin_Autocannons_Alan_Schezar
Hellfire_Missile_Pack_Alan_Schezar
Arclite_Cannon
Arclite_Cannon_Edmund_Duke
Fusion_Cutter
Gemini_Missiles
Burst_Lasers
Gemini_Missiles_Tom_Kazansky
Burst_Lasers_Tom_Kazansky
ATS_Laser_Battery
ATA_Laser_Battery
ATS_Laser_Battery_Hero
ATA_Laser_Battery_Hero
ATS_Laser_Battery_Hyperion
ATA_Laser_Battery_Hyperion
Flame_Thrower
Flame_Thrower_Gui_Montag
Arclite_Shock_Cannon
Arclite_Shock_Cannon_Edmund_Duke
Longbolt_Missile
Yamato_Gun
Nuclear_Strike
Lockdown
EMP_Shockwave
Irradiate
Claws
Claws_Devouring_One
Claws_Infested_Kerrigan
Needle_Spines
Needle_Spines_Hunter_Killer
Kaiser_Blades
Kaiser_Blades_Torrasque
Toxic_Spores
Spines
Acid_Spore
Acid_Spore_Kukulza
Glave_Wurm
Glave_Wurm_Kukulza
Seeker_Spores
Subterranean_Tentacle
Suicide_Infested_Terran
Suicide_Scourge
Parasite
Spawn_Broodlings
Ensnare
Dark_Swarm
Plague
Consume
Particle_Beam
Psi_Blades
Psi_Blades_Fenix
Phase_Disruptor
Phase_Disruptor_Fenix
Psi_Assault
Psionic_Shockwave
Psionic_Shockwave_TZ_Archon
Dual_Photon_Blasters
Anti_Matter_Missiles
Dual_Photon_Blasters_Mojo
Anti_Matter_Missiles_Mojo
Phase_Disruptor_Cannon
Phase_Disruptor_Cannon_Danimoth
Pulse_Cannon
STS_Photon_Cannon
STA_Photon_Cannon
Scarab
Stasis_Field
Psionic_Storm
Warp_Blades_Zeratul
Warp_Blades_Hero
Platform_Laser_Battery
Independant_Laser_Battery
Twin_Autocannons_Floor_Trap
Hellfire_Missile_Pack_Wall_Trap
Flame_Thrower_Wall_Trap
Hellfire_Missile_Pack_Floor_Trap
Neutron_Flare
Disruption_Web
Restoration
Halo_Rockets
Corrosive_Acid
Mind_Control
Feedback
Optical_Flare
Maelstrom
Subterranean_Spines
Warp_Blades
C_10_Canister_Rifle_Samir_Duran
C_10_Canister_Rifle_Infested_Duran
Dual_Photon_Blasters_Artanis
Anti_Matter_Missiles_Artanis
C_10_Canister_Rifle_Alexei_Stukov
None
Unknown
MAX

Implementations

impl BWAPI_WeaponTypes_Enum_Enum[src]

pub fn what_uses(&self) -> UnitType[src]

pub fn max_range(&self) -> i32[src]

pub fn targets_org_or_mech(&self) -> bool[src]

pub fn damage_type(&self) -> DamageType[src]

pub fn get_tech(&self) -> TechType[src]

pub fn targets_own(&self) -> bool[src]

pub fn min_range(&self) -> i32[src]

pub fn targets_ground(&self) -> bool[src]

pub fn damage_factor(&self) -> i32[src]

pub fn upgrade_type(&self) -> UpgradeType[src]

pub fn targets_terrain(&self) -> bool[src]

pub fn damage_amount(&self) -> i32[src]

pub fn explosion_type(&self) -> ExplosionType[src]

pub fn damage_cooldown(&self) -> i32[src]

pub fn targets_air(&self) -> bool[src]

pub fn targets_organic(&self) -> bool[src]

pub fn damage_bonus(&self) -> i32[src]

pub fn outer_splash_radius(&self) -> i32[src]

pub fn targets_non_robotic(&self) -> bool[src]

pub fn targets_non_building(&self) -> bool[src]

pub fn targets_mechanical(&self) -> bool[src]

pub fn median_splash_radius(&self) -> i32[src]

pub fn inner_splash_radius(&self) -> i32[src]

pub fn name(&self) -> &'static str[src]

Trait Implementations

impl Clone for BWAPI_WeaponTypes_Enum_Enum[src]

impl Copy for BWAPI_WeaponTypes_Enum_Enum[src]

impl Debug for BWAPI_WeaponTypes_Enum_Enum[src]

impl Eq for BWAPI_WeaponTypes_Enum_Enum[src]

impl FromPrimitive for BWAPI_WeaponTypes_Enum_Enum[src]

impl Hash for BWAPI_WeaponTypes_Enum_Enum[src]

impl PartialEq<BWAPI_WeaponTypes_Enum_Enum> for BWAPI_WeaponTypes_Enum_Enum[src]

impl StructuralEq for BWAPI_WeaponTypes_Enum_Enum[src]

impl StructuralPartialEq for BWAPI_WeaponTypes_Enum_Enum[src]

Auto Trait Implementations

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> From<T> for T[src]

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.

impl<T> TypeFrom for T where
    T: FromPrimitive
[src]