Class Warhead
Handles warhead related events.
Inheritance
System.Object
Warhead
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.Handlers
Assembly: Exiled.Events.dll
Syntax
public class Warhead
Properties
| Improve this Doc View SourceChangingLeverStatus
Invoked before changing the warhead lever status.
Declaration
public static Event<ChangingLeverStatusEventArgs> ChangingLeverStatus { get; set; }
Property Value
Type | Description |
---|---|
Event<ChangingLeverStatusEventArgs> |
Detonated
Invoked after the warhead has been detonated.
Declaration
public static Event Detonated { get; set; }
Property Value
Type | Description |
---|---|
Event |
Detonating
Invoked before detonating the warhead.
Declaration
public static Event<DetonatingEventArgs> Detonating { get; set; }
Property Value
Type | Description |
---|---|
Event<DetonatingEventArgs> |
Starting
Invoked before starting the warhead.
Declaration
public static Event<StartingEventArgs> Starting { get; set; }
Property Value
Type | Description |
---|---|
Event<StartingEventArgs> |
Stopping
Invoked before stopping the warhead.
Declaration
public static Event<StoppingEventArgs> Stopping { get; set; }
Property Value
Type | Description |
---|---|
Event<StoppingEventArgs> |
Methods
| Improve this Doc View SourceOnChangingLeverStatus(ChangingLeverStatusEventArgs)
Called before changing the warhead lever status.
Declaration
public static void OnChangingLeverStatus(ChangingLeverStatusEventArgs ev)
Parameters
Type | Name | Description |
---|---|---|
ChangingLeverStatusEventArgs | ev | The ChangingLeverStatusEventArgs instance. |
OnDetonated()
Called after the warhead has been detonated.
Declaration
public static void OnDetonated()
OnDetonating(DetonatingEventArgs)
Called before detonating the warhead.
Declaration
public static void OnDetonating(DetonatingEventArgs ev)
Parameters
Type | Name | Description |
---|---|---|
DetonatingEventArgs | ev | The DetonatingEventArgs instance. |
OnStarting(StartingEventArgs)
Called before starting the warhead.
Declaration
public static void OnStarting(StartingEventArgs ev)
Parameters
Type | Name | Description |
---|---|---|
StartingEventArgs | ev | The StartingEventArgs instance. |
OnStopping(StoppingEventArgs)
Called before stopping the warhead.
Declaration
public static void OnStopping(StoppingEventArgs ev)
Parameters
Type | Name | Description |
---|---|---|
StoppingEventArgs | ev | The StoppingEventArgs instance. |