Mercurial > wow > breuesk
comparison Core.lua @ 77:0a3f590f69e6
Update todo list
Helper function to print list status
author | John@Yosemite-PC |
---|---|
date | Thu, 12 Apr 2012 22:18:05 -0400 |
parents | 15844864a5f7 |
children | 40c882db34f8 |
comparison
equal
deleted
inserted
replaced
76:39be9328acd0 | 77:0a3f590f69e6 |
---|---|
5 -- (*) lists single-user functional via command line interface | 5 -- (*) lists single-user functional via command line interface |
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 |
185 return | 185 return |
186 end | 186 end |
187 PersonList:AddMissing() | 187 PersonList:AddMissing() |
188 CreateList(arg1) | 188 CreateList(arg1) |
189 PopulateListRandom(arg1) | 189 PopulateListRandom(arg1) |
190 elseif action == "liststatus" then | |
191 local lids = LootLists:GetAllIds() | |
192 for _,v in _G.pairs(lids) do | |
193 local lref = LootLists:Select(v) | |
194 printf("List %s, modified %s (%s)", lref:GetName(), _G.date("%m/%d/%y %H:%M:%S",lref:GetTime()), lref:GetTime()) | |
195 end | |
190 elseif action == "push" then | 196 elseif action == "push" then |
191 Comm:Push() | 197 Comm:Push() |
192 elseif action == "state" then | 198 elseif action == "state" then |
193 print(state) | 199 print(state) |
194 else | 200 else |