Mundocani39694@legacy41559615 (talk | contribs) (New page for CalendarGetDayEvent) |
Freethewow@legacy41541223 (talk | contribs) |
||
(6 intermediate revisions by 4 users not shown) | |||
Line 2: | Line 2: | ||
Retrieve information about the specified event. |
Retrieve information about the specified event. |
||
− | title, hour, minute, calendarType, sequenceType, eventType, texture, modStatus, inviteStatus = CalendarGetDayEvent(monthOffset, day, eventIndex) |
+ | title, hour, minute, calendarType, sequenceType, eventType, texture, modStatus, inviteStatus, invitedBy, difficulty, inviteType, sequenceIndex, numSequenceDayss = CalendarGetDayEvent(monthOffset, day, eventIndex) |
− | |||
== Arguments == |
== Arguments == |
||
Line 10: | Line 9: | ||
:;monthOffset : Number - The number of months to offset from today |
:;monthOffset : Number - The number of months to offset from today |
||
− | :;day : Number - The |
+ | :;day : Number - The desired day of the month the event exists on |
− | :;eventIndex : Number - The index of the desired event, |
+ | :;eventIndex : Number - The index of the desired event, From 1 through CalendarGetNumDayEvents(monthOffset, day) |
== Returns == |
== Returns == |
||
Line 22: | Line 21: | ||
:;sequenceType : String - One of "ONGOING", "START", "END", "" |
:;sequenceType : String - One of "ONGOING", "START", "END", "" |
||
:;eventType : Number - See table below |
:;eventType : Number - See table below |
||
− | :;texture : String - The |
+ | :;texture : String - The name of the event's texture (does not include the path) |
:;modStatus : String - One of "MODERATOR", "CREATOR", "" |
:;modStatus : String - One of "MODERATOR", "CREATOR", "" |
||
:;inviteStatus : Number - See table below |
:;inviteStatus : Number - See table below |
||
+ | :;invitedBy : |
||
+ | :;difficulty : |
||
+ | :;inviteType : |
||
+ | :;sequenceIndex : |
||
+ | :;numSequenceDays : |
||
== Details == |
== Details == |
||
+ | |||
+ | API update. New: '''invitedBy''', '''difficulty''', '''inviteType''', '''sequenceIndex''', '''numSequenceDays''' was added in Patch 3.2(August,2009 |
||
These tables have been extacted from the Beta UI code to give details on the above return values: |
These tables have been extacted from the Beta UI code to give details on the above return values: |
||
eventType |
eventType |
||
− | CALENDAR_EVENTTYPE_RAID |
+ | CALENDAR_EVENTTYPE_RAID = 1 |
− | CALENDAR_EVENTTYPE_DUNGEON |
+ | CALENDAR_EVENTTYPE_DUNGEON = 2 |
− | CALENDAR_EVENTTYPE_PVP |
+ | CALENDAR_EVENTTYPE_PVP = 3 |
− | CALENDAR_EVENTTYPE_MEETING |
+ | CALENDAR_EVENTTYPE_MEETING = 4 |
− | CALENDAR_EVENTTYPE_OTHER |
+ | CALENDAR_EVENTTYPE_OTHER = 5 |
inviteStatus |
inviteStatus |
||
− | CALENDAR_INVITESTATUS_INVITED = 1 |
+ | CALENDAR_INVITESTATUS_INVITED = 1 |
− | CALENDAR_INVITESTATUS_ACCEPTED = 2 |
+ | CALENDAR_INVITESTATUS_ACCEPTED = 2 |
− | CALENDAR_INVITESTATUS_DECLINED = 3 |
+ | CALENDAR_INVITESTATUS_DECLINED = 3 |
− | CALENDAR_INVITESTATUS_CONFIRMED = 4 |
+ | CALENDAR_INVITESTATUS_CONFIRMED = 4 |
− | CALENDAR_INVITESTATUS_OUT = 5 |
+ | CALENDAR_INVITESTATUS_OUT = 5 |
− | CALENDAR_INVITESTATUS_STANDBY = 6 |
+ | CALENDAR_INVITESTATUS_STANDBY = 6 |
+ | CALENDAR_INVITESTATUS_SIGNEDUP = 7 |
||
+ | CALENDAR_INVITESTATUS_NOT_SIGNEDUP = 8 |
||
+ | CALENDAR_INVITESTATUS_TENTATIVE = 9 |
Revision as of 15:10, 17 December 2009
Automated updating of API pages at this location, to reflect patch changes, has ceased from 10.1.7 onwards. |
Retrieve information about the specified event.
title, hour, minute, calendarType, sequenceType, eventType, texture, modStatus, inviteStatus, invitedBy, difficulty, inviteType, sequenceIndex, numSequenceDayss = CalendarGetDayEvent(monthOffset, day, eventIndex)
Arguments
- (monthOffset, day, eventIndex)
- monthOffset
- Number - The number of months to offset from today
- day
- Number - The desired day of the month the event exists on
- eventIndex
- Number - The index of the desired event, From 1 through CalendarGetNumDayEvents(monthOffset, day)
Returns
- title, hour, minute, calendarType, sequenceType, eventType, texture, modStatus, inviteStatus
- title
- String - The title of the event
- hour
- Number - The hour the event begins (0-23)
- minute
- Number - The minute the event begins (0-59)
- calendarType
- String - One of "PLAYER", "GUILD", "ARENA", "HOLIDAY"
- sequenceType
- String - One of "ONGOING", "START", "END", ""
- eventType
- Number - See table below
- texture
- String - The name of the event's texture (does not include the path)
- modStatus
- String - One of "MODERATOR", "CREATOR", ""
- inviteStatus
- Number - See table below
- invitedBy
- difficulty
- inviteType
- sequenceIndex
- numSequenceDays
Details
API update. New: invitedBy, difficulty, inviteType, sequenceIndex, numSequenceDays was added in Patch 3.2(August,2009
These tables have been extacted from the Beta UI code to give details on the above return values:
eventType
CALENDAR_EVENTTYPE_RAID = 1 CALENDAR_EVENTTYPE_DUNGEON = 2 CALENDAR_EVENTTYPE_PVP = 3 CALENDAR_EVENTTYPE_MEETING = 4 CALENDAR_EVENTTYPE_OTHER = 5
inviteStatus
CALENDAR_INVITESTATUS_INVITED = 1 CALENDAR_INVITESTATUS_ACCEPTED = 2 CALENDAR_INVITESTATUS_DECLINED = 3 CALENDAR_INVITESTATUS_CONFIRMED = 4 CALENDAR_INVITESTATUS_OUT = 5 CALENDAR_INVITESTATUS_STANDBY = 6 CALENDAR_INVITESTATUS_SIGNEDUP = 7 CALENDAR_INVITESTATUS_NOT_SIGNEDUP = 8 CALENDAR_INVITESTATUS_TENTATIVE = 9