Class ChangingIntoGrenadeEventArgs
Contains all information for when the server is turning a pickup into a live grenade.
Inheritance
System.Object
ChangingIntoGrenadeEventArgs
Inherited Members
System.Object.ToString()
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.Events.EventArgs.Map
Assembly: Exiled.Events.dll
Syntax
public class ChangingIntoGrenadeEventArgs : IDeniableEvent, IPickupEvent, IExiledEvent
Constructors
| Improve this Doc View SourceChangingIntoGrenadeEventArgs(TimedGrenadePickup)
Initializes a new instance of the ChangingIntoGrenadeEventArgs class.
Declaration
public ChangingIntoGrenadeEventArgs(TimedGrenadePickup pickup)
Parameters
Type | Name | Description |
---|---|---|
InventorySystem.Items.ThrowableProjectiles.TimedGrenadePickup | pickup | The Pickup being changed. |
Properties
| Improve this Doc View SourceIsAllowed
Gets or sets a value indicating whether the pickup will be changed.
Declaration
public bool IsAllowed { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Pickup
Gets a value indicating the pickup being changed into a grenade.
Declaration
public Pickup Pickup { get; }
Property Value
Type | Description |
---|---|
Pickup |
Type
Gets or sets a value indicating what type of grenade will be spawned.
Declaration
public ItemType Type { get; set; }
Property Value
Type | Description |
---|---|
ItemType |