TakeDamageEntityParams
Struct TakeDamageEntityParams
Namespace: SwiftlyS2.Shared.GameHooks
Assembly: SwiftlyS2.CS2.dll
public struct TakeDamageEntityParamsInherited Members
- object.Equals(object?)
- object.Equals(object?, object?)
- object.GetHashCode()
- object.GetType()
- object.ReferenceEquals(object?, object?)
- object.ToString()
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