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