v0.13.8

C_PerksActivities

namespaceavailable in: camelot

Status in wowlua

10 functions: 0 implemented, 1 recorded, 9 guessed. 4 events, 2 of them fired by the emulator on its own.

Functions

functionwhat it doesstatus
AddTrackedPerksActivityStarts tracking a Traveler's Log activity. · by wowlua
(perksActivityID: number)
guessed
ClearPerksActivitiesPendingCompletionClears the list of Traveler's Log activities waiting to be shown as completed. · by wowlua
()
guessed
GetAllPerksActivityTagsReturns all tags Traveler's Log activities can have. · by wowlua
(): PerksActivityTags
guessed
GetPerksActivitiesInfoReturns the current month's Traveler's Log activities and their progress. · by wowlua
(): PerksActivitiesInfo
guessed
GetPerksActivitiesPendingCompletionReturns the Traveler's Log activities waiting to be shown as completed. · by wowlua
(): PerksActivitiesPending
guessed
GetPerksActivityChatLinkReturns a chat link for a Traveler's Log activity. · by wowlua
(perksActivityID: number): string
guessed
GetPerksActivityInfoReturns information about a Traveler's Log activity, or nil when there is no such activity. · by wowlua
(perksActivityID: number): PerksActivityInfo?
guessed
GetPerksUIThemePrefixReturns the prefix of the current Trading Post theme's art assets. · by wowlua
(): string
guessed
GetTrackedPerksActivitiesReturns the Traveler's Log activities the player tracks. · by wowlua
(): PerksActivitiesTracked
recorded
RemoveTrackedPerksActivityStops 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

eventpayloadfired by the emulator
PERKS_ACTIVITIES_TRACKED_LIST_CHANGEDperksActivityID: number, added: booleannot implemented
PERKS_ACTIVITIES_TRACKED_UPDATEDno payloadimplemented
PERKS_ACTIVITIES_UPDATEDno payloadimplemented
PERKS_ACTIVITY_COMPLETEDperksActivityID: numbernot 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, thresholds
  • PerksActivitiesPending · pendingIDs
  • PerksActivitiesTracked · trackedIDs
  • PerksActivityCondition · isMet, text, uiPriority
  • PerksActivityInfo · ID, activityName, description, thresholdContributionAmount, completed, inProgress, tracked, supersedes, uiPriority, areAllConditionsMet, conditions, eventName?, eventStartTime?, eventEndTime?, requirementsList, criteriaList, tagNames
  • PerksActivityTags · tagName
  • PerksActivityThresholdInfo · 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.