| 
| float  | GetDamageMultiplier (EDamageType type) | 
|   | 
| float  | GetDamageReduction () | 
|   | 
| float  | GetDamageThreshold () | 
|   | 
| float  | GetMaxHealth () | 
|   | 
| override void  | OnDamage (int previousState, int newState, EDamageType type, float damageTaken, float currentHealth, inout vector hitTransform[3], ScriptBitWriter frameData) | 
|   | 
| void  | HeatmapPrototype () | 
|   | 
| override void  | OnStateChanged (int destructibleState, ScriptBitReader frameData, bool JIP) | 
|   | 
| override void  | OnBeforeDestroyed () | 
|   | 
| override void  | EOnContact (IEntity owner, IEntity other, Contact contact) | 
|   | Contact.  
  | 
|   | 
| void  | SCR_DestructibleEntity (IEntitySource src, IEntity parent) | 
|   | 
| proto external void  | HandleDamage (EDamageType type, float damage, out vector hitPosDirNorm[3]) | 
|   | 
| proto external int  | GetCorrespondingState (float hp) | 
|   | 
| proto external float  | GetCurrentHealth () | 
|   | 
| int  | GetDestructionCategory () | 
|   | 
| int  | GetDestructionWeight () | 
|   | 
| float  | ComputeEffectiveDamage (EDamageType damageType, float rawDamage, IEntity damageSource, notnull Instigator instigator, const GameMaterial hitMaterial, inout vector hitTransform[3], const vector impactVelocity) | 
|   | Calculates the amount of damage a hitzone will receive.  
  | 
|   | 
 | 
| void  | GoToDamagePhase (int damagePhaseIndex, int previousDamagePhaseIndex, SCR_DestructionData destructionData, bool streamed) | 
|   | Only call from OnStateChanged, otherwise you have HUGE desync.  
  | 
|   | 
| bool  | FilterContact (IEntity owner, IEntity other, Contact contact) | 
|   | 
| void  | OnFilteredContact (IEntity owner, IEntity other, Contact contact) | 
|   | 
| bool  | OnContact (IEntity owner, IEntity other, Contact contact) | 
|   | 
◆ SCR_DestructibleEntity()
      
        
          | void SCR_DestructibleEntity.SCR_DestructibleEntity  | 
          ( | 
          IEntitySource |           src,  | 
        
        
           | 
           | 
          IEntity |           parent ) | 
        
      
 
 
◆ EOnContact()
      
        
          | override void SCR_DestructibleEntity.EOnContact  | 
          ( | 
          IEntity |           owner,  | 
        
        
           | 
           | 
          IEntity |           other,  | 
        
        
           | 
           | 
          Contact |           contact ) | 
        
      
 
 
◆ FilterContact()
  
  
      
        
          | bool SCR_DestructibleEntity.FilterContact  | 
          ( | 
          IEntity |           owner,  | 
         
        
           | 
           | 
          IEntity |           other,  | 
         
        
           | 
           | 
          Contact |           contact ) | 
         
       
   | 
  
protected   | 
  
 
 
◆ GetDamageMultiplier()
      
        
          | float SCR_DestructibleEntity.GetDamageMultiplier  | 
          ( | 
          EDamageType |           type | ) | 
           | 
        
      
 
 
◆ GetDamageReduction()
      
        
          | float SCR_DestructibleEntity.GetDamageReduction  | 
          ( | 
           | ) | 
           | 
        
      
 
 
◆ GetDamageThreshold()
      
        
          | float SCR_DestructibleEntity.GetDamageThreshold  | 
          ( | 
           | ) | 
           | 
        
      
 
 
◆ GetMaxHealth()
      
        
          | float SCR_DestructibleEntity.GetMaxHealth  | 
          ( | 
           | ) | 
           | 
        
      
 
 
◆ GoToDamagePhase()
  
  
      
        
          | void SCR_DestructibleEntity.GoToDamagePhase  | 
          ( | 
          int |           damagePhaseIndex,  | 
         
        
           | 
           | 
          int |           previousDamagePhaseIndex,  | 
         
        
           | 
           | 
          SCR_DestructionData |           destructionData,  | 
         
        
           | 
           | 
          bool |           streamed ) | 
         
       
   | 
  
protected   | 
  
 
Only call from OnStateChanged, otherwise you have HUGE desync. 
 
 
◆ HeatmapPrototype()
      
        
          | void SCR_DestructibleEntity.HeatmapPrototype  | 
          ( | 
           | ) | 
           | 
        
      
 
 
◆ OnBeforeDestroyed()
      
        
          | override void SCR_DestructibleEntity.OnBeforeDestroyed  | 
          ( | 
           | ) | 
           | 
        
      
 
 
◆ OnDamage()
      
        
          | override void SCR_DestructibleEntity.OnDamage  | 
          ( | 
          int |           previousState,  | 
        
        
           | 
           | 
          int |           newState,  | 
        
        
           | 
           | 
          EDamageType |           type,  | 
        
        
           | 
           | 
          float |           damageTaken,  | 
        
        
           | 
           | 
          float |           currentHealth,  | 
        
        
           | 
           | 
          inout vector |           hitTransform[3],  | 
        
        
           | 
           | 
          ScriptBitWriter |           frameData ) | 
        
      
 
 
◆ OnFilteredContact()
  
  
      
        
          | void SCR_DestructibleEntity.OnFilteredContact  | 
          ( | 
          IEntity |           owner,  | 
         
        
           | 
           | 
          IEntity |           other,  | 
         
        
           | 
           | 
          Contact |           contact ) | 
         
       
   | 
  
protected   | 
  
 
 
◆ OnStateChanged()
      
        
          | override void SCR_DestructibleEntity.OnStateChanged  | 
          ( | 
          int |           destructibleState,  | 
        
        
           | 
           | 
          ScriptBitReader |           frameData,  | 
        
        
           | 
           | 
          bool |           JIP ) | 
        
      
 
 
◆ MIN_DESTRUCTION_RESPONSE_INDEX
  
  
      
        
          | const int SCR_DestructibleEntity.MIN_DESTRUCTION_RESPONSE_INDEX = 6 | 
         
       
   | 
  
staticprotected   | 
  
 
 
◆ MIN_MOMENTUM_RESPONSE_INDEX
  
  
      
        
          | const int SCR_DestructibleEntity.MIN_MOMENTUM_RESPONSE_INDEX = 1 | 
         
       
   | 
  
staticprotected   | 
  
 
 
◆ TOTAL_DESTRUCTION_MAX_HEALTH_MULTIPLIER
  
  
      
        
          | const int SCR_DestructibleEntity.TOTAL_DESTRUCTION_MAX_HEALTH_MULTIPLIER = 10 | 
         
       
   | 
  
static   | 
  
 
 
The documentation for this interface was generated from the following file:
- Game/Destruction/SCR_DestructibleEntity.c