Class PlayingVoiceEventArgs
Contains all information before SCP-939 plays a stolen player's voice.
public class PlayingVoiceEventArgs : IScp939Event, IPlayerEvent, IDeniableEvent, IExiledEvent
- Inheritance
-
PlayingVoiceEventArgs
- Implements
- Inherited Members
- Extension Methods
Constructors
PlayingVoiceEventArgs(ReferenceHub, ReferenceHub)
Initializes a new instance of the PlayingVoiceEventArgs class.
public PlayingVoiceEventArgs(ReferenceHub player, ReferenceHub stolen)
Parameters
player
ReferenceHubstolen
ReferenceHubThe player who's voice was stolen.
Properties
IsAllowed
Gets or sets a value indicating whether SCP-939 can play the stolen voice.
public bool IsAllowed { get; set; }
Property Value
Player
Gets the player who's controlling SCP-939.
public Player Player { get; }
Property Value
Scp939
Gets the Scp939Role triggering the event.
public Scp939Role Scp939 { get; }
Property Value
Stolen
Gets the players who's voice was stolen.
public Player Stolen { get; }