LibStringStorage-1.0

  • 4 pages found
NameAuthorLast updated byUpdated on
NameAuthorLast updated byUpdated on
API stolenlegacy stolenlegacy Aug 11, 2011
lib:NewStorage(globalKey[, callbacks]) Returns a storage object reference that is used for most other actions. Parameters globalKey The name of the global variable to create the storage in callbacks A table containing callback functions in [callback] => function format. See the callbacks page for details. storageObj:WriteValue(key, value) Encode a passed table into string format and save it in the specified (string) key. Parameters key A string containing the key to use in the storage table....
Callbacks stolenlegacy stolenlegacy Aug 11, 2011
This details a list of callbacks you can use to be notified of certain events occurring. See storageObj:NewCallback for details on how to register for a callback. All callback functions are called as callbackFunc(storageObj, callbackKey, ...) ENCODE_PROGRESS Fires every time the encoding coroutine yields (every frame that encoding happens on). Arguments encodedKeys The number of table entries that has already been encoded totalKeys The total number of table entries that needs to be encoded....
Examples / Aug 11, 2011
Retrieving data with progress bar stolenlegacy stolenlegacy Aug 11, 2011
Main stolenlegacy stolenlegacy Aug 12, 2011
It seems Blizzard fixed this issue in the 4.2.0a bugfix patch.You can still use LibStringStorage to reduce static memory usage and loading screen length, as well as saving a bit of HDD space with your SavedVar files. LibStringStorage is designed to circumvent a limitation of the Blizzard SavedVar system - the SV system only allows a maximum of 2^16 lines for SavedVar files, and creates a new line for every table key-value pair. Some addons - especially logging utilities - often run into...
  • 4 pages found