OpenMod Docs OpenMod Docs
OpenMod Docs OpenMod Docs
OpenMod .NET Plugin Framework.

Interface IPlayerDamagingEvent

The event that is triggered when damage is to be dealt to a player.

Inherited Members
IPlayerEvent.Player
ICancellableEvent.IsCancelled
IEvent.Arguments
IEvent.Data
Namespace: OpenMod.Extensions.Games.Abstractions.Players
Assembly: OpenMod.Extensions.Games.Abstractions.dll
Syntax
public interface IPlayerDamagingEvent : IPlayerEvent, ICancellableEvent, IEvent

Properties

| Improve this Doc View Source

DamageAmount

The amount of the damage.

Declaration
double DamageAmount { get; set; }
Property Value
Type Description
System.Double
| Improve this Doc View Source

DamageSource

The damage source.

Declaration
IDamageSource DamageSource { get; }
Property Value
Type Description
IDamageSource

Extension Methods

DisposeHelper.DisposeSyncOrAsync(Object)