Class StayingOnEnvironmentalHazardEventArgs
Contains all information when a player stays on an environmental hazard.
Inheritance
System.Object
StayingOnEnvironmentalHazardEventArgs
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 StayingOnEnvironmentalHazardEventArgs : IPlayerEvent, IHazardEvent, IExiledEvent
Constructors
| Improve this Doc View SourceStayingOnEnvironmentalHazardEventArgs(Player, EnvironmentalHazard)
Initializes a new instance of the StayingOnEnvironmentalHazardEventArgs class.
Declaration
public StayingOnEnvironmentalHazardEventArgs(Player player, EnvironmentalHazard environmentalHazard)
Parameters
Type | Name | Description |
---|---|---|
Player | player | |
Hazards.EnvironmentalHazard | environmentalHazard |
Properties
| Improve this Doc View SourceHazard
Declaration
public Hazard Hazard { get; }
Property Value
Type | Description |
---|---|
Hazard |
Player
Gets the player who's staying on the environmental hazard.
Declaration
public Player Player { get; }
Property Value
Type | Description |
---|---|
Player |