Yesterday I found out that CAMPAIGN_LEADERBOARDS became local. I didn't have much time to investigate, so far it seems it's only obtainable via hooking base class methods. Edit: I don't need it, as I was only hooking UpdatePlayerInfo, which was moved to a base class, so I can hook it there. But the detective work required everytime I want to hook something that's declared local is becoming tedious.
Well, reducing the amount of globals is generally a good thing, but could all those localized capitalized objects be made accessible from outside of their module? I mean ZOS code would keep using locals, but after construction also add them to a global table for add-on tackling.
Last edited by merlight : 02/07/15 at 07:08 AM.
|