C_ContentTracking
namespaceavailable in: camelotStatus in wowlua
18 functions: 2 implemented, 3 recorded, 13 guessed. 5 events, 2 of them fired by the emulator on its own.
Functions
| function | what it does | status |
|---|---|---|
GetBestMapForTrackable | Returns the best map to show tracked content on, with the lookup's result. · by wowlua(trackableType: ContentTrackingType, trackableID: number, ignoreWaypoint: boolean): (ContentTrackingResult, number?) | guessed |
GetCollectableSourceTrackingEnabled | Whether tracking the sources of collectables is enabled. · by wowlua(): boolean | recorded |
GetCollectableSourceTypes | Returns the kinds of collectables whose sources can be tracked. · by wowlua(): ContentTrackingType[] | recorded |
GetCurrentTrackingTarget | Returns the current target for tracked content: the target's type and ID. · by wowlua(type: ContentTrackingType, id: number): (ContentTrackingTargetType?, number?) | guessed |
GetEncounterTrackingInfo | Returns tracking information for a dungeon journal encounter. · by wowlua(journalEncounterID: number): EncounterTrackingInfo? | guessed |
GetNextWaypointForTrackable | Returns 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 |
GetObjectiveText | Returns the objective text of a tracking target. · by wowlua(targetType: ContentTrackingTargetType, targetID: number, includeHyperlinks: boolean): string? | guessed |
GetTitle | Returns the title of tracked content. · by wowlua(trackableType: ContentTrackingType, trackableID: number): string? | guessed |
GetTrackablesOnMap | Returns the trackable content of a kind on a map, with the lookup's result. · by wowlua(trackableType: ContentTrackingType, uiMapID: number): (ContentTrackingResult, ContentTrackingMapInfo[]) | implemented |
GetTrackedIDs | Returns the IDs of the content of a kind the player tracks. · by wowlua(trackableType: ContentTrackingType): number[] | recorded |
GetVendorTrackingInfo | Returns tracking information for the vendor of a collectable. · by wowlua(collectableEntryID: number): VendorTrackingInfo? | guessed |
GetWaypointText | Returns the waypoint text of tracked content. · by wowlua(trackableType: ContentTrackingType, trackableID: number): string? | guessed |
IsNavigable | If 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 |
IsTrackable | Whether the content can be tracked. · by wowlua(type: ContentTrackingType, id: number): boolean | guessed |
IsTracking | Whether the player tracks the content. · by wowlua(type: ContentTrackingType, id: number): boolean | implemented |
StartTracking | Starts tracking content. Returns an error when it can't. · by wowlua(type: ContentTrackingType, id: number): ContentTrackingError? | guessed |
StopTracking | Stops tracking content. · by wowlua(type: ContentTrackingType, id: number, stopType: ContentTrackingStopType) | guessed |
ToggleTracking | Starts 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
| event | payload | fired by the emulator |
|---|---|---|
CONTENT_TRACKING_IS_ENABLED_UPDATE | isEnabled: boolean | implemented |
CONTENT_TRACKING_LIST_UPDATE | no payload | implemented |
CONTENT_TRACKING_UPDATE | type: ContentTrackingType, id: number, isTracked: boolean | not implemented |
TRACKABLE_INFO_UPDATE | type: ContentTrackingType, id: number | not implemented |
TRACKING_TARGET_INFO_UPDATE | targetType: ContentTrackingTargetType, targetID: number | not 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.