API SetTracking

From Wowpedia
Jump to: navigation, search

Enables or disables a tracking method with a specified id.

SetTracking(id,enabled);

Parameters

Arguments

id 
The id of the tracking you would like to change. The id is assigned by the client, 1 is the first tracking method available on the tracking list, 2 is the next and so on. To get Information about a specific id, use GetTrackingInfo.
enabled 
Boolean flag if the specified tracking id is to be enabled or disabled.

Returns

nothing

Example

Enables the first tracking method on the list:

SetTracking(1,true);