15 proto external
void EnableDamageHandling(
bool enable);
17 proto external
bool IsDamageHandlingEnabled();
18 proto external
float GetMovementDamage();
19 proto external
float GetAimingDamage();
20 proto external
void SetMovementDamage(
float damage);
21 proto external
void SetAimingDamage(
float damage);
23 proto external
float GetHealthScaled();
25 proto external
bool SetHealthScaled(
float health);
27 proto external
float GetHealth();
29 proto external
float GetMaxHealth();
33 proto external
bool IsDestroyed();
35 proto external
void SetInstigatorEntity(IEntity instigator);
36 proto external
void SetInstigator(notnull
Instigator instigator);
38 proto external notnull
Instigator GetInstigator();
40 proto external
int GetAttachedColliderIDs(out notnull array<int> outAttachedColliderIDs);
45 proto external
bool IsDamagedOverTime(
EDamageType dType);
49 proto external
float GetDamageOverTime(
EDamageType dType);
53 proto external
void RemoveDamageOverTime(
EDamageType dType);
63 event bool ShouldOverrideInstigator(notnull
Instigator currentInstigator, notnull
Instigator newInstigator) {
return true; };
79 event protected void OnDamageStateChanged(
EDamageState state);
84 event protected void OnPostInit(IEntity owner);
89 event protected void OnInit(IEntity owner);
90 event protected void OnDelete(IEntity owner);
96 event protected void OnFrame(IEntity owner,
float timeSlice);
98 event protected bool OnContact(IEntity owner, IEntity other, Contact contact);
104 event protected void OnDiag(IEntity owner,
float timeSlice);
113 event bool HijackDamageHandling(notnull
BaseDamageContext damageContext) {
return false;};
120 event bool ShouldCountAsHit(notnull
BaseDamageContext damageContext) {
return true;};