Table of Contents

Class GrenadePickup

Namespace
Exiled.API.Features.Pickups
Assembly
Exiled.API.dll

A wrapper class for a high explosive grenade pickup.

public class GrenadePickup : Pickup, IWrapper<ItemPickupBase>, IWorldSpace, IPosition, IRotation, IWrapper<TimedGrenadePickup>
Inheritance
GrenadePickup
Implements
IWrapper<ItemPickupBase>
IWrapper<TimedGrenadePickup>
Inherited Members
Extension Methods

Properties

Base

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

public TimedGrenadePickup Base { get; }

Property Value

TimedGrenadePickup

FuseTime

Gets or sets how long the fuse will last.

public float FuseTime { get; set; }

Property Value

float

ProjectileType

Gets the ProjectileType of the item.

public ProjectileType ProjectileType { get; }

Property Value

ProjectileType

Methods

Explode()

Trigger the grenade to make it Explode.

public void Explode()

Explode(Footprint)

Trigger the grenade to make it Explode.

public void Explode(Footprint attacker)

Parameters

attacker Footprint

The Footprinting.Footprint of the explosion.

InitializeProperties(ItemBase)

initialize item properties.

protected override void InitializeProperties(ItemBase itemBase)

Parameters

itemBase ItemBase

target item.