// Results are returned as a list of [key, value] tuples for (vari = 0; i < results.length; ++i) { constkey = results[i][0]; constvalue = results[i][1]; screenLog(" - key: " + key + " value: " + value); }
// Request the next page of results if (results.length == limit) { script.session.listStoredValues(options.scope, cursor, onListRetrieved, handleError); } } script.session.listStoredValues(scope, "", onListRetrieved, handleError); }
Settings for saving values in a MultiplayerSession.
Example