Key-value store
The key-value store provides a simple persistence layer for the players.
Coherence.Runtime.KvStore
public static class KvStore
{
// Sets a value
// key: lowercase letters, numbers, underscore, dash
// val: any string (null is not allowed)
public static void Set(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)
}Example
Limitations
Last updated
Was this helpful?

