WoW:API CalendarGetEventInfo: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
m (WW:MOS)
m (Move page script moved page API CalendarGetEventInfo to API CalendarGetEventInfo without leaving a redirect)
 
(2 intermediate revisions by 2 users not shown)
Line 4: Line 4:
'''API CalendarGetEventInfo''' retrieves the details of an event.
'''API CalendarGetEventInfo''' retrieves the details of an event.
<!-- List return values and arguments as well as function name, follow Blizzard usage convention for args -->
<!-- List return values and arguments as well as function name, follow Blizzard usage convention for args -->
  title, description, creator, type, instanceID, ownerFlag, field6, weekday, month, day, year, hour, minute, field14, field15, field16, field17, field18, field19, lockedFlag, field21, field22, myStatus = CalendarGetEventInfo( );
  title, description, creator, eventType, repeatOption, maxSize, textureIndex, weekday, month, day, year, hour, minute, lockoutWeekday, lockoutMonth, lockoutDay, lockoutYear, lockoutHour, lockoutMinute, locked, autoApprove = CalendarGetEventInfo( );


== Returns ==
== Returns ==
<!-- List each return value, together with its type -->
<!-- List each return value, together with its type -->
:title, description, creator, type, instanceID, ownerFlag, field6, weekday, month, day, year, hour, minute, field14, field15, field16, field17, field18, field19, lockedFlag, field21, field22, myStatus
:title, description, creator, eventType, repeatOption, maxSize, textureIndex, weekday, month, day, year, hour, minute, lockoutWeekday, lockoutMonth, lockoutDay, lockoutYear, lockoutHour, lockoutMinute, locked, autoApprove


:;title : String - The title of the event
:;title : String - The title of the event
:;description : String - The event description
:;description : String - The event description
:;creator : String - The name of the character who created the event
:;creator : String - The name of the character who created the event
:;type : Number - The type of event (1-5) as specified by CalendarSetType()
:;eventType: Number - The type of event (1-5) as specified by CalendarSetType()
:;instanceID : Number - An ID indicating which instance is related to the event (Raid and Dungeon events only)
:;repeatOption: Number - The repeat setting (appears unimplemented as of patch 3.0.8)
:;ownerFlag : Number - Contains 256 if you created the event, 1 if you did not
:;maxSize: Number - Unknown
:;field6 : Number - Unknown (contains 100)
:;textureIndex: Number - The index of the event's texture in the list returned by CalendarEventGetTextures
:;weekday : Number - Day of the week on which the event falls (1=Sunday, 2=Monday, etc)
:;weekday : Number - Day of the week on which the event falls (1=Sunday, 2=Monday, etc)
:;month : Number - Month of the year in which the event occurs (1=January, 2=February, etc)
:;month : Number - Month of the year in which the event occurs (1=January, 2=February, etc)
Line 23: Line 23:
:;hour : Number - Hour of the event in 24-hour format (ie 18=6pm)
:;hour : Number - Hour of the event in 24-hour format (ie 18=6pm)
:;minute : Number - Minute of the hour at which the event occurs
:;minute : Number - Minute of the hour at which the event occurs
:;field14 : Number - Unknown (contains 1)
:;lockoutWeekday: Number - Unknown (contains 1)
:;field15 : Number - Unknown (contains 1)
:;lockoutMonth: Number - Unknown (contains 1)
:;field16 : Number - Unknown (contains 1)
:;lockoutDay: Number - Unknown (contains 1)
:;field17 : Number - Unknown (contains 2000)
:;lockoutYear: Number - Unknown (contains 2000)
:;field18 : Number - Unknown (contains 0)
:;lockoutHour: Number - Unknown (contains 0)
:;field19 : Number - Unknown (contains 0)
:;lockoutMinute: Number - Unknown (contains 0)
:;lockedFlag : Number - Set to 1 if the event is locked, nil otherwise
:;lockedFlag : Number - Set to 1 if the event is locked, nil otherwise
:;field21 : Number - Unknown (nil)
:;autoApprove : Unknown
:;field22 : Number - Unknown (nil)
:;myStatus : Number - Status of the current character relative to the event (0=open event, 1=invited, 2=accepted, 3=declined, 4=confirmed, 5=out, 6=on standby)

Latest revision as of 04:45, 15 August 2023

WoW API < CalendarGetEventInfo

API CalendarGetEventInfo retrieves the details of an event.

title, description, creator, eventType, repeatOption, maxSize, textureIndex, weekday, month, day, year, hour, minute, lockoutWeekday, lockoutMonth, lockoutDay, lockoutYear, lockoutHour, lockoutMinute, locked, autoApprove = CalendarGetEventInfo( );

Returns[edit]

title, description, creator, eventType, repeatOption, maxSize, textureIndex, weekday, month, day, year, hour, minute, lockoutWeekday, lockoutMonth, lockoutDay, lockoutYear, lockoutHour, lockoutMinute, locked, autoApprove
title
String - The title of the event
description
String - The event description
creator
String - The name of the character who created the event
eventType
Number - The type of event (1-5) as specified by CalendarSetType()
repeatOption
Number - The repeat setting (appears unimplemented as of patch 3.0.8)
maxSize
Number - Unknown
textureIndex
Number - The index of the event's texture in the list returned by CalendarEventGetTextures
weekday
Number - Day of the week on which the event falls (1=Sunday, 2=Monday, etc)
month
Number - Month of the year in which the event occurs (1=January, 2=February, etc)
day
Number - Day of the month on which the event takes place
year
Number - Year of the event
hour
Number - Hour of the event in 24-hour format (ie 18=6pm)
minute
Number - Minute of the hour at which the event occurs
lockoutWeekday
Number - Unknown (contains 1)
lockoutMonth
Number - Unknown (contains 1)
lockoutDay
Number - Unknown (contains 1)
lockoutYear
Number - Unknown (contains 2000)
lockoutHour
Number - Unknown (contains 0)
lockoutMinute
Number - Unknown (contains 0)
lockedFlag
Number - Set to 1 if the event is locked, nil otherwise
autoApprove
Unknown