Method Global:ClearInstanceEvents [-] [+]

Unbinds event handlers for either all of an instanced Map's events, or one type of event.

If event_type is nil, all the instanced Map's event handlers are cleared.

Otherwise, only event handlers for event_type are cleared.

Synopsis

ClearInstanceEvents( instance_id )

ClearInstanceEvents( instance_id, event_type )

Arguments

number entry

The ID of an instance of a Map.

Valid numbers: integers from 0 to 4,294,967,295.

number event_type

The event whose handlers will be cleared, see Global:RegisterInstanceEvent.

Valid numbers: integers from 0 to 4,294,967,295.

Returns

Nothing.

Generated on 11/04/2018
©2016 - Eluna Lua Engine