public void On_IntimacyRelation_Item_Enable(CUIEvent uievent)
        {
            if (uievent == null)
            {
                return;
            }
            int          srcWidgetIndexInBelongedList = uievent.m_srcWidgetIndexInBelongedList;
            CFriendModel model = Singleton <CFriendContoller> .GetInstance().model;

            ListView <CFR> list = model.FRData.GetList();

            if (list == null)
            {
                return;
            }
            CFR cFR = null;

            if (srcWidgetIndexInBelongedList >= 0 && srcWidgetIndexInBelongedList < list.Count)
            {
                cFR = list[srcWidgetIndexInBelongedList];
            }
            if (cFR != null && uievent.m_srcWidget != null)
            {
                CUIComponent component = uievent.m_srcWidget.GetComponent <CUIComponent>();
                if (component != null)
                {
                    this.ShowIntimacyRelation_Item(component, cFR, this.form);
                }
            }
        }
 public static void Set_2_Button(CUIComponent com, bool bLeftShow, bool bRightShow, string left = "", string right = "")
 {
     com.m_widgets[16].CustomSetActive(bLeftShow);
     com.m_widgets[14].CustomSetActive(bRightShow);
     com.m_widgets[17].GetComponent <Text>().text = left;
     com.m_widgets[15].GetComponent <Text>().text = right;
 }
        public void On_Drop_ListElement_Enable(CUIEvent uievent)
        {
            int            srcWidgetIndexInBelongedList = uievent.m_srcWidgetIndexInBelongedList;
            CUIEventScript component         = uievent.m_srcWidgetScript.GetComponent <CUIEventScript>();
            CUIComponent   component2        = component.m_widgets[0].GetComponent <CUIComponent>();
            CUIEventScript component3        = component2.m_widgets[7].GetComponent <CUIEventScript>();
            ulong          commonUInt64Param = component3.m_onClickEventParams.commonUInt64Param1;
            uint           tagUInt           = component3.m_onClickEventParams.tagUInt;

            if (Singleton <CFriendContoller> .instance.model.FRData.GetCfr(commonUInt64Param, tagUInt) == null)
            {
                return;
            }
            Text component4 = uievent.m_srcWidget.transform.Find("Text").GetComponent <Text>();

            if (component4 != null)
            {
                CFriendRelationship.FRConfig cFGByIndex = Singleton <CFriendContoller> .instance.model.FRData.GetCFGByIndex(srcWidgetIndexInBelongedList);

                if (cFGByIndex != null)
                {
                    component4.set_text(cFGByIndex.cfgRelaStr);
                }
            }
        }
 public void ShowIntimacyRelation_Item(CUIComponent com, CFR frData)
 {
     if (com == null || frData == null)
     {
         return;
     }
     IntimacyRelationViewUT.Show_Item(com, frData);
 }
 public void ShowIntimacyRelation_Item(CUIComponent com, CFR frData, CUIFormScript uiFrom)
 {
     if (com == null || frData == null)
     {
         return;
     }
     IntimacyRelationViewUT.Show_Item(com, frData, uiFrom);
 }
		public static void Set_Bottom_Text(CUIComponent com, bool bShow, string txt = "", bool bShowIcon = false)
		{
			GameObject p = com.m_widgets[18];
			GameObject gameObject = Utility.FindChild(p, "text");
			gameObject.CustomSetActive(bShow);
			gameObject.GetComponent<Text>().set_text(txt);
			GameObject obj = Utility.FindChild(p, "Icon");
			obj.CustomSetActive(bShowIcon);
		}
        public static void Show_Item(CUIComponent com, CFR frData)
        {
            CRoleInfo masterRoleInfo = Singleton <CRoleInfoManager> .get_instance().GetMasterRoleInfo();

            if (masterRoleInfo != null && masterRoleInfo.playerUllUID == frData.ulluid && (long)masterRoleInfo.logicWorldID == (long)((ulong)frData.worldID))
            {
                return;
            }
            IntimacyRelationViewUT.Show_Item_Top(com, frData);
            IntimacyRelationViewUT.Show_Item_Middle(com, frData);
            IntimacyRelationViewUT.Show_Item_Bottom(com, frData);
            frData.bRedDot = false;
        }
		public static void Show_Item(CUIComponent com, CFR frData, CUIFormScript uiFrom)
		{
			CRoleInfo masterRoleInfo = Singleton<CRoleInfoManager>.instance.GetMasterRoleInfo();
			if (masterRoleInfo != null && masterRoleInfo.playerUllUID == frData.ulluid && (long)masterRoleInfo.logicWorldID == (long)((ulong)frData.worldID))
			{
				return;
			}
			IntimacyRelationViewUT.Show_Item_Top(com, frData, uiFrom);
			IntimacyRelationViewUT.Show_Item_Middle(com, frData, uiFrom);
			IntimacyRelationViewUT.Show_Item_Bottom(com, frData);
			frData.bRedDot = false;
			GameObject obj = Utility.FindChild(com.m_widgets[1], "NobeImag");
			obj.CustomSetActive(!frData.bInShowChoiseRelaList);
		}
		public static void Set_Drop_Text(CUIComponent com, bool bShow, CFR frData)
		{
			com.m_widgets[9].CustomSetActive(bShow);
			string text = string.Empty;
			CFriendRelationship.FRConfig cFGByIndex = Singleton<CFriendContoller>.instance.model.FRData.GetCFGByIndex(frData.choiseRelation);
			if (cFGByIndex != null)
			{
				text = cFGByIndex.cfgRelaStr;
			}
			else
			{
				text = UT.FRData().IntimRela_Tips_SelectRelation;
			}
			com.m_widgets[9].GetComponent<Text>().set_text(text);
		}
        private void On_IntimacyRela_Drop_ListElement_Click(CUIEvent uievent)
        {
            CUIComponent   component         = uievent.m_srcWidgetScript.m_widgets[0].GetComponent <CUIComponent>();
            CUIEventScript component2        = component.m_widgets[7].GetComponent <CUIEventScript>();
            ulong          commonUInt64Param = component2.m_onClickEventParams.commonUInt64Param1;
            uint           tagUInt           = component2.m_onClickEventParams.tagUInt;
            CFR            cfr = Singleton <CFriendContoller> .instance.model.FRData.GetCfr(commonUInt64Param, tagUInt);

            if (cfr == null)
            {
                return;
            }
            cfr.bInShowChoiseRelaList = false;
            cfr.choiseRelation        = uievent.m_srcWidgetIndexInBelongedList;
            IntimacyRelationViewUT.Show_Item(component, cfr, this.form);
        }
        private void On_IntimacyRela_Show_Drop_List(CUIEvent uievent)
        {
            ulong commonUInt64Param = uievent.m_eventParams.commonUInt64Param1;
            uint  tagUInt           = uievent.m_eventParams.tagUInt;
            CFR   cfr = Singleton <CFriendContoller> .instance.model.FRData.GetCfr(commonUInt64Param, tagUInt);

            if (cfr != null)
            {
                cfr.bInShowChoiseRelaList = !cfr.bInShowChoiseRelaList;
                CUIComponent  component  = uievent.m_srcWidgetScript.m_widgets[0].GetComponent <CUIComponent>();
                CUIListScript component2 = uievent.m_srcWidgetScript.m_widgets[1].GetComponent <CUIListScript>();
                if (component2 != null)
                {
                    component2.SetElementAmount(4);
                }
                IntimacyRelationViewUT.Show_Item(component, cfr, this.form);
            }
        }
		public static void Show_Item_Top(CUIComponent com, CFR frData, CUIFormScript uiFrom)
		{
			Image componetInChild = Utility.GetComponetInChild<Image>(com.gameObject, "Image");
			IntimacyRelationViewUT.SetRelationBGImg(componetInChild, frData.state);
			IntimacyRelationViewUT.SetButtonParam(com.m_widgets[19], frData);
			if (IntimacyRelationViewUT.IsRelaState(frData.state))
			{
				com.m_widgets[19].CustomSetActive(true);
			}
			else
			{
				com.m_widgets[19].CustomSetActive(false);
			}
			COMDT_FRIEND_INFO friendInfo = frData.friendInfo;
			if (friendInfo == null)
			{
				return;
			}
			CUIHttpImageScript component = com.m_widgets[1].GetComponent<CUIHttpImageScript>();
			UT.SetHttpImage(component, friendInfo.szHeadUrl);
			Image componetInChild2 = Utility.GetComponetInChild<Image>(component.gameObject, "NobeImag");
			if (componetInChild2 && uiFrom != null)
			{
				MonoSingleton<NobeSys>.GetInstance().SetHeadIconBk(componetInChild2, (int)friendInfo.stGameVip.dwHeadIconId);
				MonoSingleton<NobeSys>.GetInstance().SetHeadIconBkEffect(componetInChild2, (int)friendInfo.stGameVip.dwHeadIconId, uiFrom, 1f, true);
			}
			GameObject gameObject = com.m_widgets[2];
			if (gameObject)
			{
				MonoSingleton<NobeSys>.GetInstance().SetNobeIcon(gameObject.GetComponent<Image>(), (int)friendInfo.stGameVip.dwCurLevel, false, false, friendInfo.ullUserPrivacyBits);
			}
			Text component2 = com.m_widgets[3].GetComponent<Text>();
			string text = UT.Bytes2String(friendInfo.szUserName);
			if (component2 != null)
			{
				component2.set_text(text);
			}
			GameObject genderImage = com.m_widgets[4];
			FriendShower.ShowGender(genderImage, (COM_SNSGENDER)friendInfo.bGender);
		}
        public static void Show_Item_Top(CUIComponent com, CFR frData)
        {
            IntimacyRelationViewUT.SetButtonParam(com.m_widgets[19], frData);
            if (frData.state == 1 || frData.state == 2)
            {
                com.m_widgets[19].CustomSetActive(true);
            }
            else
            {
                com.m_widgets[19].CustomSetActive(false);
            }
            COMDT_FRIEND_INFO friendInfo = frData.friendInfo;

            if (friendInfo == null)
            {
                return;
            }
            CUIHttpImageScript component = com.m_widgets[1].GetComponent <CUIHttpImageScript>();

            UT.SetHttpImage(component, friendInfo.szHeadUrl);
            GameObject gameObject = com.m_widgets[2];

            if (gameObject)
            {
                MonoSingleton <NobeSys> .GetInstance().SetNobeIcon(gameObject.GetComponent <Image>(), (int)friendInfo.stGameVip.dwCurLevel, false);
            }
            Text   component2 = com.m_widgets[3].GetComponent <Text>();
            string text       = UT.Bytes2String(friendInfo.szUserName);

            if (component2 != null)
            {
                component2.text = text;
            }
            GameObject genderImage = com.m_widgets[4];

            FriendShower.ShowGender(genderImage, friendInfo.bGender);
        }
        public static void Show_Item_Middle(CUIComponent com, CFR frData)
        {
            IntimacyRelationViewUT.SetButtonParam(com.m_widgets[16], frData);
            IntimacyRelationViewUT.SetButtonParam(com.m_widgets[14], frData);
            IntimacyRelationViewUT.SetButtonParam(com.m_widgets[12], frData);
            IntimacyRelationViewUT.SetButtonParam(com.m_widgets[7], frData);
            int cDDays = frData.CDDays;

            if (cDDays != -1)
            {
                com.m_widgets[5].CustomSetActive(true);
                com.m_widgets[6].CustomSetActive(false);
                IntimacyRelationViewUT.Set_Middle_Text(com, true, string.Format(UT.FRData().IntimRela_CD_CountDown, cDDays));
                return;
            }
            if (frData.state == 24 && cDDays == -1)
            {
                com.m_widgets[5].CustomSetActive(true);
                com.m_widgets[6].CustomSetActive(true);
                com.m_widgets[10].CustomSetActive(false);
                IntimacyRelationViewUT.Set_Drop_Text(com, !frData.bInShowChoiseRelaList, frData);
                IntimacyRelationViewUT.Set_Drop_List(com, frData.bInShowChoiseRelaList);
                IntimacyRelationViewUT.Set_Middle_Text(com, false, string.Empty);
            }
            if (frData.state == 1 || frData.state == 2)
            {
                com.m_widgets[5].CustomSetActive(true);
                com.m_widgets[6].CustomSetActive(false);
                IntimacyRelationViewUT.Set_Middle_Text(com, true, IntimacyRelationViewUT.GetMiddleTextStr(frData.state));
            }
            if (frData.state == 20 || frData.state == 22)
            {
                if (frData.bReciveOthersRequest)
                {
                    com.m_widgets[5].CustomSetActive(true);
                    com.m_widgets[6].CustomSetActive(false);
                    string text = string.Empty;
                    if (frData.state == 20)
                    {
                        text = UT.FRData().IntimRela_Type_Gay;
                    }
                    if (frData.state == 22)
                    {
                        text = UT.FRData().IntimRela_Type_Lover;
                    }
                    string txt = string.Format(UT.FRData().IntimRela_Tips_ReceiveOtherReqRela, UT.Bytes2String(frData.friendInfo.szUserName), text);
                    IntimacyRelationViewUT.Set_Middle_Text(com, true, txt);
                }
                else
                {
                    com.m_widgets[5].CustomSetActive(true);
                    com.m_widgets[6].CustomSetActive(false);
                    IntimacyRelationViewUT.Set_Middle_Text(com, true, UT.FRData().IntimRela_Tips_Wait4TargetRspReqRela);
                }
            }
            if (frData.state == 21 || frData.state == 23)
            {
                if (frData.bReciveOthersRequest)
                {
                    com.m_widgets[5].CustomSetActive(true);
                    com.m_widgets[6].CustomSetActive(false);
                    string text2 = string.Empty;
                    if (frData.state == 21)
                    {
                        text2 = UT.FRData().IntimRela_Type_Gay;
                    }
                    if (frData.state == 23)
                    {
                        text2 = UT.FRData().IntimRela_Type_Lover;
                    }
                    IntimacyRelationViewUT.Set_Middle_Text(com, true, string.Format(UT.FRData().IntimRela_Tips_ReceiveOtherDelRela, UT.Bytes2String(frData.friendInfo.szUserName), text2));
                }
                else
                {
                    com.m_widgets[5].CustomSetActive(true);
                    com.m_widgets[6].CustomSetActive(false);
                    IntimacyRelationViewUT.Set_Middle_Text(com, true, UT.FRData().IntimRela_Tips_Wait4TargetRspDelRela);
                }
            }
        }
 public static void Set_Bottom_Text(CUIComponent com, bool bShow, string txt = "")
 {
     com.m_widgets[18].CustomSetActive(bShow);
     com.m_widgets[18].GetComponent <Text>().text = txt;
 }
 public static void Set_DoSelect_Button(CUIComponent com, bool bShow, string txt = "")
 {
     com.m_widgets[22].CustomSetActive(bShow);
     com.m_widgets[23].GetComponent <Text>().text = txt;
 }
        public static void Show_Item_Bottom(CUIComponent com, CFR frData)
        {
            IntimacyRelationViewUT.SetButtonParam(com.m_widgets[12], frData);
            IntimacyRelationViewUT.SetButtonParam(com.m_widgets[14], frData);
            IntimacyRelationViewUT.SetButtonParam(com.m_widgets[16], frData);
            IntimacyRelationViewUT.SetButtonParam(com.m_widgets[20], frData);
            IntimacyRelationViewUT.SetButtonParam(com.m_widgets[22], frData);
            int cDDays = frData.CDDays;

            if (cDDays != -1)
            {
                com.m_widgets[11].CustomSetActive(true);
                IntimacyRelationViewUT.Set_2_Button(com, false, false, string.Empty, string.Empty);
                IntimacyRelationViewUT.Set_1_Button(com, false, string.Empty);
                IntimacyRelationViewUT.Set_ReSelect_Button(com, false, string.Empty);
                IntimacyRelationViewUT.Set_DoSelect_Button(com, false, string.Empty);
                IntimacyRelationViewUT.Set_Bottom_Text(com, true, UT.FRData().IntimRela_Tips_RelaHasDel);
                return;
            }
            if (frData.state == 24 && cDDays == -1)
            {
                com.m_widgets[11].CustomSetActive(true);
                string intimRela_Tips_OK     = UT.FRData().IntimRela_Tips_OK;
                string intimRela_Tips_Cancle = UT.FRData().IntimRela_Tips_Cancle;
                IntimacyRelationViewUT.Set_DoSelect_Button(com, frData.choiseRelation != -1, intimRela_Tips_OK);
                IntimacyRelationViewUT.Set_2_Button(com, false, false, intimRela_Tips_Cancle, intimRela_Tips_OK);
                IntimacyRelationViewUT.Set_1_Button(com, false, string.Empty);
                IntimacyRelationViewUT.Set_ReSelect_Button(com, false, string.Empty);
                IntimacyRelationViewUT.Set_Bottom_Text(com, false, string.Empty);
            }
            if (frData.state == 1 || frData.state == 2)
            {
                com.m_widgets[11].CustomSetActive(true);
                IntimacyRelationViewUT.Set_2_Button(com, false, false, string.Empty, string.Empty);
                IntimacyRelationViewUT.Set_1_Button(com, false, string.Empty);
                IntimacyRelationViewUT.Set_ReSelect_Button(com, false, string.Empty);
                IntimacyRelationViewUT.Set_DoSelect_Button(com, false, string.Empty);
                COM_INTIMACY_STATE firstChoiseState = Singleton <CFriendContoller> .get_instance().model.FRData.GetFirstChoiseState();

                if (firstChoiseState == frData.state)
                {
                    IntimacyRelationViewUT.Set_Bottom_Text(com, true, UT.FRData().IntimRela_AleadyFristChoise);
                }
                else
                {
                    IntimacyRelationViewUT.Set_Bottom_Text(com, false, string.Empty);
                    IntimacyRelationViewUT.Set_1_Button(com, true, UT.FRData().IntimRela_DoFristChoise);
                }
            }
            if (frData.state == 20 || frData.state == 22)
            {
                if (frData.bReciveOthersRequest)
                {
                    com.m_widgets[11].CustomSetActive(true);
                    IntimacyRelationViewUT.Set_2_Button(com, true, true, UT.FRData().IntimRela_Tips_Cancle, UT.FRData().IntimRela_Tips_OK);
                    IntimacyRelationViewUT.Set_1_Button(com, false, string.Empty);
                    IntimacyRelationViewUT.Set_Bottom_Text(com, false, string.Empty);
                    IntimacyRelationViewUT.Set_ReSelect_Button(com, false, string.Empty);
                    IntimacyRelationViewUT.Set_DoSelect_Button(com, false, string.Empty);
                }
                else
                {
                    com.m_widgets[11].CustomSetActive(true);
                    IntimacyRelationViewUT.Set_2_Button(com, false, false, string.Empty, string.Empty);
                    IntimacyRelationViewUT.Set_1_Button(com, false, string.Empty);
                    IntimacyRelationViewUT.Set_Bottom_Text(com, false, UT.FRData().IntimRela_Tips_Wait4TargetRspReqRela);
                    IntimacyRelationViewUT.Set_ReSelect_Button(com, true, UT.FRData().IntimRela_ReselectRelation);
                    IntimacyRelationViewUT.Set_DoSelect_Button(com, false, string.Empty);
                }
            }
            if (frData.state == 21 || frData.state == 23)
            {
                if (frData.bReciveOthersRequest)
                {
                    com.m_widgets[11].CustomSetActive(true);
                    IntimacyRelationViewUT.Set_2_Button(com, true, true, UT.FRData().IntimRela_Tips_Cancle, UT.FRData().IntimRela_Tips_OK);
                    IntimacyRelationViewUT.Set_1_Button(com, false, string.Empty);
                    IntimacyRelationViewUT.Set_Bottom_Text(com, false, string.Empty);
                    IntimacyRelationViewUT.Set_ReSelect_Button(com, false, string.Empty);
                    IntimacyRelationViewUT.Set_DoSelect_Button(com, false, string.Empty);
                }
                else
                {
                    com.m_widgets[11].CustomSetActive(true);
                    IntimacyRelationViewUT.Set_2_Button(com, false, false, string.Empty, string.Empty);
                    IntimacyRelationViewUT.Set_1_Button(com, false, string.Empty);
                    IntimacyRelationViewUT.Set_Bottom_Text(com, false, UT.FRData().IntimRela_Tips_Wait4TargetRspDelRela);
                    IntimacyRelationViewUT.Set_ReSelect_Button(com, true, UT.FRData().IntimRela_ReDelRelation);
                    IntimacyRelationViewUT.Set_DoSelect_Button(com, false, string.Empty);
                }
            }
        }
 public static void Set_Drop_List(CUIComponent com, bool bShow)
 {
     com.m_widgets[8].CustomSetActive(bShow);
 }
		public static void Show_Item_Middle(CUIComponent com, CFR frData, CUIFormScript uiFrom)
		{
			IntimacyRelationViewUT.SetButtonParam(com.m_widgets[16], frData);
			IntimacyRelationViewUT.SetButtonParam(com.m_widgets[14], frData);
			IntimacyRelationViewUT.SetButtonParam(com.m_widgets[12], frData);
			IntimacyRelationViewUT.SetButtonParam(com.m_widgets[7], frData);
			int cDDays = frData.CDDays;
			GameObject obj = Utility.FindChild(com.gameObject, "mengban");
			obj.CustomSetActive(cDDays != -1);
			if (cDDays != -1)
			{
				com.m_widgets[5].CustomSetActive(true);
				com.m_widgets[6].CustomSetActive(false);
				IntimacyRelationViewUT.Set_Middle_Text(com, true, string.Format(UT.FRData().IntimRela_CD_CountDown, cDDays), false);
				return;
			}
			if (frData.state == COM_INTIMACY_STATE.COM_INTIMACY_STATE_VALUE_FULL && cDDays == -1)
			{
				com.m_widgets[5].CustomSetActive(true);
				com.m_widgets[6].CustomSetActive(true);
				com.m_widgets[10].CustomSetActive(false);
				IntimacyRelationViewUT.Set_Drop_Text(com, !frData.bInShowChoiseRelaList, frData);
				IntimacyRelationViewUT.Set_Drop_List(com, frData.bInShowChoiseRelaList);
				IntimacyRelationViewUT.Set_Middle_Text(com, false, string.Empty, false);
			}
			if (IntimacyRelationViewUT.IsRelaState(frData.state))
			{
				com.m_widgets[5].CustomSetActive(true);
				com.m_widgets[6].CustomSetActive(false);
				IntimacyRelationViewUT.Set_Middle_Text(com, true, IntimacyRelationViewUT.GetMiddleTextStr(frData.state), true);
				ushort num;
				CFriendModel.EIntimacyType eIntimacyType;
				bool flag;
				Singleton<CFriendContoller>.instance.model.GetFriendIntimacy(frData.ulluid, frData.worldID, out num, out eIntimacyType, out flag);
				if (num > 0)
				{
					int relaLevel = IntimacyRelationViewUT.CalcRelaLevel((int)num);
					string relaIconByRelaLevel = IntimacyRelationViewUT.GetRelaIconByRelaLevel(relaLevel, frData.state);
					if (!string.IsNullOrEmpty(relaIconByRelaLevel))
					{
						GameObject p = com.m_widgets[10];
						GameObject gameObject = Utility.FindChild(p, "Icon");
						if (gameObject != null)
						{
							Image component = gameObject.GetComponent<Image>();
							if (component != null)
							{
								component.gameObject.CustomSetActive(true);
								component.SetSprite(relaIconByRelaLevel, uiFrom, true, false, false, false);
								component.SetNativeSize();
							}
						}
					}
				}
			}
			if (IntimacyRelationViewUT.IsRelaStateConfirm(frData.state))
			{
				if (frData.bReciveOthersRequest)
				{
					com.m_widgets[5].CustomSetActive(true);
					com.m_widgets[6].CustomSetActive(false);
					COM_INTIMACY_STATE stateByConfirmState = IntimacyRelationViewUT.GetStateByConfirmState(frData.state);
					string relationText = IntimacyRelationViewUT.GetRelationText(stateByConfirmState);
					string txt = string.Format(UT.FRData().IntimRela_Tips_ReceiveOtherReqRela, UT.Bytes2String(frData.friendInfo.szUserName), relationText);
					IntimacyRelationViewUT.Set_Middle_Text(com, true, txt, false);
				}
				else
				{
					com.m_widgets[5].CustomSetActive(true);
					com.m_widgets[6].CustomSetActive(false);
					IntimacyRelationViewUT.Set_Middle_Text(com, true, UT.FRData().IntimRela_Tips_Wait4TargetRspReqRela, false);
				}
			}
			if (IntimacyRelationViewUT.IsRelaStateDeny(frData.state))
			{
				if (frData.bReciveOthersRequest)
				{
					com.m_widgets[5].CustomSetActive(true);
					com.m_widgets[6].CustomSetActive(false);
					COM_INTIMACY_STATE stateByDenyState = IntimacyRelationViewUT.GetStateByDenyState(frData.state);
					string relationText2 = IntimacyRelationViewUT.GetRelationText(stateByDenyState);
					string txt2 = string.Format(UT.FRData().IntimRela_Tips_ReceiveOtherDelRela, UT.Bytes2String(frData.friendInfo.szUserName), relationText2);
					IntimacyRelationViewUT.Set_Middle_Text(com, true, txt2, false);
				}
				else
				{
					com.m_widgets[5].CustomSetActive(true);
					com.m_widgets[6].CustomSetActive(false);
					IntimacyRelationViewUT.Set_Middle_Text(com, true, UT.FRData().IntimRela_Tips_Wait4TargetRspDelRela, false);
				}
			}
		}
		public static void Set_ReSelect_Button(CUIComponent com, bool bShow, string txt = "")
		{
			com.m_widgets[20].CustomSetActive(bShow);
			com.m_widgets[21].GetComponent<Text>().set_text(txt);
		}