mirror of
https://github.com/brues-code/ClassicAPI.git
synced 2026-11-16 16:10:36 +00:00
The scan read names through CGUnit_C::GetUnitName, whose only filled rows come from the NameCache writer the module already hooks, so it re-read data the hook had mirrored. The one real gap was rows the engine resolved while the cache was off; enabling now imports them by walking the engine NameCache (Unit::Identity::ForEachCachedPlayer). Removes C_PlayerCache.SetScanEnabled/IsScanEnabled, the NameCacheScanEnabled setting and the "Scan nearby players" option.