C_Traits.GenerateInspectImportString

From Warcraft Wiki
Jump to navigation Jump to search

Returns a Talent Build String for an inspected target

importString = C_Traits.GenerateInspectImportString(target)

Arguments

target
string : UnitId - For example "target"

Returns

importString
string - the Talent Build String, or an empty string if inspect information is not available

Details

You must first inspect a player, before this API returns any data. After inspecting, you should use C_Traits.HasValidInspectData to confirm valid inspect data is available to the client.

See also

C_Traits.GenerateImportString to retrieve Talent Build Strings for the current player character.