mirror of
https://github.com/brues-code/ClassicAPI.git
synced 2026-11-16 08:00:42 +00:00
Migrates NameCache's `PersistentNameCacheEnabled` / `NameCacheScanEnabled` settings and Order's `CharacterOrder.<realm>` lines onto a single account-scoped settings file. Each module declares a reset/serialize/parse section at static-init time and the registry handles the load/save cycle plus account-change detection (re-loads on autologin switch from the glue screen). Prior to this, NameCache wholesale-rewrote `ClassicAPI.txt` on every save and Order owned a separate `CharacterOrder.txt` for the same account scope. Combining them avoids two files in `WTF\Account\<acct>\` and lets future per-account modules layer in without coordinating.