Class VoiceLinesEventArgs
Contains all information prior to sending voiceline SCP-3114.
Inheritance
System.Object
VoiceLinesEventArgs
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.Scp3114
Assembly: Exiled.Events.dll
Syntax
public class VoiceLinesEventArgs : IScp3114Event, IPlayerEvent, IDeniableEvent, IExiledEvent
Constructors
| Improve this Doc View SourceVoiceLinesEventArgs(ReferenceHub, Scp3114VoiceLines.VoiceLinesDefinition, Boolean)
Initializes a new instance of the VoiceLinesEventArgs class.
Declaration
public VoiceLinesEventArgs(ReferenceHub player, Scp3114VoiceLines.VoiceLinesDefinition voiceLine, bool isAllowed = true)
Parameters
Type | Name | Description |
---|---|---|
ReferenceHub | player | |
PlayerRoles.PlayableScps.Scp3114.Scp3114VoiceLines.VoiceLinesDefinition | voiceLine | |
System.Boolean | isAllowed |
Properties
| Improve this Doc View SourceIsAllowed
Declaration
public bool IsAllowed { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Player
Declaration
public Player Player { get; }
Property Value
Type | Description |
---|---|
Player |
Scp3114
Declaration
public Scp3114Role Scp3114 { get; }
Property Value
Type | Description |
---|---|
Scp3114Role |
VoiceLine
Gets or sets the PlayerRoles.PlayableScps.Scp3114.Scp3114VoiceLines.VoiceLinesDefinition.
Declaration
public Scp3114VoiceLines.VoiceLinesDefinition VoiceLine { get; set; }
Property Value
Type | Description |
---|---|
PlayerRoles.PlayableScps.Scp3114.Scp3114VoiceLines.VoiceLinesDefinition |