WoW:API PATCH DOWNLOADED: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
m (Move page script moved page API PATCH DOWNLOADED to API PATCH DOWNLOADED without leaving a redirect)
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Stub/API}}
{{wowapi|Glue}}
This is a '[[World of Warcraft API/Glue|Glue]]' runtime Lua function. See also [[GlueXML]].
Event: [[PATCH_DOWNLOADED]]
This [[event]] is fired after the client has finished downloading a patch and provides no arguments.
-- example event handler
  function OnEvent()
  function OnEvent()
   if(event == PATCH_DOWNLOADED)
   if(event == PATCH_DOWNLOADED)
Line 4: Line 14:
   end
   end
  end
  end
[[Category:World of Warcraft API/GlueXML]]
[[Category:World of Warcraft API/GlueXML]]

Latest revision as of 04:46, 15 August 2023

Glue API < PATCH DOWNLOADED

This is a 'Glue' runtime Lua function. See also GlueXML.

Event: PATCH_DOWNLOADED

This event is fired after the client has finished downloading a patch and provides no arguments.

-- example event handler
function OnEvent()
  if(event == PATCH_DOWNLOADED)
    PatchDownloadApply()
  end
end