private void OnClickLink(DetailInfo detailInfo)
    {
        if (detailInfo == null)
        {
            return;
        }
        if (detailInfo.type == DetailType.DT.Equipment)
        {
            ItemTipUIViewModel.ShowItem(this.m_detailInfo.cfgId, null);
        }
        else if (detailInfo.type == DetailType.DT.Role)
        {
            ChatManager.OnClickRole(this.m_detailInfo.id, this.m_detailInfo.label, base.get_transform(), 0L);
        }
        else if (detailInfo.type == DetailType.DT.UI)
        {
            if (LinkNavigationManager.BroadcastLink(detailInfo.cfgId))
            {
                UIManagerControl.Instance.HideUI("ChatUI");
            }
        }
        else if (detailInfo.type == DetailType.DT.Interface)
        {
            GuangBoLianJie guangBoLianJie = DataReader <GuangBoLianJie> .Get(detailInfo.cfgId);

            if (guangBoLianJie == null)
            {
                return;
            }
            if (guangBoLianJie.@interface == 2)
            {
                this.WorldInviteInterface(detailInfo);
            }
        }
    }