Automated updating of API pages at this location, to reflect patch changes, has ceased from 10.1.7 onwards. |
Sets how the result of a /who request will be delivered.
C_FriendList.SetWhoToUi(whoToUi)
Arguments[]
- whoToUi
- boolean
= false
- Iftrue
the results will always be delivered as a WHO_LIST_UPDATE event and displayed in the FriendsFrame. Iffalse
the results may be returned as a sequence of CHAT_MSG_SYSTEM events (up to 3 results) or a WHO_LIST_UPDATE event (4+ results).
Details[]
- The /who query is subject to a server-side throttle; throttled requests are silently dropped.
- This setting does not persist between relog/reload.
- The
FriendsFrame
will automatically display open to display the results when the WHO_LIST_UPDATE event is triggered. You may hide the frame usingHideUIPanel(FriendsFrame)
(protected during combat lockdown), or temporarily unregister it from WHO_LIST_UPDATE to prevent this behavior if your addon relies on performing /who queries in the background.
Patch changes[]
Patch 8.1.0 (2018-12-11): Moved to C_FriendList.SetWhoToUi()
⚠️ Note the lowercase i
at the end.
Patch 1.0.0 (2004-10-08): Added as SetWhoToUI()