Class Scp2176
A wrapper class for Scp2176Projectile.
public class Scp2176 : Throwable, IWrapper<ItemBase>, IWrapper<ThrowableItem>
- Inheritance
-
Scp2176
- Inherited Members
- Extension Methods
Constructors
Scp2176(ThrowableItem)
Initializes a new instance of the Scp2176 class.
public Scp2176(ThrowableItem itemBase)
Parameters
itemBase
ThrowableItemThe base InventorySystem.Items.ThrowableProjectiles.ThrowableItem class.
Properties
FuseTime
Gets or sets how long the fuse will last.
public float FuseTime { get; set; }
Property Value
Projectile
Gets a Scp2176Projectile to change grenade properties.
public Scp2176Projectile Projectile { get; }
Property Value
Methods
Clone()
Clones current Scp2176 object.
public override Item Clone()
Returns
SpawnActive(Vector3, Player)
Spawns an active grenade on the map at the specified location.
public Scp2176Projectile SpawnActive(Vector3 position, Player owner = null)
Parameters
position
Vector3The location to spawn the grenade.
owner
PlayerOptional: The Player owner of the grenade.
Returns
- Scp2176Projectile
Spawned grenade.
ToString()
Returns the ExplosiveGrenade in a human readable format.
public override string ToString()
Returns
- string
A string containing ExplosiveGrenade-related data.