API Reference › GameHooksTakeDamageEntityParamsStructNamespace: SwiftlyS2.Shared.GameHooks · Assembly: SwiftlyS2.CS2.dllpublic struct TakeDamageEntityParamsView sourcePropertiesDamageResultThe optional native damage result. It may be null when the caller did not provide a result object.public CTakeDamageResult* DamageResult { get; }Property ValueCTakeDamageResult*EntityThe entity that is taking damage.public required CBaseEntity Entity { readonly get; init; }Property ValueCBaseEntityInfoThe damage information passed to the original function. Modifications are written to native memory.public ref CTakeDamageInfo Info { get; }Property ValueCTakeDamageInfo