Table of Contents

Class GrantingGiftEventArgs

Namespace
Exiled.Events.EventArgs.Scp2536
Assembly
Exiled.Events.dll

Contains all information before player receives a gift from SCP-2536.

public class GrantingGiftEventArgs : IDeniableEvent, IPlayerEvent, IExiledEvent
Inheritance
GrantingGiftEventArgs
Implements
Inherited Members
Extension Methods

Constructors

GrantingGiftEventArgs(Player, Scp2536GiftBase, bool)

Initializes a new instance of the GrantingGiftEventArgs class.

public GrantingGiftEventArgs(Player player, Scp2536GiftBase gift, bool isAllowed = true)

Parameters

player Player
gift Scp2536GiftBase
isAllowed bool

Properties

Gift

Gets or sets a gift that will be granted to a Player.

public Scp2536GiftBase Gift { get; set; }

Property Value

Scp2536GiftBase

IsAllowed

Gets or sets a value indicating whether the event is allowed to continue.

public bool IsAllowed { get; set; }

Property Value

bool

Player

Gets the Player triggering the event.

public Player Player { get; }

Property Value

Player