public int GetZhaoMuZhe_RewardProgress()
        {
            int num = 0;

            for (int i = 0; i < this.m_zhaoMuZhe.get_Count(); i++)
            {
                CFriendRecruit.RecruitData recruitData = this.m_zhaoMuZhe.get_Item(i);
                if (recruitData != null && recruitData.IsGetAllReward())
                {
                    num++;
                }
            }
            return(num);
        }
        public void ShowZhaomuZhe_Item(GameObject com, CFriendRecruit.RecruitData info)
        {
            GameObject bar              = Utility.FindChild(com, "BarBg");
            GameObject bar2             = Utility.FindChild(com, "BarBg2");
            Image      componetInChild  = Utility.GetComponetInChild <Image>(com, "BarBg/Fore");
            Image      componetInChild2 = Utility.GetComponetInChild <Image>(com, "BarBg2/Fore");

            if (this.zhaoMuZheBarWidth1 == 0f && componetInChild != null)
            {
                this.zhaoMuZheBarWidth1 = componetInChild.get_rectTransform().sizeDelta.x;
            }
            if (this.zhaoMuZheBarWidth2 == 0f && componetInChild2 != null)
            {
                this.zhaoMuZheBarWidth2 = componetInChild2.get_rectTransform().sizeDelta.x;
            }
            if (info.userInfo != null)
            {
                com.transform.FindChild("user/hasData").gameObject.CustomSetActive(true);
                com.transform.FindChild("user/null").gameObject.CustomSetActive(false);
                com.transform.FindChild("user/hasData/Level").gameObject.CustomSetActive(true);
                CUIHttpImageScript component = com.transform.FindChild("user/hasData/pnlSnsHead/HttpImage").GetComponent <CUIHttpImageScript>();
                UT.SetHttpImage(component, info.userInfo.szHeadUrl);
                Text component2 = com.transform.FindChild("user/hasData/Level").GetComponent <Text>();
                component2.set_text(string.Format("Lv.{0}", info.userInfo.dwPvpLvl));
                GameObject gameObject = com.transform.FindChild("user/hasData/pnlSnsHead/HttpImage/NobeIcon").gameObject;
                if (gameObject)
                {
                    MonoSingleton <NobeSys> .GetInstance().SetNobeIcon(gameObject.GetComponent <Image>(), (int)info.userInfo.stGameVip.dwCurLevel, false, true, 0uL);
                }
                Text   component3 = com.transform.FindChild("user/hasData/NameGroup/Name").GetComponent <Text>();
                string text       = UT.Bytes2String(info.userInfo.szUserName);
                if (component3 != null)
                {
                    component3.set_text(text);
                }
                GameObject gameObject2 = com.transform.FindChild("user/hasData/NameGroup/Gender").gameObject;
                FriendShower.ShowGender(gameObject2, (COM_SNSGENDER)info.userInfo.bGender);
            }
            else
            {
                com.transform.FindChild("user/hasData").gameObject.CustomSetActive(false);
                com.transform.FindChild("user/null").gameObject.CustomSetActive(true);
            }
            float         num  = 1000f;
            float         num2 = -1f;
            CUIFormScript form = Singleton <CUIManager> .GetInstance().GetForm(CFriendContoller.FriendFormPath);

            int num3 = Math.Min(this.zhaomuzheRewardCount, info.RewardList.Count);

            for (int i = 0; i < num3; i++)
            {
                Transform transform = com.transform.FindChild(string.Format("reward_{0}", i));
                DebugHelper.Assert(transform != null, "rewardNodeTS not null...");
                if (!(transform == null))
                {
                    CFriendRecruit.RecruitReward recruitReward = info.RewardList[i];
                    ResRecruitmentReward         cfgReward     = Singleton <CFriendContoller> .instance.model.friendRecruit.GetCfgReward(recruitReward.rewardID);

                    if (cfgReward.dwLevel < num)
                    {
                        num = cfgReward.dwLevel;
                    }
                    if (cfgReward.dwLevel > num2)
                    {
                        num2 = cfgReward.dwLevel;
                    }
                    this.Show_Award(transform.gameObject, info.ullUid, info.dwLogicWorldId, COM_RECRUITMENT_TYPE.COM_RECRUITMENT_ACTIVE, recruitReward.rewardID, cfgReward, recruitReward.state, form, true);
                }
            }
            GameObject gameObject3 = Utility.FindChild(com, "cup");

            this.ShowCup(gameObject3, info.IsGetAllReward(), 0);
            if (info.userInfo != null)
            {
                this.SetCombineBar(bar, bar2, this.zhaoMuZheBarWidth1, this.zhaoMuZheBarWidth2, info.userInfo.dwPvpLvl, num, num2);
            }
            else
            {
                this.SetBarSize(componetInChild, 0f, 0f);
                this.SetBarSize(componetInChild2, 0f, 0f);
            }
        }