Is there something about the API that prevents us from just writing directly to local files?
I wanted to make a little addon to build up a csv file of a bunch of game data overtime (like a log file of certain in-game events), for personal use - not really planning on making something to distribute.
I guess the SavedVariables is the normal way to do this but a csv where i can just specify the filepath directly would be way more convenient for me. Not an option?
While not in a load screen, one addon's saved vars are saved every 3 minutes. Your addon can request to be bumped up the priority queue for the next save interval using RequestAddOnSavedVariablesPrioritySave("yourAddonName") once every 15 minutes. If your saved vars are greater than 50KB, it'll have to wait until the next load screen to save.
While not in a load screen, one addon's saved vars are saved every 3 minutes. Your addon can request to be bumped up the priority queue for the next save interval using RequestAddOnSavedVariablesPrioritySave("yourAddonName") once every 15 minutes. If your saved vars are greater than 50KB, it'll have to wait until the next load screen to save.