Table of Contents

Class TogglingOverwatchEventArgs

Namespace
Exiled.Events.EventArgs.Player
Assembly
Exiled.Events.dll

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

player Player
newValue byte

Properties

IsAllowed

Gets or sets a value indicating whether the event is allowed.

public bool IsAllowed { get; set; }

Property Value

bool

IsEnabled

Gets or sets a value indicating whether overwatch will be enabled.

public bool IsEnabled { get; set; }

Property Value

bool

Player

Gets the player that is toggling overwatch.

public Player Player { get; }

Property Value

Player