this:RegisterForDrag("LeftButton")
-- xml l.31-38. Guarded on `this.tooltip` because Update has not necessarily run
-- yet: a hover before the first repaint has nothing to say and says nothing.
if this.tooltip then
GameTooltip:SetOwner(this, "ANCHOR_RIGHT")
GameTooltip:SetText(this.tooltip)
GameTooltip:AddLine(this.tooltipSubtext, "", 1.0, 1.0, 1.0)
GameTooltip:Show()
end
GameTooltip:Hide()
if ClickStablePet(this:GetID()) then
PetStable_Update()
end
PickupStablePet(this:GetID())
if ClickStablePet(this:GetID()) then
PetStable_Update()
end
GameTooltip:SetOwner(this, "ANCHOR_RIGHT")
GameTooltip:SetText(this.tooltip)
GameTooltip:Hide()
this.setFacing = BenillaPetStableModel_SetFacing
BenillaPaperDollModel_OnLoad(this)
BenillaSetBoothTexture(getglobal(this:GetName() .. "Texture"), "stable")
BenillaPaperDollModel_OnUpdate(this, arg1)SmallMoneyFrame_OnLoad() MoneyFrame_SetType("STATIC")PetStable_OnLoad()PlaySound("igCharacterInfoOpen")ClosePetStables() PlaySound("igCharacterInfoClose")PetStable_OnEvent()