working on new history code

This commit is contained in:
Manuel Simon Hirsig
2016-02-07 23:49:54 +01:00
parent 4d1a61961d
commit 8a0ee6ff38
11 changed files with 205 additions and 240 deletions
+19
View File
@@ -0,0 +1,19 @@
<Ui xsi:schemaLocation="http://www.blizzard.com/wow/ui/">
<Script file="history.lua"/>
<Frame>
<Scripts>
<OnLoad>
this:RegisterEvent('PLAYER_LOGIN')
this:RegisterEvent('PLAYER_LOGOUT')
</OnLoad>
<OnEvent>
if event == 'PLAYER_LOGIN' then
Aux.history.on_login()
elseif event == 'PLAYER_LOGOUT' then
Aux.history.on_logout()
end
</OnEvent>
</Scripts>
</Frame>
</Ui>