View Single Post
Unread 07-02-12, 07:44 PM   #45
Phanx
A Pyroguard Emberseer
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 4,240
Originally Posted by p3lim View Post
Anything printed in the chat doesnt show until someone actually says something (say, channels, /dump, emote, etc).
Happens with print() and DEFAULT_CHAT_FRAME:AddMessage()
I'm not seeing this problem either, and I have multiple addons using both print() and DEFAULT_CHAT_FRAME:AddMessage().

Originally Posted by Jarod24 View Post
GetLFGMode() now requires an input argument. Anyone worked out the details yet?
The values correspond to the indices in this table:
Code:
LFG_CATEGORY_NAMES = {
	[LE_LFG_CATEGORY_LFD] = LOOKING_FOR_DUNGEON,
	[LE_LFG_CATEGORY_RF] = RAID_FINDER,
	[LE_LFG_CATEGORY_SCENARIO] = SCENARIOS,
	[LE_LFG_CATEGORY_LFR] = LOOKING_FOR_RAID,
}
Defined here:
https://github.com/Ketho/wow-ui-sour...tants.lua#L706

I'm not actually sure what the difference between 2 and 4 is (Raid Finder vs Looking For Raid), since the Group Finder UI only shows 1-3. Possibly 4 is not used.
__________________
Author/maintainer of Grid, PhanxChat, ShieldsUp, and many more.
Troubleshoot an addonTurn any code into an addonMore addon resources
Need help with your code? Post all of your actual code! Attach or paste your files.
Please don’t PM me about addon bugs or code questions. Post a comment or forum thread instead!
Phanx is offline