Click or drag to resize
IMyDamageSystemRegisterAfterDamageHandler Method

[This is preliminary documentation and is subject to change.]

Registers a handler that is called after an object in game is damaged.

Namespace: VRage.Game.ModAPI
Assembly: VRage.Game (in VRage.Game.dll) Version: 1.0.0.0
Syntax
C#
void RegisterAfterDamageHandler(
	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