Table of Contents

Class DamageData<T>

Namespace
Anvil.API.Events
Assembly
NWN.Anvil.dll

Represents the typed damage data used to apply damage to a game object.

public sealed class DamageData<T> where T : unmanaged

Type Parameters

T

The underlying native type used to represent damage values.

Inheritance
DamageData<T>
Inherited Members
Extension Methods

Properties

Acid
Base
Bludgeoning
Cold
Divine
Electrical
Fire
Magical
Negative
Pierce
Positive
Slash
Sonic

Methods

GetDamageByType(DamageType)

Gets the damage value for the specified DamageType.

SetDamageByType(DamageType, T)

Sets the damage value for the specified DamageType.