Lore archive · Warcraft Wiki, 2023 dump
1.11.0 API changes (Iriel)
Last wiki revision 2020-04-23
This is a list of the API changes detected when comparing the current 0.11 PTR build against the last 1.10.2 live build. Many of the changes are covered in the 1.11 changes sticky post. I've marked those which are incompatible changes to existing functionality with !!!!, though I don't predict they'll cause any significant issues for most users.
- NEW hasKey = HasKey - Returns 1 if the player has a keyring, nil otherwise.
- NEW invSlot = KeyRingButtonIDToInvSlotID(buttonID) - Map a keyring button to an inventory slot button for use in inventory functions.
- NEW hasRange = ActionHasRange(slot) - Determine if the specified action is a range restriction (1 if yes, nil if no)
- NEW type = GetPlayerBuffDispelType(buffIndex) - Get the debuff type for a player debuff ("Magic", "Curse", "Disease", or "Poison")
- UPDATED debuff, debuffStack, debuffType = UnitDebuff("unit") - Added 3rd debufftype result
- NEW ConfirmReadyCheck(isReady) - Indicate if you are ready or not.
- NEW DoReadyCheck = Initiate a ready check.
- NEW CheckReadyCheckTime - Unknown, called from UIParent's OnUpdate!
- NEW index = GetRaidTargetIndex("unit") - Get the raid target index assigned to a unit.
- NEW SetRaidTarget("unit", index) - Set the raid target index for a unit.
- NEW GMSurveyAnswerSubmit (question, rank, comment) ?
- NEW GMSurveyCommentSubmit (comment) ?
- NEW GMSurveyQuestion ?
- NEW GMSurveySubmit ?
- NEW state = CanShowResetInstances - Seems to indicate whether player can see instance reset interface.
- NEW count = GetNumSavedInstances - Gets the number of instances that are saved to the player.
- NEW instanceName, instanceID, instanceReset = GetSavedInstanceInfo(index) - Gets information about an instance, instanceReset is time in seconds.
- NEW inInstance = IsInInstance - Return 1 if the player is in an instance.
- NEW ResetInstances - Confirm reset of instances.
- UPDATED SetCursor("cursor" or nil) - Now recognises nil to reset cursor
- UPDATED CreateFrame ("frameType" [, "name"] [, parent] [, "template"]) - Now accepts optional virtual template name.
- UPDATED SetPetStablePaperdoll (characterModel) - Now takes Model object instead of frame name !!!!
- UPDATED TargetByName("name" [,exactMatch]) - New optional exact match flag parameter.
- UPDATED FollowByName("name" [,exactMatch]) - - New optional exact match flag parameter.
- NEW value = GetAddOnMetadata (index or "name", "variable") - Retrieve metadata from addon's TOC file.
- UPDATED UnitSex("unit") returns 1=unknown,2=male,3=female instead of 0=m,1=f,2=u !!!!
- NEW r,g,b,a = Button:GetDisabledTextColor
- NEW texture = Button:GetDisabledTexture
- NEW fontString = Button:GetFontString
- NEW r,g,b,a = Button:GetHighlightTextColor
- NEW texture = Button:GetHighlightTexture
- NEW texture = Button:GetNormalTexture
- NEW x,y = Button:GetPushedTextOffset
- NEW texture = Button:GetPushedTexture
- NEW r,g,b,a = Button:GetTextColor
- NEW Button:SetFontString(fontString)
- NEW Button:SetPushedTextOffset(x, y)
- NEW CheckButton:GetCheckedTexture
- NEW CheckButton:GetDisabledCheckedTexture
- NEW ColorSelect:GetColorValueTexture
- NEW ColorSelect:GetColorValueThumbTexture
- NEW ColorSelect:GetColorWheelTexture
- NEW ColorSelect:GetColorWheelThumbTexture
- NEW ColorSelect:SetColorValueTexture(texture|nil)
- NEW ColorSelect:SetColorValueThumbTexture(texture|"texture"|nil)
- NEW ColorSelect:SetColorWheelTexture(texture|nil)
- NEW ColorSelect:SetColorWheelThumbTexture(texture|"texture"|nil)
- NEW EditBox:GetBlinkSpeed
- NEW EditBox:GetMaxBytes
- NEW EditBox:GetMaxLetters
- NEW EditBox:GetTextInsets
- NEW EditBox:IsAutoFocus
- NEW EditBox:IsMultiLine
- NEW EditBox:IsNumeric
- NEW EditBox:IsPassword
- NEW EditBox:SetAutoFocus(state)
- NEW EditBox:SetBlinkSpeed(seconds)
- NEW EditBox:SetMultiLine(state)
- NEW EditBox:SetNumeric(state)
- NEW EditBox:SetPassword(state)
- NEW FontString:CanNonSpaceWrap
- NEW Frame:CreateTitleRegion
- NEW Frame:GetBackdropBorderColor
- NEW Frame:GetBackdropColor
- NEW Frame:GetBackdrop
- NEW Frame:GetHitRectInsets
- NEW Frame:GetMaxResize
- NEW Frame:GetMinResize
- NEW Frame:GetTitleRegion
- NEW Frame:IsClampedToScreen
- NEW Frame:IsKeyboardEnabled
- NEW Frame:IsMouseEnabled
- NEW Frame:IsMouseWheelEnabled
- NEW Frame:RegisterAllEvents
- NEW Frame:SetClampedToScreen(clamped)
- NEW Frame:SetHitRectInsets(left,right,top,bottom)
- UPDATED Frame:CreateTexture(["name", ["drawlayer" [,"inheritsFrom"]]]) - Added inheritsFrom
- UPDATED Frame:CreateFontString(["name", ["drawlayer" [,"inheritsFrom"]]]) - Added inheritsFrom
- NEW GameTooltip:AddFontStrings(leftString,rightString)
- NEW MessageFrame:Clear
- NEW MessageFrame:GetFadeDuration
- NEW MessageFrame:GetFading
- NEW MessageFrame:GetInsertMode
- NEW MessageFrame:GetTimeVisible
- NEW MessageFrame:SetFadeDuration(seconds)
- NEW MessageFrame:SetFading(status)
- NEW MessageFrame:SetInsertMode("TOP"|"BOTTOM")
- NEW MessageFrame:SetTimeVisible(seconds)
- NEW Minimap:SetArrowModel("file")
- NEW Minimap:SetPlayerModel("file")
- NEW Model:GetFogColor
- NEW Model:GetFogFar
- NEW Model:GetFogNear
- NEW Model:GetLight
- NEW Model:GetModel
- NEW ScrollingMessageFrame:AtTop
- NEW SimpleHTML:GetHyperlinkFormat
- NEW Slider:GetThumbTexture
- UPDATED StatusBar:SetStatusBarTexture(texture or "filename"[,"layer"]) - Now takes a filename, a texture object, or nil (previously only filename)
- UPDATED texture = StatusBar:GetStatusBarTexture - Returns a texture object instead of a filename. !!!!
- NEW Texture:GetTexCoord
- NEW Texture:IsDesaturated
- BROKEN PlaySoundFile has stopped working, will be fixed in 1.11.1
Last updated - 2006-06-21 14:37 Pacific
Source
https://warcraft.wiki.gg/wiki/1.11.0_API_changes_(Iriel) · retrieved 2023-11-13 · CC BY-SA 4.0
Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.
This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.