Пример #1
0
 private void _OnLeave(CHAT_ERROR_TYPE errorType, string userId)
 {
     if (this.onLeave != null)
     {
         this.onLeave(errorType, userId);
     }
 }
Пример #2
0
 private void _OnJoin(CHAT_ERROR_TYPE errorType, string userId)
 {
     if (this.onJoin != null)
     {
         this.onJoin(errorType, userId);
     }
 }
Пример #3
0
 private void _OnJoinClan(CHAT_ERROR_TYPE errorType, bool isOwner, string userId)
 {
     if (this.onJoinClan != null)
     {
         this.onJoinClan(errorType, isOwner, userId);
     }
 }
Пример #4
0
 private void _OnJoin(CHAT_ERROR_TYPE errorType)
 {
     if (this.onJoin != null)
     {
         this.onJoin(errorType);
     }
 }
Пример #5
0
    private void OnLeaveClanChat(CHAT_ERROR_TYPE errorType, string userId)
    {
        int item = int.Parse(userId);

        if (status.Contains(item))
        {
            status.Remove(item);
            RefreshUI();
        }
    }
Пример #6
0
    private void OnJoinClanChat(CHAT_ERROR_TYPE errorType, string userId)
    {
        int item = int.Parse(userId);

        if (!status.Contains(item))
        {
            status.Add(item);
            RefreshUI();
        }
    }
Пример #7
0
 private void _OnLeave(CHAT_ERROR_TYPE errorType, string userId)
 {
 }
 protected void SetErrorType(string errorCode)
 {
     int num = (int)(m_ErrorType = (CHAT_ERROR_TYPE)int.Parse(errorCode));
 }