Event used by AActor::TakeDamage and related functions 更多...
#include <EngineTypes.h>
类 FDamageEvent 继承关系图:Public 成员函数 | |
| FDamageEvent () | |
| Default constructor (no initialization). | |
| virtual void | GetBestHitInfo (AActor const *HitActor, AActor const *HitInstigator, struct FHitResult &OutHitInfo, FVector &OutImpulseDir) const |
| This is for compatibility with old-style functions which want a unified set of hit data regardless of type of hit. 更多... | |
Public 属性 | |
| TSubclassOf< class UDamageType > | DamageTypeClass |
| Optional DamageType for this event. 更多... | |
静态 Public 属性 | |
| static const int32 | ClassID = 0 |
| ID for this class. 更多... | |
Event used by AActor::TakeDamage and related functions
|
virtual |
This is for compatibility with old-style functions which want a unified set of hit data regardless of type of hit.
Ideally this will go away over time.
被 FPointDamageEvent , 以及 FRadialDamageEvent 重载.
|
static |
ID for this class.
NOTE this must be unique for all damage events.
| TSubclassOf<class UDamageType> FDamageEvent::DamageTypeClass |
Optional DamageType for this event.
If nullptr, UDamageType will be assumed.