Class FlashbangProjectile
- Namespace
- Exiled.API.Features.Pickups.Projectiles
- Assembly
- Exiled.API.dll
A wrapper class for FlashbangGrenade.
public class FlashbangProjectile : EffectGrenadeProjectile, IWrapper<ItemPickupBase>, IWorldSpace, IPosition, IRotation, IWrapper<ThrownProjectile>, IWrapper<TimeGrenade>, IWrapper<EffectGrenade>, IWrapper<FlashbangGrenade>
- Inheritance
-
FlashbangProjectile
- Implements
-
IWrapper<ItemPickupBase>IWrapper<ThrownProjectile>IWrapper<TimeGrenade>IWrapper<EffectGrenade>IWrapper<FlashbangGrenade>
- Inherited Members
- Extension Methods
Constructors
FlashbangProjectile(FlashbangGrenade)
Initializes a new instance of the FlashbangProjectile class.
public FlashbangProjectile(FlashbangGrenade pickupBase)
Parameters
pickupBase
FlashbangGrenadeThe base InventorySystem.Items.ThrowableProjectiles.FlashbangGrenade class.
Properties
AdditionalBlindedEffect
Gets or sets the additional duration of the Blinded effect.
public float AdditionalBlindedEffect { get; set; }
Property Value
Base
Gets the InventorySystem.Items.ThrowableProjectiles.FlashbangGrenade that this class is encapsulating.
public FlashbangGrenade Base { get; }
Property Value
- FlashbangGrenade
MinimalDurationEffect
Gets or sets the minimum duration of player can take the effect.
public float MinimalDurationEffect { get; set; }
Property Value
SurfaceDistanceIntensifier
Gets or sets the how much the flashbang going to be intensified when exploding on Surface.
public float SurfaceDistanceIntensifier { get; set; }
Property Value
Methods
ToString()
Returns the FlashbangPickup in a human readable format.
public override string ToString()
Returns
- string
A string containing FlashbangPickup-related data.