Space Engineers
Public Member Functions | Properties | List of all members
VRage.Game.ModAPI.Interfaces.IMyDestroyableObject Interface Reference
Inheritance diagram for VRage.Game.ModAPI.Interfaces.IMyDestroyableObject:
Sandbox.Game.Entities.Character.MyCharacter Sandbox.Game.Entities.Character.MyCharacter Sandbox.Game.Entities.Cube.MyWarhead Sandbox.Game.Entities.MyFloatingObject Sandbox.Game.Entities.MyFracturedPiece Sandbox.Game.Entities.MyGhostCharacter Sandbox.Game.Entities.MyMeteor Sandbox.Game.Weapons.MyMissile Sandbox.ModAPI.IMyMeteor Sandbox.ModAPI.IMyWarhead VRage.Game.ModAPI.IMyCharacter VRage.Game.ModAPI.IMyFloatingObject VRage.Game.ModAPI.IMySlimBlock

Public Member Functions

void OnDestroy ()
 
bool DoDamage (float damage, MyStringHash damageSource, bool sync, MyHitInfo?hitInfo=null, long attackerId=0)
 

Properties

float Integrity [get]
 
bool UseDamageSystem [get]
 When set to true, it should use MyDamageSystem damage routing. More...
 

Detailed Description

Definition at line 5 of file IMyDestroyableObject.cs.

Member Function Documentation

bool VRage.Game.ModAPI.Interfaces.IMyDestroyableObject.DoDamage ( float  damage,
MyStringHash  damageSource,
bool  sync,
MyHitInfo hitInfo = null,
long  attackerId = 0 
)
void VRage.Game.ModAPI.Interfaces.IMyDestroyableObject.OnDestroy ( )

Property Documentation

float VRage.Game.ModAPI.Interfaces.IMyDestroyableObject.Integrity
get

Definition at line 9 of file IMyDestroyableObject.cs.

bool VRage.Game.ModAPI.Interfaces.IMyDestroyableObject.UseDamageSystem
get

When set to true, it should use MyDamageSystem damage routing.

Definition at line 13 of file IMyDestroyableObject.cs.


The documentation for this interface was generated from the following file: