override internal void StartSDK(bool newPlayer) { started = true; if (newPlayer) { engageCache.Clear(); actionStore.Clear(); } NewSession(); if (launchNotificationEvent != null) { RecordEvent(launchNotificationEvent); launchNotificationEvent = null; } TriggerDefaultEvents(newPlayer); // setup automated event uploads if (Settings.BackgroundEventUpload && !IsInvoking("Upload")) { InvokeRepeating( "Upload", Settings.BackgroundEventUploadStartDelaySeconds, Settings.BackgroundEventUploadRepeatRateSeconds); } }
override internal void StartSDK(bool newPlayer) { started = true; this.newPlayer = newPlayer; if (newPlayer) { engageCache.Clear(); actionStore.Clear(); hasSentDefaultEvents = false; } retryAttempts = 0; NewSession(); // setup automated event uploads if (Settings.BackgroundEventUpload) { InvokeRepeating( "Upload", Settings.BackgroundEventUploadStartDelaySeconds, Settings.BackgroundEventUploadRepeatRateSeconds); } if (Settings.SendGameRunningEveryMinute) { RecordGameRunningEvent(); } }
public void ClearsCache() { uut.Put("dp", "flavour", "data"); uut.Clear(); Expect(uut.Get("dp", "flavour"), Is.Null); }
override internal void StartSDK(bool newPlayer) { started = true; this.newPlayer = newPlayer; if (newPlayer) { engageCache.Clear(); actionStore.Clear(); hasSentDefaultEvents = false; } NewSession(); // setup automated event uploads if (Settings.BackgroundEventUpload && !IsInvoking("Upload")) { InvokeRepeating( "Upload", Settings.BackgroundEventUploadStartDelaySeconds, Settings.BackgroundEventUploadRepeatRateSeconds); } }
override internal void ClearPersistentData() { if (eventStore != null) { eventStore.ClearAll(); } if (engageCache != null) { engageCache.Clear(); } if (ImageMessageStore != null) { ImageMessageStore.Clear(); } }