14 proto external
void HandleDamage(
EDamageType type,
float damage, out vector hitPosDirNorm[3]);
15 proto external
int GetCorrespondingState(
float hp);
17 proto external
float GetCurrentHealth();
31 event float ComputeEffectiveDamage(
EDamageType damageType,
float rawDamage, IEntity damageSource, notnull
Instigator instigator,
const GameMaterial hitMaterial, inout vector hitTransform[3],
const vector impactVelocity);
32 event protected void OnDamage(
int previousState,
int newState,
EDamageType type,
float damageTaken,
float currentHealth, inout vector hitTransform[3], ScriptBitWriter frameData);
34 event protected void OnStateChanged(
int destructibleState, ScriptBitReader frameData,
bool JIP);
35 event protected void OnBeforeDestroyed();
36 event protected bool OnContact(IEntity owner, IEntity other, Contact contact);