此站点大量使用JavaScript。
请在您的浏览器中启用JavaScript。
正式服
PTR
11.0.2
PTR
11.0.5
Beta
New Lua File Mention Patch 9.1.5 - Shadowlands PTR Soon?
PTR
由
perculia
发表于
2021/08/11,15:05
Blizzard added a file today which references functions deprecated in Patch 9.1.5. Could a new PTR be coming soon?
The following information was added to the wowz Burning Crusade build 2.5.2.39757:
-- 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
This following message was also added to GlobalStrings in compliance with the UK's
Age Appropriate Design Code
guidelines:
World of Warcraft is an online game that includes interactions with other players. Please be cautious and do not share personal information with people you do not know.|n|nAs well, please be mindful of our community interaction policies and report any harassment, abusive behavior or chat, or other conduct intended to undermine or disrupt the game experience using our in-game reporting options; we'll review chat records and take appropriate action.
[Get Wowhead]
高级会员
[$2]
[A Month]
[Enjoy an ad-free experience, unlock premium features, & support the site!]
[Show 0 Comments]
[Hide 0 Comments]
[Sign In to Post a Comment]
英文评论(97)
1
1
发表评论
你没有登录。
请登录
或者
注册账号
来添加你的评论。
上一篇
下一篇