17173 > 新闻中心 > 魔兽世界最新消息 > 《魔兽世界》客户端1.10.0版补丁说明

《魔兽世界》客户端1.10.0版补丁说明

2006-03-05 12:44:19 神评论

用户界面

声望页面将有很大改观:

  你现在可以点击声望面板里的某个阵营,以查看细节信息和相关选项。
  你现在可以在以前显示经验值的地方选择显示一条某个阵营声望槽,如果你还没有到60级,那么可以显示两条更细的槽,经验和声望。
  你可以将任何阵营标记为“不显示”。这些阵营的条目会被挪到声望面板的最下面,以防你对它们进行了错误的操作。
  你的经验条在60级以后就不会再显示了。这个位置将留给声望系统。
  Shift-R现在会显示最后一个收到你所发出的信息的人,而不是最后一个给你发信息的人。
  购买银行的包位现在会有确认行。
  所有的套装奖励,无论你是否有足够的套装组件数量都会显示,不过你尚不能得到的奖励效果会用灰色字体显示,同时会说明几件组件才能得到该奖励。
  将鼠标放在邮箱的物品上将可以使你不打开邮件也能查看物品属性。
  团队选项“显示可施放的增益魔法”现在可以正常工作了。
  如果使用“/who”命令查询名字后,由于查询结果很少而导致其在聊天界面直接显示,那么它们将可以被被右键点击,并显示邀请/悄悄话菜单。
  修正了一个导致小队或团队中的生命值/法力值显示不能及时更新的错误。
  修正了角色专用宏会被通用宏覆盖的错误。
  你不能修改暴雪XML和Lua文件了。
  插件和宏将无法激发或获取可以导致角色移动的命令了。
  SpellStopCasting()需要输入才能工作,就像你手动施放法术一样。
  切换宠物的自动施放技能需要输入才能工作,就像你手动命令宠物一样。
  新的API功能
  frame = CreateFrame("frameType" [,"name"] [, parent]) -- 动态创建指定类的新Frame
  font = CreateFont("name") -- 动态创建Font对象
  num = GetNumFrames() -- 获取当前已创建Frame的数量
  nextFrame = EnumerateFrames(currentFrame) -- 获取currentFrame后的Frame(内部顺序,使用currentFrame=nil获得第一个Frame)
  seterrorhandler(errfunc) -- 设置一个新的脚本错误管理器(将错误信息作为参数的功能)
  errfunc = geterrorhan
  version, buildnum, builddate = GetBuildInfo()
  新的对象方法(由所有font,Frame,texture和fontstring继承)
  type = Object:GetObjectType()
  isType = Object:IsObjectType("type")
  新的Font对象
  name = Font:GetName()
  a = Font:GetAlpha()
  Font:SetAlpha(a)
  font = Font:GetFontObject() -- 获取Font的?parent?.
  Font:SetFontObject(font or nil) -- 设置Font的?parent?
  Font:CopyFontObject(font) -- 设置Font的属性与目标Font相同
  fontFile, fontHeight, flags = Font:GetFont()
  wasFound = Font:SetFont("fontFile", fontHeight [, flags]) -- 如果指定Font为真,则返回1,否则返回nil(不作改变)
  r,g,b,a = Font:GetTextColor()
  Font:SetTextColor(r, g, b [, a])
  r,g,b,a = Font:GetShadowColor()
  Font:SetShadowColor(r, g, b [, a])
  x,y = Font:GetShadowOffset()
  Font:SetShadowOffset(x, y)
  Font:SetSpacing(spacing)
  spacing = Font:GetSpacing()
  Font:SetJustifyH("LEFT" or "CENTER" or "RIGHT")
  justifyh = Font:GetJustifyH()
  Font:SetJustifyV("TOP" or "MIDDLE" or "BOTTOM")
  justifyv = Font:GetJustifyV()
  新的LayoutFrame方法(由所有Frame, Texture和Fontstring继承)
  x,y = LayoutFrame:GetCenter()
  x = LayoutFrame:GetLeft()
  x = LayoutFrame:GetRight()
  y = LayoutFrame:GetTop()
  y = LayoutFrame:GetBottom()
  width = LayoutFrame:GetWidth()
  LayoutFrame:SetWidth(width)
  height = LayoutFrame:GetHeight()
  LayoutFrame:SetHeight(height)
  numPoints = LayoutFrame:GetNumPoints()
  "point",relativeObject,"relativePoint",xOfs,yOfs = LayoutFrame:GetPoint(index)
  LayoutFrame:SetPoint("point" [, LayoutFrame] [, "relativePoint"] [, offsetX, offsetY])
  LayoutFrame:SetAllPoints(LayoutFrame)
  LayoutFrame:ClearAllPoints()
  新的Texture方法
  parent = Texture:GetParent()
  Texture:SetParent(parent or "parent")
  layer = Texture:GetDrawLayer()
  Texture:SetDrawLayer("layer")
  blendMode = Texture:GetBlendMode()
  Texture:SetBlendMode("blendMode") -- blendMode是"DISABLE", "BLEND", "ALPHAKEY", "ADD", "MOD"之一
  r,g,b,a = Texture:GetVertexColor()
  isFound = Texture:SetTexture("path") -- 如果路径找到,则返回1,否则nil
  新的FontString方法
  parent = FontString:GetParent()
  FontString:SetParent(parent or "parent")
  layer = FontString:GetDrawLayer()
  FontString:SetDrawLayer("layer")
  font = FontString:GetFontObject()
  FontString:SetFontObject(font or nil)
  fontFile, fontHeight, flags = FontString:GetFont()
  wasFound = FontString:SetFont("fontFile", fontHeight [, flags]) -- 如果指定Font找到,则返回1,否则nil(不作改变)
  a = FontString:GetAlpha()
  r,g,b,a = FontString:GetTextColor()
  FontString:SetTextColor(r, g, b [, a])
  r,g,b,a = FontString:GetShadowColor()
  FontString:SetShadowColor(r, g, b [, a])
  x,y = FontString:GetShadowOffset()
  FontString:SetShadowOffset(x, y)
  spacing = FontString:GetSpacing()
  FontString:SetSpacing(spacing)
  justifyh = Font:GetJustifyH()
  FontString:SetJustifyH("LEFT" or "CENTER" or "RIGHT")
  justfiyv = FontString:GetJustifyV()
  FontString:SetJustifyV("TOP" or "MIDDLE" or "BOTTOM")
  新的针对所有Frame的方法
  texture = Frame:CreateTexture(["name"] [,"layer"]) -- 为某个Frame创建一个新的子Texture目标
  fontstring = Frame:CreateFontString(["name"] [,"layer"]) -- 为某个Frame创建一个新的子Fontstring目标
  numRegions = Frame:GetNumRegions() -- 返回Frame中附加的区域数量(Textures/FontStrings)
  a, b, c, ... = Frame:GetRegions() -- 返回Frame中附加的区域
  新的MessageFrames,ScrollingMessageFrames和EditBoxes的方法
  font = Frame:GetFontObject()
  Frame:SetFontObject(font or nil)
  fo
  wasFound = Frame:SetFont("fontFile", fontHeight [, flags]) -- 如果指定font为真则返回真,否则nil(不作改变)
  r,g,b,a = Frame:GetTextColor()
  Frame:SetTextColor(r, g, b [, a])
  r,g,b,a = Frame:GetShadowColor()
  Frame:SetShadowColor(r, g, b [, a])
  x,y = Frame:GetShadowOffset()
  Frame:SetShadowOffset(x, y)
  spacing = Frame:GetSpacing()
  Frame:SetSpacing(spacing)
  justifyh = Font:GetJustifyH()
  Frame:SetJustifyH("LEFT" or "CENTER" or "RIGHT")
  justfiyv = Frame:GetJustifyV()
  Frame:SetJustifyV("TOP" or "MIDDLE" or "BOTTOM")
  新的SimpleHTML方法 ("header" is "H1" "H2" or "H3")
  font = SimpleHTML:GetFontObject(["header"])
  SimpleHTML:SetFontObject(["header",] font or nil)
  fontFile, fontHeight, flags = SimpleHTML:GetFont(["header"])
  wasFound = SimpleHTML:SetFont(["header",] "fontFile", fontHeight [, flags]) -- 如果指定font为真则返回真,否则nil(不作改变)
  r,g,b,a = SimpleHTML:GetTextColor(["header"])
  SimpleHTML:SetTextColor(["header",] r, g, b [, a])
  r,g,b,a = SimpleHTML:GetShadowColor(["header"])
  SimpleHTML:SetShadowColor(["header",] r, g, b [, a])
  x,y = SimpleHTML:GetShadowOffset(["header"])
  SimpleHTML:SetShadowOffset(["header",] x, y)
  spacing = SimpleHTML:GetSpacing(["header"])
  SimpleHTML:SetSpacing(["header",] spacing)
  justifyh = SimpleHTML:GetJustifyH(["header"])
  SimpleHTML:SetJustifyH(["header",] "LEFT" or "CENTER" or "RIGHT")
  justfiyv = SimpleHTML:GetJustifyV(["header"])
  SimpleHTML:SetJustifyV(["header",] "TOP" or "MIDDLE" or "BOTTOM")
  新的Button方法
  font = Button:GetTextFontObject()
  Button:SetTextFontObject(font or nil)
  font = Button:GetDisabledFontObject()
  Button:SetDisabledFontObject(font or nil)
  font = Button:GetHighlightFontObject()
  Button:SetHighlightFontObject(font or nil)
  Button:SetNormalTexture("texturePath" or TextureObject) -- 添加了Texture对象选项
  Button:SetPushedTexture("texturePath" or TextureObject) -- 添加了Texture对象选项
  Button:SetDisabledTexture("texturePath" or TextureObject) -- 添加了Texture对象选项
  Button:SetHighlightTexture("texturePath" or TextureObject) -- 添加了Texture对象选项
  新的Slider方法
  orientation = Slider:GetOrientation() -- 返回slider定位
  Slider:SetOrientation("orientation") -- 设置slider定位("HORIZONTAL","VERTICAL")
  新的StatusBar方法
  orientation = StatusBar:GetOrientation() -- 返回bar定位
  StatusBar:SetOrientation("orientation") -- 设置bar定位("HORIZONTAL","VERTICAL")
  filename = StatusBar:GetStatusBarTexture()
  r, g, b, a = StatusBar:GetStatusBarColor()
  新的ScrollingMessageFrame方法
  ScrollingMessageFrame:SetFading(isFading) -- 从ScrollingMessageFrame:EnableFading()重命名而来
  isFading = ScrollingMessageFrame:GetFading()
  duration = ScrollingMessageFrame:GetFadeDuration() -- 获取字符串消隐的时长
  visTime = ScrollingMessageFrame:GetTimeVisible() -- 获取字符串消隐前的时长
  新的Minimap方法
  Minimap:SetMaskTexture("file") -- 为小地图遮照设置texture
  Minimap:SetIconTexture("file") -- 为小地图POI图标设置texture
  Minimap:SetBlipTexture("file") -- 为小地图追踪箭头设置texture
  世界环境

支持键盘 ← 和 → 分页

本文导航