Table of Contents

Class TogglingNoClipEventArgs

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

Contains all information before a player toggles noclip.

public class TogglingNoClipEventArgs : IPlayerEvent, IDeniableEvent, IExiledEvent
Inheritance
TogglingNoClipEventArgs
Implements
Inherited Members
Extension Methods

Constructors

TogglingNoClipEventArgs(Player, bool, bool)

Initializes a new instance of the TogglingNoClipEventArgs class.

public TogglingNoClipEventArgs(Player player, bool newValue, bool isAllowed = true)

Parameters

player Player
newValue bool
isAllowed bool

Properties

IsAllowed

Gets or sets a value indicating whether the player can toggle noclip.

public bool IsAllowed { get; set; }

Property Value

bool

IsEnabled

Gets or sets a value indicating whether the noclip mode will be enabled.

public bool IsEnabled { get; set; }

Property Value

bool

Player

Gets the player who's toggling noclip.

public Player Player { get; }

Property Value

Player