Class TogglingNoClipEventArgs
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
Properties
IsAllowed
Gets or sets a value indicating whether the player can toggle noclip.
public bool IsAllowed { get; set; }
Property Value
IsEnabled
Gets or sets a value indicating whether the noclip mode will be enabled.
public bool IsEnabled { get; set; }
Property Value
Player
Gets the player who's toggling noclip.
public Player Player { get; }