Search Results for

    Show / Hide Table of Contents

    Class Scp2176

    A wrapper class for Scp2176Projectile.

    Inheritance
    System.Object
    TypeCastObject<Item>
    Item
    Throwable
    Scp2176
    Implements
    IWrapper<InventorySystem.Items.ItemBase>
    IWrapper<InventorySystem.Items.ThrowableProjectiles.ThrowableItem>
    Inherited Members
    Throwable.Base
    Throwable.PinPullTime
    Throwable.Repickable
    Throwable.Throw(Boolean)
    Item.List
    Item.Serial
    Item.IsInInventory
    Item.Scale
    Item.Type
    Item.Category
    Item.TierFlags
    Item.Weight
    Item.IsAmmo
    Item.IsArmor
    Item.IsKeycard
    Item.IsConsumable
    Item.IsThrowable
    Item.IsUsable
    Item.IsWeapon
    Item.IsLightEmitter
    Item.IsDisarmer
    Item.Owner
    Item.Get(ItemBase)
    Item.Get(UInt16)
    Item.Create(ItemType, Player)
    Item.Give(Player)
    Item.Destroy()
    Item.CreatePickup(Vector3, Quaternion, Boolean)
    Item.ChangeItemOwner(Player, Player)
    TypeCastObject<Item>.Cast<TObject>()
    TypeCastObject<Item>.Cast<TObject>(TObject)
    TypeCastObject<Item>.As<TObject>()
    TypeCastObject<Item>.Is<TObject>(TObject)
    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.Items
    Assembly: Exiled.API.dll
    Syntax
    public class Scp2176 : Throwable, IWrapper<ItemBase>, IWrapper<ThrowableItem>

    Constructors

    | Improve this Doc View Source

    Scp2176(ThrowableItem)

    Initializes a new instance of the Scp2176 class.

    Declaration
    public Scp2176(ThrowableItem itemBase)
    Parameters
    Type Name Description
    InventorySystem.Items.ThrowableProjectiles.ThrowableItem itemBase

    The base InventorySystem.Items.ThrowableProjectiles.ThrowableItem class.

    Properties

    | Improve this Doc View Source

    FuseTime

    Gets or sets how long the fuse will last.

    Declaration
    public float FuseTime { get; set; }
    Property Value
    Type Description
    System.Single
    | Improve this Doc View Source

    Projectile

    Gets a Scp2176Projectile to change grenade properties.

    Declaration
    public Scp2176Projectile Projectile { get; }
    Property Value
    Type Description
    Scp2176Projectile

    Methods

    | Improve this Doc View Source

    Clone()

    Clones current Scp2176 object.

    Declaration
    public override Item Clone()
    Returns
    Type Description
    Item

    New Scp2176 object.

    Overrides
    Throwable.Clone()
    | Improve this Doc View Source

    SpawnActive(Vector3, Player)

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

    Declaration
    public Scp2176Projectile SpawnActive(Vector3 position, Player owner = null)
    Parameters
    Type Name Description
    UnityEngine.Vector3 position

    The location to spawn the grenade.

    Player owner

    Optional: The Player owner of the grenade.

    Returns
    Type Description
    Scp2176Projectile

    Spawned grenade.

    | Improve this Doc View Source

    ToString()

    Returns the ExplosiveGrenade in a human readable format.

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String

    A string containing ExplosiveGrenade-related data.

    Overrides
    Throwable.ToString()

    Implements

    IWrapper<T>
    IWrapper<T>

    Extension Methods

    ReflectionExtensions.CopyProperties(Object, Object)
    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX