Table of Contents

Class Scp018

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

A wrapper class for InventorySystem.Items.ThrowableProjectiles.Scp018Projectile item.

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

Constructors

Scp018(ThrowableItem)

Initializes a new instance of the Scp018 class.

public Scp018(ThrowableItem itemBase)

Parameters

itemBase ThrowableItem

The base InventorySystem.Items.ThrowableProjectiles.ThrowableItem class.

Properties

FriendlyFireTime

Gets or sets the time for SCP-018 not to ignore the friendly fire.

public float FriendlyFireTime { get; set; }

Property Value

float

FuseTime

Gets or sets how long the fuse will last.

public float FuseTime { get; set; }

Property Value

float

Projectile

Gets a ExplosionGrenadeProjectile to change grenade properties.

public Scp018Projectile Projectile { get; }

Property Value

Scp018Projectile

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 Scp018Projectile 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

Scp018Projectile

Spawned grenade.

ToString()

Returns the ExplosiveGrenade in a human readable format.

public override string ToString()

Returns

string

A string containing ExplosiveGrenade-related data.