This commit is contained in:
Tercio
2013-08-09 14:34:40 -03:00
parent aa5db1ee19
commit c5ea92caaf
120 changed files with 0 additions and 0 deletions
@@ -0,0 +1,6 @@
## Interface: 50300
## Title: Details Save Data
## Notes: Save Details database
## RequiredDeps: Details
Details_SaveData.xml
@@ -0,0 +1,24 @@
<Ui xmlns="http://www.blizzard.com/wow/ui/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.blizzard.com/wow/ui/ ..\FrameXML\UI.xsd">
<Frame>
<Scripts>
<OnLoad>
self:RegisterEvent ("ADDON_LOADED")
self:RegisterEvent ("PLAYER_LOGOUT")
</OnLoad>
<OnEvent>
if (event == "ADDON_LOADED") then
_G._detalhes_saver = true
elseif (event == "PLAYER_LOGOUT") then
_G._detalhes:SaveDataOnLogout()
end
</OnEvent>
</Scripts>
</Frame>
</Ui>