comparison Core.lua @ 72:9e5b0a2368ad

Big progress towards GUI usefulness and communication between clients
author John@Yosemite-PC
date Sat, 07 Apr 2012 13:35:57 -0400
parents 236117ab8a49
children 7eb2963eea7d
comparison
equal deleted inserted replaced
71:d5e2dfe0c269 72:9e5b0a2368ad
27 _G.bsk=bsk 27 _G.bsk=bsk
28 local L = LibStub("AceLocale-3.0"):GetLocale("bsk", false) 28 local L = LibStub("AceLocale-3.0"):GetLocale("bsk", false)
29 setfenv(1,bsk) 29 setfenv(1,bsk)
30 30
31 local pkgrev = " @project-revision@ " 31 local pkgrev = " @project-revision@ "
32 admin = admin or true
32 33
33 -- important things to remember: 34 -- important things to remember:
34 -- 1) ipairs iterates from 1 until the first missing int index -> no gaps if int 35 -- 1) ipairs iterates from 1 until the first missing int index -> no gaps if int
35 -- indexing 36 -- indexing
36 -- 2) a.x === a["x"] 37 -- 2) a.x === a["x"]
181 return 182 return
182 end 183 end
183 PersonList:AddMissing() 184 PersonList:AddMissing()
184 CreateList(arg1) 185 CreateList(arg1)
185 PopulateListRandom(arg1) 186 PopulateListRandom(arg1)
187 elseif action == "push" then
188 Comm:Push()
189 elseif action == "state" then
190 print(state)
186 else 191 else
187 CreateGUI() 192 CreateGUI()
188 end 193 end
189 194
190 --if frame == nil then 195 --if frame == nil then