Class OpeningGiftEventArgs
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
Properties
IsAllowed
Gets or sets a value indicating whether the event is allowed to continue.
public bool IsAllowed { get; set; }
Property Value
Player
Gets the Player triggering the event.
public Player Player { get; }