C_PetJournal .PetIsTradable
Jump to navigation
Jump to search
Flavors |
---|
Links |
Info |
Added in 5.0.4 |
Returns whether or not a pet from the Pet Journal is tradable.
isTradable = C_PetJournal.PetIsTradable(petID)
Arguments
- petID
- string - GUID of pet in Pet Journal (different than speciesID and displayID)
Returns
- isTradable
- boolean
Details
This is used by Blizzard to generate the red "Not Tradable" text on Pet Journal tooltips when false or nil.
Patch changes
Patch 5.0.4 (2012-08-28): Added.