--------------------------------------------------------------------------------------------------------------------------
| 571 | |
| 572 | //-------------------------------------------------------------------------------------------------------------------------- |
| 573 | void ACogSampleCharacter::HandleDamageDealt(const FCogSampleDamageEventParams& Params) |
| 574 | { |
| 575 | OnDamageDealt.Broadcast(Params); |
| 576 | |
| 577 | #if ENABLE_COG |
| 578 | FCogDebugMetric::AddMetric(this, "Damage Dealt", Params.MitigatedDamage, Params.UnmitigatedDamage, false); |
| 579 | #endif //ENABLE_COG |
| 580 | } |
| 581 | |
| 582 | //-------------------------------------------------------------------------------------------------------------------------- |
| 583 | bool ACogSampleCharacter::IsDead() const |
no outgoing calls
no test coverage detected