Beta API discussion
View Single Post
07-17-12, 06:33 PM
Join Date: Feb 2006
Originally Posted by
This seems like it's the trend with the newer functions; that they are returning true/false instead of 1/nil.
Makes sense. Lua didn't have a boolean type when those original functions were initially implemented. Even the upstream standard library used 1/nil returns.
IsInGroup() --true/false, will return true if you are in a raid as well as a party
Now that GetNumRaidMembers has morphed into GetNumGroupMembers, I wonder if GetRaidRosterInfo will return valid data while in a "plain" party? I'd like to think so, but haven't seen anything mentioned anywhere. Will try to test... sometime this week.
P.S.: I second Torhal's suggestion of getbeer/setbeer globals.
View Public Profile
Send a private message to Farmbuyer
Find More Posts by Farmbuyer