Class EatingScp330EventArgs
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
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
Item
Gets the Item triggering the event.
public Item Item { get; }
Property Value
Player
Gets the player who's eating SCP-330.
public Player Player { get; }
Property Value
Scp330
Gets the Scp330 triggering the event.
public Scp330 Scp330 { get; }