public bool GetValue(string key, out int value) { byte[] data; if (mStorage.GetData(key, out data)) { value = SaveableInt.Deserialize(0, data); return(true); } value = default(int); return(false); }
public bool SetValue(string key, int value) { return(mStorage.AddData(key, SaveableInt.Serialize(value))); }
public void ResetCounters() { BeforeEventCounter = 0; EventCounter = 0; }