The key-value store provides a simple persistence layer for the players.
Coherence.Runtime.KvStore
The player needs need to be logged in to use the key-value store.
This class provides the methods to set, get and unset key-value pairs. This is executed within the context of the currently logged in player.
publicstaticclassKvStore{ // Sets a value // key: lowercase letters, numbers, underscore, dash // val: any string (null is not allowed)publicstaticvoidSet(string key,string val) // Gets a value // key: lowercase letters, numbers, underscore, dash public static string Get(string key) // Unsets a value, removing it from the store // key: lowercase letters, numbers, underscore, dash public static void Unset(string key)}