#[repr(u32)]
pub enum BWAPI_WeaponTypes_Enum_Enum {
Show 104 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,
}
Expand description
Enumeration of weapon types.
@see WeaponTypeVariants§
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§
source§impl BWAPI_WeaponTypes_Enum_Enum
impl BWAPI_WeaponTypes_Enum_Enum
pub fn what_uses(&self) -> UnitType
pub fn max_range(&self) -> i32
pub fn targets_org_or_mech(&self) -> bool
pub fn damage_type(&self) -> DamageType
pub fn get_tech(&self) -> TechType
pub fn targets_own(&self) -> bool
pub fn min_range(&self) -> i32
pub fn targets_ground(&self) -> bool
pub fn damage_factor(&self) -> i32
pub fn upgrade_type(&self) -> UpgradeType
pub fn targets_terrain(&self) -> bool
pub fn damage_amount(&self) -> i32
pub fn explosion_type(&self) -> ExplosionType
pub fn damage_cooldown(&self) -> i32
pub fn targets_air(&self) -> bool
pub fn targets_organic(&self) -> bool
pub fn damage_bonus(&self) -> i32
pub fn outer_splash_radius(&self) -> i32
pub fn targets_non_robotic(&self) -> bool
pub fn targets_non_building(&self) -> bool
pub fn targets_mechanical(&self) -> bool
pub fn median_splash_radius(&self) -> i32
pub fn inner_splash_radius(&self) -> i32
pub fn name(&self) -> &'static str
Trait Implementations§
source§impl Clone for BWAPI_WeaponTypes_Enum_Enum
impl Clone for BWAPI_WeaponTypes_Enum_Enum
source§fn clone(&self) -> BWAPI_WeaponTypes_Enum_Enum
fn clone(&self) -> BWAPI_WeaponTypes_Enum_Enum
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for BWAPI_WeaponTypes_Enum_Enum
impl Debug for BWAPI_WeaponTypes_Enum_Enum
source§impl FromPrimitive for BWAPI_WeaponTypes_Enum_Enum
impl FromPrimitive for BWAPI_WeaponTypes_Enum_Enum
source§fn from_i64(n: i64) -> Option<Self>
fn from_i64(n: i64) -> Option<Self>
Converts an
i64
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned. Read moresource§fn from_u64(n: u64) -> Option<Self>
fn from_u64(n: u64) -> Option<Self>
Converts an
u64
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned. Read moresource§fn from_isize(n: isize) -> Option<Self>
fn from_isize(n: isize) -> Option<Self>
Converts an
isize
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned. Read moresource§fn from_i8(n: i8) -> Option<Self>
fn from_i8(n: i8) -> Option<Self>
Converts an
i8
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned. Read moresource§fn from_i16(n: i16) -> Option<Self>
fn from_i16(n: i16) -> Option<Self>
Converts an
i16
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned. Read moresource§fn from_i32(n: i32) -> Option<Self>
fn from_i32(n: i32) -> Option<Self>
Converts an
i32
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned. Read moresource§fn from_i128(n: i128) -> Option<Self>
fn from_i128(n: i128) -> Option<Self>
Converts an
i128
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned. Read moresource§fn from_usize(n: usize) -> Option<Self>
fn from_usize(n: usize) -> Option<Self>
Converts a
usize
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned. Read moresource§fn from_u8(n: u8) -> Option<Self>
fn from_u8(n: u8) -> Option<Self>
Converts an
u8
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned. Read moresource§fn from_u16(n: u16) -> Option<Self>
fn from_u16(n: u16) -> Option<Self>
Converts an
u16
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned. Read moresource§fn from_u32(n: u32) -> Option<Self>
fn from_u32(n: u32) -> Option<Self>
Converts an
u32
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned. Read moresource§fn from_u128(n: u128) -> Option<Self>
fn from_u128(n: u128) -> Option<Self>
Converts an
u128
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned. Read more