Class EatingScp330EventArgs
Contains all information before a player eats SCP-330.
Inheritance
System.Object
EatingScp330EventArgs
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Exiled.Events.EventArgs.Scp330
Assembly: Exiled.Events.dll
Syntax
public class EatingScp330EventArgs : IPlayerEvent, IDeniableEvent, IExiledEvent
Constructors
| Improve this Doc View SourceEatingScp330EventArgs(Player, ICandy, Boolean)
Initializes a new instance of the EatingScp330EventArgs class.
Declaration
public EatingScp330EventArgs(Player player, ICandy candy, bool isAllowed = true)
Parameters
Type | Name | Description |
---|---|---|
Player | player | |
InventorySystem.Items.Usables.Scp330.ICandy | candy | InventorySystem.Items.Usables.Scp330.ICandy. |
System.Boolean | isAllowed |
Properties
| Improve this Doc View SourceCandy
Gets the InventorySystem.Items.Usables.Scp330.ICandy that is being eaten by the player.
Declaration
public ICandy Candy { get; }
Property Value
Type | Description |
---|---|
InventorySystem.Items.Usables.Scp330.ICandy |
IsAllowed
Gets or sets a value indicating whether or not the player can eat SCP-330.
Declaration
public bool IsAllowed { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Player
Gets the player who's eating SCP-330.
Declaration
public Player Player { get; }
Property Value
Type | Description |
---|---|
Player |