From docs:
"The message handlers are executed in the order of registration.
Therefore message handlers registered at file scope will be executed
in the order of file execution (see [Lua startup](LuaStartup.html)).
The message handlers are executed in the order of registration."

So obviously there's a list of registered message handlers kept. Can it be fetched for individual events, or at least as a whole? Like OnMsg:GetRegisteredHandlers("NewDay") or somesuch.
If not, will a parent be always handled before its child? If I inherit City as CityExt, will City's handlers be served before CityExt's ones? And what if there is more than one child?
If that can't be guaranteed, can we get order in which mods were loaded:
"The message handlers are executed in the order of registration.
Therefore message handlers registered at file scope will be executed
in the order of file execution (see [Lua startup](LuaStartup.html)).
The message handlers are executed in the order of registration."

So obviously there's a list of registered message handlers kept. Can it be fetched for individual events, or at least as a whole? Like OnMsg:GetRegisteredHandlers("NewDay") or somesuch.
If not, will a parent be always handled before its child? If I inherit City as CityExt, will City's handlers be served before CityExt's ones? And what if there is more than one child?
If that can't be guaranteed, can we get order in which mods were loaded:
Code:
function OnMsg.NewMap()
local lMods = somefunction()
end