Click or drag to resize
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.ModAPI
Assembly: VRage.Game (in VRage.Game.dll) Version: 1.0.0.0
Syntax
C#
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