API GetOccasionItem

From Vendetta Lua
Revision as of 12:32, 14 February 2010 by Chefkoch (talk | contribs) (split)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

GetOccasionItem

Definition:
GetOccasionItem(int index) -> int id, time, duration, string name, bool important, int timestamp
Description:
Get occasion (event) info
Arguments:
index index of event (1 to GetNumOccasions)
Returns:
id id of news item
time time when the event takes place
duration duration of event
name name of event
important important flag
timestamp time of posting