Hi briskman3000,
even if the function is called
E:ACTIVE_TALENT_GROUP_CHANGED, since I'm manually calling it at L#28, this function would still run with an extra parameter named isOnInitialize.
Lua Code:
self:ACTIVE_TALENT_GROUP_CHANGED(nil, nil, nil, true);
That being said, for the first time when the AceAddon-3.0 initializes its addon,
E:ACTIVE_TALENT_GROUP_CHANGED would still run once with isOnInitialize flag being true even if the event is not fired. Otherwise, this function will only be called on
ACTIVE_TALENT_GROUP_CHANGED event without isOnInitialize being set as you said