Class ChangingIntoGrenadeEventArgs
Contains all information for when the server is turning a pickup into a live grenade.
public class ChangingIntoGrenadeEventArgs : IDeniableEvent, IPickupEvent, IExiledEvent
- Inheritance
-
ChangingIntoGrenadeEventArgs
- Implements
- Inherited Members
- Extension Methods
Constructors
ChangingIntoGrenadeEventArgs(TimedGrenadePickup)
Initializes a new instance of the ChangingIntoGrenadeEventArgs class.
public ChangingIntoGrenadeEventArgs(TimedGrenadePickup pickup)
Parameters
pickup
TimedGrenadePickupThe Pickup being changed.
Properties
IsAllowed
Gets or sets a value indicating whether the pickup will be changed.
public bool IsAllowed { get; set; }
Property Value
Pickup
Gets a value indicating the pickup being changed into a grenade.
public Pickup Pickup { get; }
Property Value
Type
Gets or sets a value indicating what type of grenade will be spawned.
public ItemType Type { get; set; }
Property Value
- ItemType