IMyDamageSystemRegisterDestroyHandler Method |
[This is preliminary documentation and is subject to change.]
Registers a handler for when an object in game is destroyed.
Namespace: VRage.Game.ModAPIAssembly: VRage.Game (in VRage.Game.dll) Version: 1.0.0.0
Syntax void RegisterDestroyHandler(
int priority,
Action<Object, MyDamageInformation> handler
)
Parameters
- priority
- Type: SystemInt32
Priority level. Lower means higher priority. - handler
- Type: SystemActionObject, MyDamageInformation
Actual handler delegate
See Also