VRage.Game.ModAPI.Interfaces
IMyDestroyableObject
Assembly: VRage.Game.dll
public interface IMyDestroyableObject
Properties
| Member | Description |
|---|---|
| Integrity | Gets the integrity (health) of the object |
| UseDamageSystem | When set to true, it should use MyDamageSystem damage routing. |
Methods
| Member | Description |
|---|---|
| DoDamage(float, MyStringHash, bool, MyHitInfo?, long, long, bool, MyStringHash?) | Applies damage to an object |
| OnDestroy() |
Inheritors: