private void PullData(bool withRetry) { isTransacting = true; isTransactionError = false; isTransactionSuccess = false; TutorialManagerEditorWebHandler.TMRSReadResponseReceived += RemoteSettingsReadDataReceived; if (withRetry) { TutorialManagerEditorWebHandler.TMRSReadRetry += RemoteSettingsReadRetry; } m_WebRequestEnumerator = TutorialManagerEditorWebHandler.Read(m_AppId); }
private void PushData(bool withRetry) { isTransactionSuccess = false; isTransactionError = false; if (genreId == 0) { isGenreProblem = true; } else { isTransacting = true; TutorialManagerEditorWebHandler.TMRSWriteResponseReceived += WriteResponseReceived; if (withRetry) { TutorialManagerEditorWebHandler.TMRSWriteRetry += RemoteSettingsWriteRetry; } m_WebRequestEnumerator = TutorialManagerEditorWebHandler.Write(m_AppId, TMModel.TMData); } }