Une première mention du patch 9.1.5 de Shadowlands dans les fichiers de WoW
Comme l'a remarqué Wowhead, Blizzard a ajouté un fichier dans le patch 2.5.2.39757 de Burning Crusade qui fait référence à des fonctions qui deviendront prochaines obsolètes. Là où ça devient intéressant, c'est qu'il est indiqué qu'elles le deviendront dans le patch 9.1.5.
Le code en question, visible ci-dessous, se trouve dans le fichier Deprecated_9_1_5.lua. Le LUA est le langage utilisé par WoW pour la personnalisation de l'interface, un élément bien connu des créateurs d'addons par exemple.
Cela pourrait signifier que le PTR 9.1.5 n'est peut-être plus très loin, ce qui tomberait bien maintenant que la campagne des Chaînes de Domination est terminée.
-- These are functions that were deprecated in 9.1.5, and will be removed in the next expansion.
-- Please upgrade to the updated APIs as soon as possible.
if not IsPublicBuild() then
return;
end
-- Tooltips have moved to use the NineSlicePanel interface. Some old functionality remains (see SharedXML\SharedTooltipTemplates.lua)
do
-- These functions are no longer meaningful
TooltipBackdropTemplateMixin.OnBackdropLoaded = function() end;
TooltipBackdropTemplateMixin.OnBackdropSizeChanged = function() end;
TooltipBackdropTemplateMixin.GetEdgeSize = function() return 0 end;
TooltipBackdropTemplateMixin.GetBackdropCoordValue = function() return 0 end;
TooltipBackdropTemplateMixin.SetupTextureCoordinates = function() end;
TooltipBackdropTemplateMixin.SetupPieceVisuals = function() end;
TooltipBackdropTemplateMixin.HasBackdropInfo = function() return false end;
TooltipBackdropTemplateMixin.GetBackdrop = function() return nil end;
-- These functions will just apply the default backdrop and show the artwork
TooltipBackdropTemplateMixin.ApplyBackdrop = function(self)
local layout = NineSliceUtil.GetLayout("TooltipDefaultLayout");
NineSliceUtil.ApplyLayout(self.NineSlice, layout);
self.NineSlice:Show();
end;
TooltipBackdropTemplateMixin.SetBackdrop = function(self)
local layout = NineSliceUtil.GetLayout("TooltipDefaultLayout");
NineSliceUtil.ApplyLayout(self.NineSlice, layout);
self.NineSlice:Show();
end;
-- This function will just hide the artwork
TooltipBackdropTemplateMixin.ClearBackdrop = function(self)
self.NineSlice:Hide();
end;
end