topaz-next / topaz

💎 A server emulator for Final Fantasy XI.
GNU General Public License v3.0
55 stars 81 forks source link

[sol refactor] table zones functions #2447

Closed wrenffxi closed 3 years ago

wrenffxi commented 3 years ago

I affirm:

Temporary:

Here are the functions that got moved onto zone_object, and the number of times each was moved.

    [onInitialize] : 290
    [onZoneIn] : 283
    [onRegionEnter] : 273
    [onEventUpdate] : 290
    [onEventFinish] : 290
    [afterZoneIn] : 19
    [onRegionLeave] : 43
    [onTransportEvent] : 23
    [onConquestUpdate] : 160
    [onInstanceZoneIn] : 7
    [onInstanceLoadFailed] : 7
    [onGameHour] : 18
    [onGameDay] : 7
    [onChocoboDig] : 26
    [onZoneWeatherChange] : 12
    [onTOTDChange] : 1