Table of Contents

Class VoiceLinesEventArgs

Namespace
Exiled.Events.EventArgs.Scp3114
Assembly
Exiled.Events.dll

Contains all information prior to sending voiceline SCP-3114.

public class VoiceLinesEventArgs : IScp3114Event, IPlayerEvent, IDeniableEvent, IExiledEvent
Inheritance
VoiceLinesEventArgs
Implements
Inherited Members
Extension Methods

Constructors

VoiceLinesEventArgs(ReferenceHub, VoiceLinesDefinition, bool)

Initializes a new instance of the VoiceLinesEventArgs class.

public VoiceLinesEventArgs(ReferenceHub player, Scp3114VoiceLines.VoiceLinesDefinition voiceLine, bool isAllowed = true)

Parameters

player ReferenceHub
voiceLine Scp3114VoiceLines.VoiceLinesDefinition
isAllowed bool

Properties

IsAllowed

Gets or sets a value indicating whether the event is allowed to continue.

public bool IsAllowed { get; set; }

Property Value

bool

Player

Gets the Player triggering the event.

public Player Player { get; }

Property Value

Player

Scp3114

Gets the Scp3114Role triggering the event.

public Scp3114Role Scp3114 { get; }

Property Value

Scp3114Role

VoiceLine

Gets or sets the PlayerRoles.PlayableScps.Scp3114.Scp3114VoiceLines.VoiceLinesDefinition.

public Scp3114VoiceLines.VoiceLinesDefinition VoiceLine { get; set; }

Property Value

Scp3114VoiceLines.VoiceLinesDefinition