Class SavingVoiceEventArgs
Contains all information before SCP-939 plays a stolen player's voice.
public class SavingVoiceEventArgs : IScp939Event, IPlayerEvent, IDeniableEvent, IExiledEvent
- Inheritance
-
SavingVoiceEventArgs
- Implements
- Inherited Members
- Extension Methods
Constructors
SavingVoiceEventArgs(ReferenceHub, ReferenceHub, bool)
Initializes a new instance of the SavingVoiceEventArgs class.
public SavingVoiceEventArgs(ReferenceHub player, ReferenceHub stolen, bool isAllowed = true)
Parameters
player
ReferenceHubstolen
ReferenceHubThe player who's voice was stolen.
isAllowed
bool
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; }