Class InteractingScp330EventArgs
Contains all information before a player interacts with SCP-330.
public class InteractingScp330EventArgs : IScp330Event, IItemEvent, IPlayerEvent, IDeniableEvent, IExiledEvent
- Inheritance
-
InteractingScp330EventArgs
- Implements
- Inherited Members
- Extension Methods
Constructors
InteractingScp330EventArgs(Player, int)
Initializes a new instance of the InteractingScp330EventArgs class.
public InteractingScp330EventArgs(Player player, int usage)
Parameters
Properties
Candy
Gets or sets a value indicating the type of candy that will be received from this interaction.
public CandyKindID Candy { get; set; }
Property Value
- CandyKindID
IsAllowed
Gets or sets a value indicating whether the player is allowed to interact with 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 triggering the event.
public Player Player { get; }
Property Value
Scp330
Gets the Scp330 triggering the event.
public Scp330 Scp330 { get; }
Property Value
ShouldPlaySound
Gets or sets a value indicating whether the sound should be played.
public bool ShouldPlaySound { get; set; }
Property Value
Remarks
ShouldSever
Gets or sets a value indicating whether the player's hands should get severed.
public bool ShouldSever { get; set; }
Property Value
UsageCount
Gets a value indicating how many times this player has interacted with SCP-330.
public int UsageCount { get; }