Ok, So I'm a well experienced programmer, but brand new to lua and wowmods. I'm having difficulty finding out how data is stored across sessions. I can see how to declare variables in the toc file, but I'm not sure how to access them in lua, or what my limitations are to using them.
I'm working on an inventory based mod, so I'd like to store a variable length list of "item" objects each with a character name, bag id,bag slot id, item id, quantity, etc..
I know how to access all the data via the api, and I can do basic guis to show the stuff, but I'm not sure how to load or save this data in any convienient fashion. A little nudge in the right direction would be much appreciated.