C_PerksActivities
namespaceavailable in: camelotStatus in wowlua
10 functions: 0 implemented, 1 recorded, 9 guessed. 4 events, 2 of them fired by the emulator on its own.
Functions
| function | what it does | status |
|---|---|---|
AddTrackedPerksActivity | Starts tracking a Traveler's Log activity. · by wowlua(perksActivityID: number) | guessed |
ClearPerksActivitiesPendingCompletion | Clears the list of Traveler's Log activities waiting to be shown as completed. · by wowlua() | guessed |
GetAllPerksActivityTags | Returns all tags Traveler's Log activities can have. · by wowlua(): PerksActivityTags | guessed |
GetPerksActivitiesInfo | Returns the current month's Traveler's Log activities and their progress. · by wowlua(): PerksActivitiesInfo | guessed |
GetPerksActivitiesPendingCompletion | Returns the Traveler's Log activities waiting to be shown as completed. · by wowlua(): PerksActivitiesPending | guessed |
GetPerksActivityChatLink | Returns a chat link for a Traveler's Log activity. · by wowlua(perksActivityID: number): string | guessed |
GetPerksActivityInfo | Returns information about a Traveler's Log activity, or nil when there is no such activity. · by wowlua(perksActivityID: number): PerksActivityInfo? | guessed |
GetPerksUIThemePrefix | Returns the prefix of the current Trading Post theme's art assets. · by wowlua(): string | guessed |
GetTrackedPerksActivities | Returns the Traveler's Log activities the player tracks. · by wowlua(): PerksActivitiesTracked | recorded |
RemoveTrackedPerksActivity | Stops tracking a Traveler's Log activity. · by wowlua(perksActivityID: number) | guessed |
"by wowlua": no one documents this function, so wowlua wrote the description from its name, signature and behaviour.
Events
| event | payload | fired by the emulator |
|---|---|---|
PERKS_ACTIVITIES_TRACKED_LIST_CHANGED | perksActivityID: number, added: boolean | not implemented |
PERKS_ACTIVITIES_TRACKED_UPDATED | no payload | implemented |
PERKS_ACTIVITIES_UPDATED | no payload | implemented |
PERKS_ACTIVITY_COMPLETED | perksActivityID: number | not implemented |
An event the emulator doesn't fire on its own can still be fired from a test: mock.fireEvent("PERKS_ACTIVITIES_TRACKED_LIST_CHANGED").
Structures
PerksActivitiesInfo· activePerksMonth, displayMonthName, secondsRemaining, activities, thresholdsPerksActivitiesPending· pendingIDsPerksActivitiesTracked· trackedIDsPerksActivityCondition· isMet, text, uiPriorityPerksActivityInfo· ID, activityName, description, thresholdContributionAmount, completed, inProgress, tracked, supersedes, uiPriority, areAllConditionsMet, conditions, eventName?, eventStartTime?, eventEndTime?, requirementsList, criteriaList, tagNamesPerksActivityTags· tagNamePerksActivityThresholdInfo· thresholdOrderIndex, currencyAwardAmount, requiredContributionAmount, pendingReward, itemReward?
sources
Signatures, events and structures: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (PerksActivities system, camelot 1.60.1). Descriptions: written by wowlua where no documentation describes the entry.