Class TogglingOverwatchEventArgs
Contains all information before a player toggles overwatch mode.
public class TogglingOverwatchEventArgs : IPlayerEvent, IDeniableEvent, IExiledEvent
- Inheritance
-
TogglingOverwatchEventArgs
- Implements
- Inherited Members
- Extension Methods
Constructors
TogglingOverwatchEventArgs(Player, byte)
Initializes a new instance of the TogglingOverwatchEventArgs class.
public TogglingOverwatchEventArgs(Player player, byte newValue)
Parameters
Properties
IsAllowed
Gets or sets a value indicating whether the event is allowed.
public bool IsAllowed { get; set; }
Property Value
IsEnabled
Gets or sets a value indicating whether overwatch will be enabled.
public bool IsEnabled { get; set; }
Property Value
Player
Gets the player that is toggling overwatch.
public Player Player { get; }