Class ExplosiveGrenade
A wrapper class for InventorySystem.Items.ThrowableProjectiles.ExplosionGrenade.
public class ExplosiveGrenade : Throwable, IWrapper<ItemBase>, IWrapper<ThrowableItem>- Inheritance
- 
      
      
      
      
      ExplosiveGrenade
- Inherited Members
- Extension Methods
Constructors
ExplosiveGrenade(ThrowableItem)
Initializes a new instance of the ExplosiveGrenade class.
public ExplosiveGrenade(ThrowableItem itemBase)Parameters
- itemBaseThrowableItem
- The base InventorySystem.Items.ThrowableProjectiles.ThrowableItem class. 
Properties
BurnDuration
Gets or sets how long the Burned effect will last.
public float BurnDuration { get; set; }Property Value
ConcussDuration
Gets or sets how long the Concussed effect will last.
public float ConcussDuration { get; set; }Property Value
DeafenDuration
Gets or sets how long the Deafened effect will last.
public float DeafenDuration { get; set; }Property Value
FuseTime
Gets or sets how long the fuse will last.
public float FuseTime { get; set; }Property Value
MaxRadius
Gets or sets the maximum radius of the grenade.
public float MaxRadius { get; set; }Property Value
Projectile
Gets a ExplosionGrenadeProjectile to change grenade properties.
public ExplosionGrenadeProjectile Projectile { get; }Property Value
ScpDamageMultiplier
Gets or sets the multiplier for damage against Scp players.
public float ScpDamageMultiplier { get; set; }Property Value
Methods
Clone()
Clones current ExplosiveGrenade object.
public override Item Clone()Returns
- Item
- New ExplosiveGrenade object. 
SpawnActive(Vector3, Player)
Spawns an active grenade on the map at the specified location.
public ExplosionGrenadeProjectile SpawnActive(Vector3 position, Player owner = null)Parameters
- positionVector3
- The location to spawn the grenade. 
- ownerPlayer
- Optional: The Player owner of the grenade. 
Returns
- ExplosionGrenadeProjectile
- Spawned grenade. 
ToString()
Returns the ExplosiveGrenade in a human readable format.
public override string ToString()Returns
- string
- A string containing ExplosiveGrenade-related data.