public void SetLayerInfo(NewGuildWarDetailInfoDlg.eSTATE eState)
    {
        this.m_eState  = eState;
        this.m_strText = string.Format("UI/Mine/bg_mine_attack_detailInfo02", new object[0]);
        switch (this.m_eState)
        {
        case NewGuildWarDetailInfoDlg.eSTATE.eSTATE_RAID_LEADER:
            base.ShowLayer(2, 6);
            break;

        case NewGuildWarDetailInfoDlg.eSTATE.eSTATE_RAID_MEMBER:
        {
            base.ShowLayer(2, 5);
            byte iMilitaryUnique = this.m_iRaidUnique + 60;
            if (NrTSingleton <NkCharManager> .Instance.m_kMyCharInfo.IsGuildWarApply(iMilitaryUnique))
            {
                this.m_btMemberStart.Visible = false;
            }
            else
            {
                this.m_btMemberCancel.Visible = false;
            }
            break;
        }

        case NewGuildWarDetailInfoDlg.eSTATE.eSTATE_ENEMY_INFO:
            base.ShowLayer(1, 9);
            this.m_strText = string.Format("UI/Mine/bg_mine_detailInfo02", new object[0]);
            break;
        }
        this.m_dtMainBG.SetTextureFromBundle(this.m_strText);
    }
    public void SetDetailInfo(NewGuildWarDetailInfoDlg.eSTATE eState)
    {
        this.InitControl();
        if (this.m_i64GuildID == NrTSingleton <NewGuildManager> .Instance.GetGuildID())
        {
            this.m_lbGuildName.SetText(NrTSingleton <NewGuildManager> .Instance.GetGuildName());
        }
        else
        {
            this.m_lbGuildName.SetText(NrTSingleton <GuildWarManager> .Instance.GuildWarGuildName);
        }
        if (0L < this.m_i64GuildID)
        {
            string guildPortraitURL = NrTSingleton <NkCharManager> .Instance.GetGuildPortraitURL(this.m_i64GuildID);

            WebFileCache.RequestImageWebFile(guildPortraitURL, new WebFileCache.ReqTextureCallback(this.ReqWebImageCallback), null);
        }
        int           num           = 0;
        ApplyUserInfo applyUserInfo = this.GetApplyUserInfo(NrTSingleton <NkCharManager> .Instance.m_kMyCharInfo.m_PersonID);

        if (applyUserInfo == null)
        {
            applyUserInfo = this.GetApplyUserInfoLeader();
        }
        if (applyUserInfo != null)
        {
            num = (int)applyUserInfo.GetRaidBattlePos();
        }
        this.m_iCurSelectIndex = num;
        this.m_iOldSelectIndex = num;
        this.LoadEffect();
        this.SetDetailInfoSub(num);
        if (this.m_i64GuildID == NrTSingleton <NewGuildManager> .Instance.GetGuildID())
        {
            NrTSingleton <CTextParser> .Instance.ReplaceParam(ref this.m_strText, new object[]
            {
                NrTSingleton <NrTextMgr> .Instance.GetTextFromInterface("2595"),
                "targetname",
                NrTSingleton <NewGuildManager> .Instance.GetGuildName(),
                "count",
                (int)(this.m_iRaidUnique + 1)
            });
        }
        else
        {
            NrTSingleton <CTextParser> .Instance.ReplaceParam(ref this.m_strText, new object[]
            {
                NrTSingleton <NrTextMgr> .Instance.GetTextFromInterface("2595"),
                "targetname",
                NrTSingleton <GuildWarManager> .Instance.GuildWarGuildName,
                "count",
                (int)(this.m_iRaidUnique + 1)
            });
        }
        this.m_lbGuildWarInfo.SetText(this.m_strText);
    }