Class TogglingOverwatchEventArgs
Contains all information before a player toggles overwatch mode.
Inheritance
System.Object
TogglingOverwatchEventArgs
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.Player
Assembly: Exiled.Events.dll
Syntax
public class TogglingOverwatchEventArgs : IPlayerEvent, IDeniableEvent, IExiledEvent
Constructors
| Improve this Doc View SourceTogglingOverwatchEventArgs(Player, Byte)
Initializes a new instance of the TogglingOverwatchEventArgs class.
Declaration
public TogglingOverwatchEventArgs(Player player, byte newValue)
Parameters
Type | Name | Description |
---|---|---|
Player | player | |
System.Byte | newValue |
Properties
| Improve this Doc View SourceIsAllowed
Gets or sets a value indicating whether the event is allowed or not.
Declaration
public bool IsAllowed { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsEnabled
Gets or sets a value indicating whether overwatch will be enabled or not.
Declaration
public bool IsEnabled { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Player
Gets the player that is toggling overwatch.
Declaration
public Player Player { get; }
Property Value
Type | Description |
---|---|
Player |