12.07.2015 Views

Wiley-World.of.Warcraft.Programming.A.Guide.and.Reference.for.Creating.WoW.Addons

Wiley-World.of.Warcraft.Programming.A.Guide.and.Reference.for.Creating.WoW.Addons

Wiley-World.of.Warcraft.Programming.A.Guide.and.Reference.for.Creating.WoW.Addons

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

576 Part IV ■ <strong>Reference</strong>inviteType—Invitation/announcement type <strong>for</strong> the event (number)1—Characters can only be explicitly invited to the event2—Event is visible to the player’s entire guild; guild memberscan sign up <strong>and</strong> other characters can be explicitly invitedCalendarEventGetInviteResponseTimeReturns the time at which a character on the selected event’s invite/signup listresponded.weekday, month, day, year, hour, minute = iCalendarEventGetInviteResponseTime()Returns all zeros if the character has not yet responded or is the event’s creator.Returns:weekday—Index <strong>of</strong> the day <strong>of</strong> the week (starting at 1 = Sunday) (number)month—Index <strong>of</strong> the month (starting at 1 = January) (number)day—Day <strong>of</strong> the month (number)year—Year (full four-digit year) (number)hour—Hour part <strong>of</strong> the time (on a 24-hour clock) (number)minute—Minute part <strong>of</strong> the time (number)CalendarEventGetInviteSortCriterionReturns the current sort mode <strong>for</strong> the event invite/signup list.criterion, reverse = CalendarEventGetInviteSortCriterion()Returns:criterion—Token identifying the attribute used <strong>for</strong> sorting the list (string)class—Sorted by character class (according to the global tableCLASS_SORT_ORDER)name—Sorted by character namestatus—Sorted by invite statusreverse—True if the list is sorted in reverse order; otherwise false (boolean)CalendarEventGetNumInvitesReturns the number <strong>of</strong> characters on the selected calendar event’sinvite/signup list.numInvites = CalendarEventGetNumInvites()Returns:numInvites—Number <strong>of</strong> characters on the event’s invite/signup list (number)CalendarEventGetRepeatOptionsReturns a list <strong>of</strong> localized event repetition option labels (currently unused).... = CalendarEventGetRepeatOptions()Returns:...—List <strong>of</strong> localized event repetition option labels (list)

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!