15 proto external
float GetBaseDamageMultiplier();
17 proto external
bool HasColliderNodes();
19 proto external
int GetColliderDescriptorIndex(
int colliderID);
21 proto external
float GetDamageMultiplier(
EDamageType dmgType);
23 proto external
float GetDamageReduction();
25 proto external
float GetDamageThreshold();
29 proto external
int GetAllColliderNames(out notnull array<string> colliderNames);
37 proto external
void SetDamageOverTime(
EDamageType dmgType,
float dps);
39 proto external
float GetDamageOverTime(
EDamageType dmgType);
41 proto external
int GetNumColliderDescriptors();
45 proto external
void SetHealth(
float health);
47 proto external
void SetHealthScaled(
float health);
51 proto external
float GetHealth();
53 proto external
float GetHealthScaled();
55 proto external
float GetDamageStateThreshold(
EDamageState damageState);
57 proto external
float GetMaxHealth();
59 proto external
string GetName();
63 proto external
float GetCriticalDamageThreshold();
67 proto external
void HandleDamage(
float damage,
int damageType, IEntity instigator);
69 proto external
bool IsProxy();
71 proto external
int GetColliderIDs(out notnull array<int> outIDs);
73 proto
bool TryGetColliderDescription(IEntity owner,
int descIndex, out vector transformLS[4], out
int boneIndex, out
int nodeID);
75 proto
bool TryGetColliderDescriptionFromName(IEntity owner,
string colliderName, out vector transformLS[4], out
int boneIndex, out
int nodeID);
80 event void OnInit(IEntity pOwnerEntity, GenericComponent pManagerComponent);
82 event protected void OnHealthSet();
84 event protected void OnMaxHealthChanged();
86 event protected void OnDamageStateChanged();
95 event float ComputeEffectiveDamage(notnull
BaseDamageContext damageContext,
bool isDOT);