C_Transmog.GetCost

From Warcraft Wiki
(Redirected from API GetTransmogrifyCost)
Jump to navigation Jump to search
GitHub Octocat.png  Townlong-Yak BAD.png  ProfIcons engineering.png  BTNTemp.png C_Transmog.GetApplyCost TheWarWithin-Icon-Inline.pngDragonflight-Icon-Inline.pngCata-Logo-Small.png + 9.1.0
BTNTemp.png C_Transmog.GetCost + 7.0.3
BTNTemp.png GetTransmogrifyCost + 4.3.0

Returns the total cost and amount of (de)transmogrifications.

cost, numChanges = C_Transmog.GetCost()

Returns

cost
number - Total cost in coppers
numChanges
number - Amount of pending changes. This includes detransmogrifications

Example

  • Two items to be transmogrified
/dump GetTransmogrifyCost() => 376753, 2
  • Two items to be detransmogrified
/dump GetTransmogrifyCost() => 0, 2

Patch changes