v0.13.8

C_ContentTracking

namespaceavailable in: camelot

Status in wowlua

18 functions: 2 implemented, 3 recorded, 13 guessed. 5 events, 2 of them fired by the emulator on its own.

Functions

functionwhat it doesstatus
GetBestMapForTrackableReturns the best map to show tracked content on, with the lookup's result. · by wowlua
(trackableType: ContentTrackingType, trackableID: number, ignoreWaypoint: boolean): (ContentTrackingResult, number?)
guessed
GetCollectableSourceTrackingEnabledWhether tracking the sources of collectables is enabled. · by wowlua
(): boolean
recorded
GetCollectableSourceTypesReturns the kinds of collectables whose sources can be tracked. · by wowlua
(): ContentTrackingType[]
recorded
GetCurrentTrackingTargetReturns the current target for tracked content: the target's type and ID. · by wowlua
(type: ContentTrackingType, id: number): (ContentTrackingTargetType?, number?)
guessed
GetEncounterTrackingInfoReturns tracking information for a dungeon journal encounter. · by wowlua
(journalEncounterID: number): EncounterTrackingInfo?
guessed
GetNextWaypointForTrackableReturns the next waypoint toward tracked content on a map, with the lookup's result. · by wowlua
(trackableType: ContentTrackingType, trackableID: number, uiMapID: number): (ContentTrackingResult, ContentTrackingMapInfo?)
guessed
GetObjectiveTextReturns the objective text of a tracking target. · by wowlua
(targetType: ContentTrackingTargetType, targetID: number, includeHyperlinks: boolean): string?
guessed
GetTitleReturns the title of tracked content. · by wowlua
(trackableType: ContentTrackingType, trackableID: number): string?
guessed
GetTrackablesOnMapReturns the trackable content of a kind on a map, with the lookup's result. · by wowlua
(trackableType: ContentTrackingType, uiMapID: number): (ContentTrackingResult, ContentTrackingMapInfo[])
implemented
GetTrackedIDsReturns the IDs of the content of a kind the player tracks. · by wowlua
(trackableType: ContentTrackingType): number[]
recorded
GetVendorTrackingInfoReturns tracking information for the vendor of a collectable. · by wowlua
(collectableEntryID: number): VendorTrackingInfo?
guessed
GetWaypointTextReturns the waypoint text of tracked content. · by wowlua
(trackableType: ContentTrackingType, trackableID: number): string?
guessed
IsNavigableIf successful, returns if the trackable is either on your current map, or if we're able to determine a route to that map from your location via waypoints.
(trackableType: ContentTrackingType, trackableID: number): (ContentTrackingResult, boolean)
guessed
IsTrackableWhether the content can be tracked. · by wowlua
(type: ContentTrackingType, id: number): boolean
guessed
IsTrackingWhether the player tracks the content. · by wowlua
(type: ContentTrackingType, id: number): boolean
implemented
StartTrackingStarts tracking content. Returns an error when it can't. · by wowlua
(type: ContentTrackingType, id: number): ContentTrackingError?
guessed
StopTrackingStops tracking content. · by wowlua
(type: ContentTrackingType, id: number, stopType: ContentTrackingStopType)
guessed
ToggleTrackingStarts or stops tracking content. Returns an error when it can't. · by wowlua
(type: ContentTrackingType, id: number, stopType: ContentTrackingStopType): ContentTrackingError?
guessed

"by wowlua": no one documents this function, so wowlua wrote the description from its name, signature and behaviour.

Events

eventpayloadfired by the emulator
CONTENT_TRACKING_IS_ENABLED_UPDATEisEnabled: booleanimplemented
CONTENT_TRACKING_LIST_UPDATEno payloadimplemented
CONTENT_TRACKING_UPDATEtype: ContentTrackingType, id: number, isTracked: booleannot implemented
TRACKABLE_INFO_UPDATEtype: ContentTrackingType, id: numbernot implemented
TRACKING_TARGET_INFO_UPDATEtargetType: ContentTrackingTargetType, targetID: numbernot implemented

An event the emulator doesn't fire on its own can still be fired from a test: mock.fireEvent("CONTENT_TRACKING_UPDATE").

sources

Signatures, events and structures: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (ContentTracking system, camelot 1.60.1). Descriptions: warcraft.wiki.gg's API pages, by its contributors, CC BY-SA 4.0 ↗; written by wowlua where no documentation describes the entry.