Kelsidavis-WoWee/src/addons
Kelsi 02456ec7c6 feat: add GetMaxPlayerLevel and GetAccountExpansionLevel
GetMaxPlayerLevel() returns the level cap for the active expansion:
60 (Classic/Turtle), 70 (TBC), 80 (WotLK). Used by XP bar addons
and leveling trackers.

GetAccountExpansionLevel() returns the expansion tier: 1 (Classic),
2 (TBC), 3 (WotLK). Used by addons that adapt features based on
which expansion is active.

Both read from the ExpansionRegistry's active profile at runtime.
2026-03-22 21:01:56 -07:00
..
addon_manager.cpp feat: support SavedVariablesPerCharacter for per-character addon data 2026-03-21 02:46:21 -07:00
lua_engine.cpp feat: add GetMaxPlayerLevel and GetAccountExpansionLevel 2026-03-22 21:01:56 -07:00
toc_parser.cpp feat: support SavedVariablesPerCharacter for per-character addon data 2026-03-21 02:46:21 -07:00