View Single Post
07/23/22, 02:35 AM   #33
Baertram
Super Moderator
 
Baertram's Avatar
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 4,913
RaidCategory should be the enum/number constant, yes.

You can find a list of the parameter constants/return values within/of API functions if you search for the constant (here: RaidCategory) within the API documentation txt file attached to this thread, or for the most current at the PTS 8.1 thread.


For the other functions I guess you need to provide the raidId now, yes. Maybe there is another API function GetNumRaids() or similar to get a raidIndex 1 to n, And GetRaidId(raidIndex)? Or maybe the ID is the index (same, 1 to n) in this case. I never used those functions yet.

Another hint: some api functions do not return data if you haven't opened the menu (campaign e.g.) before as the server will not collect the dats earlier, to prevent the server being asked too often, making it slow. Not sure if this is the case here too, just wanted to warn you.

Last edited by Baertram : 07/23/22 at 02:39 AM.
  Reply With Quote