api/Core
EveryQuest:AddQuest(questid, completed, uid)
Add A Quest to the history
Parameters
- questid
- completed
- Boolean
- uid
- Integer > 1: Unique Quest ID
Return value
daily boolean, weekly boolean or false
EveryQuest:GetHistory(uid)
Get Quest History data for the specified Quest ID
Parameters
- uid
- Integer > 1: Unique Quest ID
Return value
Table or nil Quest History, returns nil on unknown quest
Usage
questhistory = EveryQuest:GetHistory(uid)
EveryQuest:GetHistoryStatus(uid)
Get Quest status for the specified Quest ID
Parameters
- uid
- Integer > 1: Unique Quest ID
Return value
Integer or nil Numerical Quest Status -1: Failed or Abandoned 0: In Progress 1: Completed but still in the Quest Log 2: Completed and turned in nil: Unknown quest
Usage
questhistory = EveryQuest:GetHistoryStatus(uid)
EveryQuest:GetQuestData(questid, list, uid)
Get Quest Data from a LOD module and return the table and the Category
Parameters
- questid
- list
- uid
- Integer > 1: Unique Quest ID
Return values
- uid
- quest data
Usage
uid, quest = EveryQuest:GetQuestData(uid)
Comments