WoW:API SetWhoToUI

From AddOn Studio
Revision as of 16:55, 6 November 2005 by WoWWiki>Noccy (→‎Arguments: - Changed string to number. Must have been tired as i wrote it the first time ;))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
SetWhoToUI - Documentation by Noccy
SetWhoToUI(state);
Sets where the result of a API SendWho request will be handled.

Parameters

Arguments

(State)
State
Number - If set to 1, the result of a SendWho will always be returned as a WHO_LIST_UPDATE event. If set to 0 then the result of a SendWho will be returned as a CHAT_MSG_SYSTEM if the list is short, but as a WHO_LIST_UPDATE if the list is long. (from WoW forums)

Returns

Nothing.

Notes

During my experiments with this function, the Who dialog still popped up. However, this can be avoided by using FriendsFrame:Hide();


Template:WoW API