Class TalkingEventArgs
Contains all information before SCP-127 voice line is played.
public class TalkingEventArgs : IScp127Event, IItemEvent, IPlayerEvent, IDeniableEvent, IExiledEvent
- Inheritance
-
TalkingEventArgs
- Implements
- Inherited Members
- Extension Methods
Constructors
TalkingEventArgs(Scp127, Scp127VoiceLinesTranslation, VoiceLinePriority, bool)
Initializes a new instance of the TalkingEventArgs class.
public TalkingEventArgs(Scp127 scp127, Scp127VoiceLinesTranslation voiceLine, Scp127VoiceTriggerBase.VoiceLinePriority voiceLinePriority, bool isAllowed = true)
Parameters
scp127Scp127voiceLineScp127VoiceLinesTranslationvoiceLinePriorityScp127VoiceTriggerBase.VoiceLinePriorityisAllowedbool
Properties
IsAllowed
Gets or sets a value indicating whether the event is allowed to continue.
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
Priority
Gets or sets a priority for this play.
public Scp127VoiceTriggerBase.VoiceLinePriority Priority { get; set; }
Property Value
- Scp127VoiceTriggerBase.VoiceLinePriority
Scp127
Gets the SCP-127 instance, related to this event.
public Scp127 Scp127 { get; }
Property Value
VoiceLine
Gets or sets a voice line which is played.
public Scp127VoiceLinesTranslation VoiceLine { get; set; }
Property Value
- Scp127VoiceLinesTranslation