Loading...
Searching...
No Matches
AdventureCore.VisualScripting.DamageSenderUnit.UnitDamageSender Class Reference
Inheritance diagram for AdventureCore.VisualScripting.DamageSenderUnit.UnitDamageSender:
AdventureCore.IDamageSender AdventureCore.ICharacterAssociator

Public Member Functions

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

Public Attributes

DamageParameter Parameter
 
Vector3 Direction
 
CharacterBase SenderCharacter
 

Properties

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

Member Function Documentation

◆ OnDamage()

void AdventureCore.VisualScripting.DamageSenderUnit.UnitDamageSender.OnDamage ( DamageEvent e)
inline

◆ PostDamage()

void AdventureCore.VisualScripting.DamageSenderUnit.UnitDamageSender.PostDamage ( IDamageReceiver receiver,
List< DamageEvent > events )
inline

◆ PreDamage()

bool AdventureCore.VisualScripting.DamageSenderUnit.UnitDamageSender.PreDamage ( IDamageReceiver receiver)
inline

Property Documentation

◆ AssociatedCharacter

CharacterBase AdventureCore.VisualScripting.DamageSenderUnit.UnitDamageSender.AssociatedCharacter
get

character that owns or is otherwise associted with the object

Implements AdventureCore.ICharacterAssociator.

◆ Damages

IEnumerable<DamageParameter> AdventureCore.VisualScripting.DamageSenderUnit.UnitDamageSender.Damages
get