comparison Core.lua @ 70:236117ab8a49

Decent sketch of what the communication system might look like
author John@Yosemite-PC
date Thu, 29 Mar 2012 23:24:51 -0400
parents b7352f007028
children 9e5b0a2368ad
comparison
equal deleted inserted replaced
69:b7352f007028 70:236117ab8a49
6 -- (*) all actions should reference the player list rather than player names 6 -- (*) all actions should reference the player list rather than player names
7 -- (?) player entries should persist as long as any list or change references 7 -- (?) player entries should persist as long as any list or change references
8 -- (*) lists store number slots rather than flat indexing 8 -- (*) lists store number slots rather than flat indexing
9 -- ( ) database and comm versioning 9 -- ( ) database and comm versioning
10 -- ( ) limited communication - everyone trusts the loot master 10 -- ( ) limited communication - everyone trusts the loot master
11 -- ( ) single user + admin gui (manual suicides) 11 -- (_) single user + admin gui (manual suicides)
12 -- ( ) single user + admin gui (master loot) 12 -- ( ) single user + admin gui (master loot)
13 -- ( ) communication and list merging/trimming 13 -- ( ) communication and list merging/trimming
14 -- ( ) admins 14 -- ( ) admins
15 -- ( ) players gui 15 -- (_) players gui
16 -- ( ) undo 16 -- ( ) undo
17 -- ( ) crypto / protection against tampering 17 -- ( ) crypto / protection against tampering
18 -- ( ) alt tracking 18 -- ( ) alt tracking
19 -- (_) reserves 19 -- (*) reserves
20 20
21 local _G=_G 21 local _G=_G
22 local strsplit=strsplit 22 local strsplit=strsplit
23 local string=string 23 local string=string
24 local sformat=string.format 24 local sformat=string.format
49 --optionsFrame = LibStub("AceConfigDialog-3.0"):AddToBlizOptions("bsk", "bsk") 49 --optionsFrame = LibStub("AceConfigDialog-3.0"):AddToBlizOptions("bsk", "bsk")
50 50
51 local HandlePassThrough = function(...) HandleCommand(...) end 51 local HandlePassThrough = function(...) HandleCommand(...) end
52 bsk:RegisterChatCommand("bsk", HandlePassThrough) 52 bsk:RegisterChatCommand("bsk", HandlePassThrough)
53 bsk:OnInitializeSetStaticData() 53 bsk:OnInitializeSetStaticData()
54 InitializeComm()
54 end 55 end
55 56
56 function OnEnable() 57 function OnEnable()
57 CreateWorkingStateFromChanges(db.profile.changes) 58 CreateWorkingStateFromChanges(db.profile.changes)
58 --CreateGUI() 59 --CreateGUI()