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

Interface IPlayerDamagedEvent

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

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

Properties

| Improve this Doc View Source

DamageAmount

Gets the amount of the damage dealt.

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

DamageSource

GEts the damage source.

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

Extension Methods

DisposeHelper.DisposeSyncOrAsync(Object)