Table of Contents

Class OpeningGiftEventArgs

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

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

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

Constructors

OpeningGiftEventArgs(Player, bool)

Initializes a new instance of the OpeningGiftEventArgs class.

public OpeningGiftEventArgs(Player player, bool isAllowed = true)

Parameters

player Player
isAllowed bool

Properties

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