private void ProcessUpdate(PWMessage message) { if (message != null) { m_lastUpdated = Utils.GetFrapoch(); } }
private void ProcessUpdate(PWMessage message) { if (message != null) { m_lastUpdated = Utils.GetFrapoch(); ProcessRemoteData(message); Save(); } }
protected override void ProcessRemoteData(PWMessage message) { #if PW_DEBUG Debug.LogFormat("[PWNews-{0}]: Processing remote data\n" + "Title: '{1}'\n" + "Url: '{2}'\n" + "Body: '{3}'\n" + ".", m_id, message.title, message.url, message.bodyContent); #endif Title = message.title; Url = message.url; Body = message.bodyContent; }
protected abstract void ProcessRemoteData(PWMessage message);