Code:
IsIgnored(string charOrDisplayName)
Returns: boolean isIgnored
Will only return true when a displayName is entered, not a character name.
This leads to a few issues with some other functions in the base UI, a prime example being the function used when the player sends a guild invite by name to a player through the Guild Roster.
The function used is ZO_TryGuildInvite(guildId, displayName) in esoui/ingame/guild/zo_guildutils.common, which has the following line starting at 148 on the current PTS build:
Code:
if IsIgnored(displayName) then
ZO_Alert(UI_ALERT_CATEGORY_ALERT, nil, SI_GROUP_ALERT_INVITE_PLAYER_BLOCKED)
return
end
This returns an error that "you have blocked that player" you are ignoring IF you enter their display name, however if you enter their character name it bypasses this restriction.
As a sidenote, AddIgnore(charOrDisplayName) DOES properly parse a DisplayName or CharacterName. RemoveIgnore(displayName) does not. Perhaps the functionality of removing an ignored player by character name could be added here as well.