protected virtual void SaveCase() { SignalBus.Fire <SerializeEncounterSignal>(); var sceneInfo = SceneInfoSelector.CurrentValue.SceneInfo; EncounterWriter.Save(sceneInfo.User, sceneInfo.Encounter); StartReader(); }
protected virtual void AutosaveEncounter() { SignalBus.Fire <SerializeEncounterSignal>(); var sceneInfo = SceneInfoSelectedListener.CurrentValue.SceneInfo; var writerTask = EncounterWriter.Save(sceneInfo.User, sceneInfo.Encounter); writerTask.AddOnCompletedListener(AutosaveCompleted); }