Originally Posted by LoPony
Could somebody explain to me what this code does (taken from esohead.lua):
Code:
CALLBACK_MANAGER:FireCallbacks("OnWorldMapChanged") -- Fix for bug #23
There is no RegisterCallback call anywhere inside EsoHead, so I assume this calls some kind of not documented internal API callback?
|
This callback forces the map to be redrawn. The callback is normally called if the player is moving or he right clicks on the map etc.
I don't think esohead has to call this callback. I used SetMapToPlayerLocation() in my addons without the OnWorldMapChanged callback and everything works fine.