Astrolabe/API Register OnEdgeChanged Callback

From Esamynn's Wiki

Jump to: navigation, search

Astrolabe ยป Astrolabe/API Register OnEdgeChanged Callback

Registers a function callback that is to be called whenever the set of icons that Astrolabe is positioning along the edge of the Minimap changes.

Astrolabe:Register_OnEdgeChanged_Callback( func, ident )

Arguments

func
Function - the function to be called when the set of icons on the edge of the Minimap changes
ident
Any Type - if nil, then the function specified by func is unregistered, otherwise this should be some data to identify the source of the function

Returns

None

Details

This function is to allow outside to code to ask Astrolabe for notification of changes to the set of icons that are currently being positioned along the edge of the Minimap by the positioning system. This allows the outside to code to take actions such as changing the icon's texture to an arrow or to an icon, based on whether the point represented by the icon is currently visible on the Minimap, or is beyond the edge of the current Minimap.

Personal tools