- 1 page found
| Name | Author | Last updated by | Updated on |
|---|---|---|---|
| Name | Author | Last updated by | Updated on |
| Main | mikk | mikk | 13 Sep 2009 |
| Several useful bag related APIs that you wish were built into the WoW API: local LBU = LibStub("LibBagUtils-1.0") for bag,slot in LBU:Iterate("BANK", "Major Healing Potion") do LBU:PutItem("BAGS") end :Iterate("which"[, "lookingfor"]) which string: "BAGS", "BANK", "BAGSBANK" lookingfor OPTIONAL: itemLink, itemName, itemString or itemId(number). Will not match partial names. Returns an iterator that can be used in a for loop, e.g.: for bag,slot,link in LBU:Iterate("BAGS") do -- loop all slots... | |||
- 1 page found