Loading...
Searching...
No Matches
AdventureCore.IDamageSender Interface Reference

Detailed Description

interface for any behaviour that sends damage to a IDamageReceiver
check TriggerDamageReceiver and TriggerDamageSender for a common implementation that can in turn be built upon

Inheritance diagram for AdventureCore.IDamageSender:
AdventureCore.ICharacterAssociator AdventureCore.DamageEffect AdventureCore.SphereDamageSender AdventureCore.TriggerDamageSender AdventureCore.VisualScripting.DamageSenderUnit.UnitDamageSender AdventureSouls.SoulsCriticalAction AdventureCore.MovingDamageSender AdventureCore.ProjectileDamageSender

Public Member Functions

bool PreDamage (IDamageReceiver receiver)
 
void OnDamage (DamageEvent e)
 
void PostDamage (IDamageReceiver receiver, List< DamageEvent > events)
 

Properties

IEnumerable< DamageParameterDamages [get]
 
- Properties inherited from AdventureCore.ICharacterAssociator
CharacterBase AssociatedCharacter [get]
 character that owns or is otherwise associted with the object