示例#1
0
 protected virtual void DownloadEmoticonData()
 {
     if (m_UseEmoticons &&
         !m_EmoticonDataDownloaded &&
         m_ChatInitialized)
     {
         ErrorCode ret = m_Chat.DownloadEmoticonData();
         if (Error.Failed(ret))
         {
             string err = Error.GetString(ret);
             ReportError(string.Format("Error trying to download emoticon data: {0}", err));
         }
     }
 }
示例#2
0
        internal virtual void DownloadEmoticonData()
        {
            // don't download emoticons
            if (m_ActiveEmoticonMode == EmoticonMode.None)
            {
                return;
            }

            if (m_EmoticonData == null)
            {
                ErrorCode ret = m_Chat.DownloadEmoticonData();
                if (Error.Failed(ret))
                {
                    string err = Error.GetString(ret);
                    ReportError(string.Format("Error trying to download emoticon data: {0}", err));
                }
            }
        }