Table of Contents

Class InteractingScp330EventArgs

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

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

player Player
usage int

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

bool

Item

Gets the Item triggering the event.

public Item Item { get; }

Property Value

Item

Player

Gets the Player triggering the event.

public Player Player { get; }

Property Value

Player

Scp330

Gets the Scp330 triggering the event.

public Scp330 Scp330 { get; }

Property Value

Scp330

ShouldPlaySound

Gets or sets a value indicating whether the sound should be played.

public bool ShouldPlaySound { get; set; }

Property Value

bool

Remarks

It won't work if IsAllowed = false.

ShouldSever

Gets or sets a value indicating whether the player's hands should get severed.

public bool ShouldSever { get; set; }

Property Value

bool

UsageCount

Gets a value indicating how many times this player has interacted with SCP-330.

public int UsageCount { get; }

Property Value

int