Struct DamageResult

Namespace
TDMaker.Core
Assembly
TDMaker.Core.dll

One accepted request after resolution; ignored, removed, or immune recipients produce zero damage.

public readonly struct DamageResult
Inherited Members

Constructors

DamageResult(DamageContext, float)

Creates a damage observation.

public DamageResult(DamageContext request, float appliedAmount)

Parameters

request DamageContext
appliedAmount float

Properties

AppliedAmount

Health actually lost.

public float AppliedAmount { get; }

Property Value

float

Request

The accepted raw request after pre-queue hooks.

public DamageContext Request { get; }

Property Value

DamageContext