Class ChangingKnobSettingEventArgs
Contains all information before a player changes the SCP-914 knob setting.
Inheritance
System.Object
ChangingKnobSettingEventArgs
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.Scp914
Assembly: Exiled.Events.dll
Syntax
public class ChangingKnobSettingEventArgs : IPlayerEvent, IDeniableEvent, IExiledEvent
Constructors
| Improve this Doc View SourceChangingKnobSettingEventArgs(Player, Scp914KnobSetting, Boolean)
Initializes a new instance of the ChangingKnobSettingEventArgs class.
Declaration
public ChangingKnobSettingEventArgs(Player player, Scp914KnobSetting knobSetting, bool isAllowed = true)
Parameters
Type | Name | Description |
---|---|---|
Player | player | |
Scp914.Scp914KnobSetting | knobSetting | |
System.Boolean | isAllowed |
Properties
| Improve this Doc View SourceIsAllowed
Gets or sets a value indicating whether or not SCP-914's knob setting can be changed.
Declaration
public bool IsAllowed { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
KnobSetting
Gets or sets the SCP-914 knob setting.
Declaration
public Scp914KnobSetting KnobSetting { get; set; }
Property Value
Type | Description |
---|---|
Scp914.Scp914KnobSetting |
Player
Gets the player who's changing the SCP-914 knob setting.
Declaration
public Player Player { get; }
Property Value
Type | Description |
---|---|
Player |