Quantcast WoWInterface - View Single Post - Need help locating some Blizzard code
View Single Post
11-27-18, 11:53 AM   #2
Fizzlemizz
I did that?
 
Fizzlemizz's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Dec 2011
Posts: 1,179
The function is from WardrobeSetsCollectionMixin

Lua Code:
  1. function WardrobeSetsCollectionMixin:SelectSet(setID)
  2.     self.selectedSetID = setID;
  3.  
  4.     local baseSetID = C_TransmogSets.GetBaseSetID(setID);
  5.     local variantSets = SetsDataProvider:GetVariantSets(baseSetID);
  6.     if ( #variantSets > 0 ) then
  7.         self.selectedVariantSets[baseSetID] = setID;
  8.     end
  9.  
  10.     self:Refresh();
  11. end
__________________
Fizzlemizz
Maintainer of Discord Unit Frames and Discord Art.
Author of FauxMazzle, FauxMazzleHUD and Move Pad Plus.
  Reply With Quote