Table of Contents

Class Scp2176

Namespace
Exiled.API.Features.Items
Assembly
Exiled.API.dll

A wrapper class for Scp2176Projectile.

public class Scp2176 : Throwable, IWrapper<ItemBase>, IWrapper<ThrowableItem>
Inheritance
Scp2176
Implements
IWrapper<ItemBase>
IWrapper<ThrowableItem>
Inherited Members
Extension Methods

Constructors

Scp2176(ThrowableItem)

Initializes a new instance of the Scp2176 class.

public Scp2176(ThrowableItem itemBase)

Parameters

itemBase ThrowableItem

The base InventorySystem.Items.ThrowableProjectiles.ThrowableItem class.

Properties

FuseTime

Gets or sets how long the fuse will last.

public float FuseTime { get; set; }

Property Value

float

Projectile

Gets a Scp2176Projectile to change grenade properties.

public Scp2176Projectile Projectile { get; }

Property Value

Scp2176Projectile

Methods

Clone()

Clones current Scp2176 object.

public override Item Clone()

Returns

Item

New Scp2176 object.

SpawnActive(Vector3, Player)

Spawns an active grenade on the map at the specified location.

public Scp2176Projectile SpawnActive(Vector3 position, Player owner = null)

Parameters

position Vector3

The location to spawn the grenade.

owner Player

Optional: 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.