Table of Contents

Class EatingScp330EventArgs

Namespace
Exiled.Events.EventArgs.Scp330
Assembly
Exiled.Events.dll

Contains all information before a player eats SCP-330.

public class EatingScp330EventArgs : IScp330Event, IItemEvent, IPlayerEvent, IDeniableEvent, IExiledEvent
Inheritance
EatingScp330EventArgs
Implements
Inherited Members
Extension Methods

Constructors

EatingScp330EventArgs(Player, Scp330Bag, ICandy, bool)

Initializes a new instance of the EatingScp330EventArgs class.

public EatingScp330EventArgs(Player player, Scp330Bag scp330, ICandy candy, bool isAllowed = true)

Parameters

player Player

Player.

scp330 Scp330Bag

.

candy ICandy

Candy.

isAllowed bool

IsAllowed.

Properties

Candy

Gets the InventorySystem.Items.Usables.Scp330.ICandy that is being eaten by the player.

public ICandy Candy { get; }

Property Value

ICandy

IsAllowed

Gets or sets a value indicating whether the player can eat SCP-330.

public bool IsAllowed { get; set; }

Property Value

bool

Item

Gets the Item triggering the event.

public Item Item { get; }

Property Value

Item

Player

Gets the player who's eating SCP-330.

public Player Player { get; }

Property Value

Player

Scp330

Gets the Scp330 triggering the event.

public Scp330 Scp330 { get; }

Property Value

Scp330