Search Results for

    Show / Hide Table of Contents

    Class GrenadePickup

    A wrapper class for a high explosive grenade pickup.

    Inheritance
    System.Object
    TypeCastObject<Pickup>
    Pickup
    GrenadePickup
    Implements
    IWrapper<InventorySystem.Items.Pickups.ItemPickupBase>
    IWorldSpace
    IPosition
    IRotation
    IWrapper<InventorySystem.Items.ThrowableProjectiles.TimedGrenadePickup>
    Inherited Members
    Pickup.List
    Pickup.GameObject
    Pickup.Transform
    Pickup.Rigidbody
    Pickup.Room
    Pickup.PhysicsModule
    Pickup.Serial
    Pickup.Scale
    Pickup.Weight
    Pickup.PickupTime
    Pickup.Type
    Pickup.IsLocked
    Pickup.Info
    Pickup.PreviousOwner
    Pickup.InUse
    Pickup.Position
    Pickup.RelativePosition
    Pickup.Rotation
    Pickup.IsSpawned
    Pickup.Get(ItemPickupBase)
    Pickup.Get(UInt16)
    Pickup.Get(GameObject)
    Pickup.Get(IEnumerable<ItemPickupBase>)
    Pickup.Get(ItemType)
    Pickup.Get(IEnumerable<GameObject>)
    Pickup.Get<T>(IEnumerable<ItemPickupBase>)
    Pickup.Get<T>(ItemType)
    Pickup.Get<T>(IEnumerable<GameObject>)
    Pickup.Create(ItemType)
    Pickup.CreateAndSpawn(ItemType, Vector3, Quaternion, Player)
    Pickup.Spawn(Pickup, Vector3, Quaternion, Player)
    Pickup.PickupTimeForPlayer(Player)
    Pickup.Spawn()
    Pickup.Spawn(Vector3, Quaternion, Player)
    Pickup.UnSpawn()
    Pickup.Destroy()
    Pickup.Clone()
    Pickup.ToString()
    TypeCastObject<Pickup>.Cast<TObject>()
    TypeCastObject<Pickup>.Cast<TObject>(TObject)
    TypeCastObject<Pickup>.As<TObject>()
    TypeCastObject<Pickup>.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.Pickups
    Assembly: Exiled.API.dll
    Syntax
    public class GrenadePickup : Pickup, IWrapper<ItemPickupBase>, IWorldSpace, IPosition, IRotation, IWrapper<TimedGrenadePickup>

    Properties

    | Improve this Doc View Source

    Base

    Gets the InventorySystem.Items.ThrowableProjectiles.TimedGrenadePickup that this class is encapsulating.

    Declaration
    public TimedGrenadePickup Base { get; }
    Property Value
    Type Description
    InventorySystem.Items.ThrowableProjectiles.TimedGrenadePickup
    | 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

    ProjectileType

    Gets the ProjectileType of the item.

    Declaration
    public ProjectileType ProjectileType { get; }
    Property Value
    Type Description
    ProjectileType

    Methods

    | Improve this Doc View Source

    Explode()

    Trigger the grenade to make it Explode.

    Declaration
    public void Explode()
    | Improve this Doc View Source

    Explode(Footprint)

    Trigger the grenade to make it Explode.

    Declaration
    public void Explode(Footprint attacker)
    Parameters
    Type Name Description
    Footprinting.Footprint attacker

    The Footprinting.Footprint of the explosion.

    | Improve this Doc View Source

    InitializeProperties(ItemBase)

    Declaration
    protected override void InitializeProperties(ItemBase itemBase)
    Parameters
    Type Name Description
    InventorySystem.Items.ItemBase itemBase
    Overrides
    Pickup.InitializeProperties(ItemBase)

    Implements

    IWrapper<T>
    IWorldSpace
    IPosition
    IRotation
    IWrapper<T>

    Extension Methods

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