SwiftlyS2

TakeDamageEntityParams

Struct TakeDamageEntityParams

Namespace: SwiftlyS2.Shared.GameHooks

Assembly: SwiftlyS2.CS2.dll

public struct TakeDamageEntityParams

Inherited Members

Properties

DamageResult

The optional native damage result. It may be null when the caller did not provide a result object.

public CTakeDamageResult* DamageResult { get; }
Property Value

Entity

The entity that is taking damage.

public required CBaseEntity Entity { readonly get; init; }
Property Value

Info

The damage information passed to the original function. Modifications are written to native memory.

public ref CTakeDamageInfo Info { get; }
Property Value

On this page