Thread Tools Display Modes
Prev Previous Post   Next Post Next
06-15-10, 09:40 AM   #1
Fodaro
A Cyclonian
 
Fodaro's Avatar
AddOn Author - Click to view addons
Join Date: Dec 2008
Posts: 42
Getting a list of pending events

Hello everyone,

I'm starting to work on a mod with a friend. The plan is to have a 'Welcome screen' appear when you log into the game, reminding you of what you were doing, transmutes you want to do, guild stuff, etc. The plan is to have two panes which will show different information. The user will be able to choose which two panes they want to see on login.

That's all well and good, but on the Guild Information pane I want to show a list of guild events that the player has been invited to, but not yet responded to. I believe CalendarGetNumPendingInvites gives the number of them, and CalendarGetFirstPendingInvite gives the first one, but after that I can't find out how to get the rest.

I suppose I could loop through all the events in the calendar and check each one, or just have a button to say "X invites pending..." but there must be a better way, mustn't there?

Thanks,
__________________
Fodaro
(Main: Fodaro-Bronzebeard (EU))
Author of CharNote and Consolid8
  Reply With Quote
 

WoWInterface » Developer Discussions » Lua/XML Help » Getting a list of pending events


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off