comparison Core.lua @ 73:7eb2963eea7d

Further splitting up GUI and State Starting to integrate looting events
author John@Yosemite-PC
date Sun, 08 Apr 2012 22:13:17 -0400
parents 9e5b0a2368ad
children 15844864a5f7
comparison
equal deleted inserted replaced
72:9e5b0a2368ad 73:7eb2963eea7d
51 51
52 local HandlePassThrough = function(...) HandleCommand(...) end 52 local HandlePassThrough = function(...) HandleCommand(...) end
53 bsk:RegisterChatCommand("bsk", HandlePassThrough) 53 bsk:RegisterChatCommand("bsk", HandlePassThrough)
54 bsk:OnInitializeSetStaticData() 54 bsk:OnInitializeSetStaticData()
55 InitializeComm() 55 InitializeComm()
56 InitializeLooting()
56 end 57 end
57 58
58 function OnEnable() 59 function OnEnable()
59 CreateWorkingStateFromChanges(db.profile.changes) 60 CreateWorkingStateFromChanges(db.profile.changes)
61 InitializeState()
60 --CreateGUI() 62 --CreateGUI()
61 end 63 end
62 64
63 function HandleCommand(paramIn) 65 function HandleCommand(paramIn)
64 local param = { strsplit(" ", paramIn) } 66 local param = { strsplit(" ", paramIn) }