mirror of
https://github.com/brues-code/ClassicAPI.git
synced 2026-11-16 08:00:42 +00:00
Add ignore-list membership checks. Vanilla's ignore list is a flat u64 GUID array in the social singleton (social + 0x650, stride 8, max 25, terminated by the first zero) -- verified by decompiling GetIgnoreName (FUN_005AE570 reads social + 0x650 + index*8) and GetNumIgnores (FUN_005AE550 stops at the first zero, caps at 25). IsIgnoredByGuid parses the GUID string and walks the array. IsIgnored accepts a name or GUID string (mirroring IsFriend); for a name it resolves each ignored GUID to its cached name through the NameCache and compares -- the same GUID->name path GetIgnoreName uses -- so it matches any ignored player the client has synced this session. Share the ignore layout + IgnoreGuidByIndex / IsGuidIgnored helpers in FriendList.h alongside the friend layout. Document both functions in docs/API.md and README.md.