Class TogglingNoClipEventArgs
Contains all information before a player toggles noclip.
Inheritance
System.Object
TogglingNoClipEventArgs
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 TogglingNoClipEventArgs : IPlayerEvent, IDeniableEvent, IExiledEvent
Constructors
| Improve this Doc View SourceTogglingNoClipEventArgs(Player, Boolean, Boolean)
Initializes a new instance of the TogglingNoClipEventArgs class.
Declaration
public TogglingNoClipEventArgs(Player player, bool newValue, bool isAllowed = true)
Parameters
Type | Name | Description |
---|---|---|
Player | player | |
System.Boolean | newValue | |
System.Boolean | isAllowed |
Properties
| Improve this Doc View SourceIsAllowed
Gets or sets a value indicating whether or not the player can toggle noclip.
Declaration
public bool IsAllowed { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsEnabled
Gets or sets a value indicating whether or not the noclip mode will be enabled or not.
Declaration
public bool IsEnabled { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Player
Gets the player who's toggling noclip.
Declaration
public Player Player { get; }
Property Value
Type | Description |
---|---|
Player |