Mercurial > wow > ouroloot
comparison LibFarmbuyer.lua @ 100:a57133ee3c9b
- Allow event callbacks using the standard CallbackHandler scheme. Add
a debug.callback flag with usual semantics.
- Fire an initial set of events. This will take experimentation.
- If restoring g_loot, set metatables on previous entries also.
| author | Farmbuyer of US-Kilrogg <farmbuyer@gmail.com> |
|---|---|
| date | Mon, 30 Jul 2012 19:25:46 +0000 |
| parents | 3546c7b55986 |
| children | fb4bda3ad05c |
comparison
equal
deleted
inserted
replaced
| 99:966d06c8d9c9 | 100:a57133ee3c9b |
|---|---|
| 6 Library contents: | 6 Library contents: |
| 7 - author_debug | 7 - author_debug |
| 8 Evaluates to true if I'm hacking on something. | 8 Evaluates to true if I'm hacking on something. |
| 9 | 9 |
| 10 - tableprint(t[,f]) | 10 - tableprint(t[,f]) |
| 11 A single print() call to the contents of T, including nils; strings are | 11 A single print() call to the tostring'd contents of T, including nils; |
| 12 cleaned up with respect to embedded '|'/control chars. A single space | 12 strings are cleaned up with respect to embedded '|'/control chars. A |
| 13 is used during concatenation of T. If a function F is passed, calls that | 13 single space is used during concatenation of T. If a function F is passed, |
| 14 instead of print(). Returns the accumulated string and either T or the | 14 calls that instead of print(). Returns the accumulated string and either |
| 15 returned values of F, depending on which was used. | 15 T or the returned values of F, depending on which was used. |
| 16 | 16 |
| 17 - safeprint(...) | 17 - safeprint(...) |
| 18 Same as tableprint() on the argument list. Returns the results of tableprint. | 18 Same as tableprint() on the argument list. Returns the results of tableprint. |
| 19 Generates some garbage. | 19 Generates some garbage. |
| 20 | 20 |
