Class InteractingScp330EventArgs
Contains all information before a player interacts with SCP-330.
Inheritance
System.Object
InteractingScp330EventArgs
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 InteractingScp330EventArgs : IPlayerEvent, IDeniableEvent, IExiledEvent
Constructors
| Improve this Doc View SourceInteractingScp330EventArgs(Player, Int32)
Initializes a new instance of the InteractingScp330EventArgs class.
Declaration
public InteractingScp330EventArgs(Player player, int usage)
Parameters
Type | Name | Description |
---|---|---|
Player | player | |
System.Int32 | usage |
Properties
| Improve this Doc View SourceCandy
Gets or sets a value indicating the type of candy that will be received from this interaction.
Declaration
public CandyKindID Candy { get; set; }
Property Value
Type | Description |
---|---|
InventorySystem.Items.Usables.Scp330.CandyKindID |
IsAllowed
Gets or sets a value indicating whether the player is allowed to interact with SCP-330.
Declaration
public bool IsAllowed { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Player
Gets the Player triggering the event.
Declaration
public Player Player { get; }
Property Value
Type | Description |
---|---|
Player |
ShouldSever
Gets or sets a value indicating whether the player's hands should get severed.
Declaration
public bool ShouldSever { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
UsageCount
Gets a value indicating how many times this player has interacted with SCP-330.
Declaration
public int UsageCount { get; }
Property Value
Type | Description |
---|---|
System.Int32 |