void FriendBlockOutDelete( byte[] _packet) { body_SC_BLOCKOUT_DELETE blockOutDelete = new body_SC_BLOCKOUT_DELETE(); blockOutDelete.PacketBytesToClass( _packet); #if _SOCIAL_LOG_ Debug.Log( "FriendBlockOutDelete nUserUniqKey : " + blockOutDelete.nUserUniqKey.ToString()); #endif switch( blockOutDelete.eResult) { case eRESULTCODE.eRESULT_SUCC: // string userName = AsUtil.GetRealString( System.Text.UTF8Encoding.UTF8.GetString( blockOutDelete.szUserId)); AsSocialManager.Instance.SocialData.ReceiveBlockOutDelete( blockOutDelete); AsSocialManager.Instance.SocialUI.SetBlockOutList(); break; case eRESULTCODE.eRESULT_FAIL_BLOCKOUT_DELETE: AsChatManager.Instance.InsertChat( AsTableManager.Instance.GetTbl_String(298), eCHATTYPE.eCHATTYPE_SYSTEM); break; case eRESULTCODE.eRESULT_FAIL_BLOCKOUT_DELETE_NOTHING_USER: AsChatManager.Instance.InsertChat( AsTableManager.Instance.GetTbl_String(299), eCHATTYPE.eCHATTYPE_SYSTEM); break; } }
public void ReceiveBlockOutDelete( body_SC_BLOCKOUT_DELETE blockOutDelete) { m_BlockOutList.Remove( blockOutDelete.nUserUniqKey); }