private void PropertyChangedHandle(string propertyName, short STARTPOS_INDEX)
    {
        if (propertyName == "CharacterKind")
        {
            if (SoldierBatch.SOLDIER_BATCH_MODE == eSOLDIER_BATCH_MODE.MODE_INFIBATTLE || SoldierBatch.SOLDIER_BATCH_MODE == eSOLDIER_BATCH_MODE.MODE_ATTACK_INFIBATTLE_MAKEUP || SoldierBatch.SOLDIER_BATCH_MODE == eSOLDIER_BATCH_MODE.MODE_PRACTICE_INFIBATTLE)
            {
                InfiCombinationDlg infiCombinationDlg = NrTSingleton <FormsManager> .Instance.GetForm(G_ID.INFICOMBINATION_DLG) as InfiCombinationDlg;

                if (infiCombinationDlg == null)
                {
                    Debug.Log("NORMAL, SoldierBatchGridInfo_ChangedCallbackManager.cs, PropertyChangedHandle(), InfiCombinationDlg is Null ");
                    return;
                }
                infiCombinationDlg.RenewCompleteCombinationDDL(STARTPOS_INDEX);
            }
            else
            {
                PlunderSolNumDlg plunderSolNumDlg = NrTSingleton <FormsManager> .Instance.GetForm(G_ID.PLUNDERSOLNUM_DLG) as PlunderSolNumDlg;

                if (plunderSolNumDlg == null)
                {
                    Debug.Log("NORMAL, SoldierBatchGridInfo_ChangedCallbackManager.cs, PropertyChangedHandle(), PlunderSolNumDlg is Null ");
                    return;
                }
                plunderSolNumDlg.RenewCompleteCombinationDDL(STARTPOS_INDEX);
            }
        }
    }
    public override void SetComponent()
    {
        this.m_lBossName        = (base.GetControl("Label_BossName") as Label);
        this.m_dtBoss           = (base.GetControl("DrawTexture_character") as DrawTexture);
        this.m_lBossHpText      = (base.GetControl("Label_HP") as Label);
        this.m_lBossHpText.Text = "HP";
        this.m_lBossHp          = (base.GetControl("Label_BossHp") as Label);
        this.m_dtHpBar          = (base.GetControl("DrawTexture_BG2") as DrawTexture);
        this.m_lBossTip         = (base.GetControl("Label_Tip") as Label);
        this.m_bBattleStart     = (base.GetControl("button_Ready") as Button);
        Button expr_B0 = this.m_bBattleStart;

        expr_B0.Click            = (EZValueChangedDelegate)Delegate.Combine(expr_B0.Click, new EZValueChangedDelegate(this.OnClickStartGuildBoss));
        this.m_bChangeInitiative = (base.GetControl("button_Initiative") as Button);
        Button expr_ED = this.m_bChangeInitiative;

        expr_ED.Click  = (EZValueChangedDelegate)Delegate.Combine(expr_ED.Click, new EZValueChangedDelegate(this.OnClickChangeInitiativeGuildBoss));
        this.m_bCancel = (base.GetControl("button_cancel") as Button);
        Button expr_12A = this.m_bCancel;

        expr_12A.Click = (EZValueChangedDelegate)Delegate.Combine(expr_12A.Click, new EZValueChangedDelegate(this.OnClickCancelGuildBoss));
        this.DateSetting();
        PlunderSolNumDlg plunderSolNumDlg = NrTSingleton <FormsManager> .Instance.GetForm(G_ID.PLUNDERSOLNUM_DLG) as PlunderSolNumDlg;

        if (plunderSolNumDlg != null)
        {
            plunderSolNumDlg.SetTitle(NrTSingleton <NrTextMgr> .Instance.GetTextFromInterface("1965"));
        }
    }
    public override void SetComponent()
    {
        this.m_InfiBattlesolCombinationButton = new Button[3];
        this.m_ddlInfiBattleSolCombination    = new DropDownList[3];
        this.m_InfiBattlesolCombinationBG     = new DrawTexture[3];
        this.m_InfiBattlesolCombinationLabel  = new Label[3];
        this.m_InfiBattleHideDT         = (base.GetControl("DT_Combination_HideButton") as DrawTexture);
        this.m_InfiBattleHideDT.Visible = false;
        this.m_InfiBattleHideButton     = (base.GetControl("BTN_Combination_HideButton") as Button);
        this.m_InfiBattleHideButton.AddValueChangedDelegate(new EZValueChangedDelegate(this.On_ClickInfiBattleHide));
        this.m_InfiBattleHideButton.Visible           = false;
        this.m_InfiBattlesolCombinationBGBase         = (base.GetControl("DT_Combination_BG") as DrawTexture);
        this.m_InfiBattlesolCombinationBGBase.Visible = false;
        for (int i = 0; i < 3; i++)
        {
            this.m_InfiBattlesolCombinationButton[i] = (base.GetControl("BTN_Combination_" + (i + 1).ToString()) as Button);
            this.m_InfiBattlesolCombinationButton[i].AddValueChangedDelegate(new EZValueChangedDelegate(this.On_ClickInfiBattleCombination));
            this.m_InfiBattlesolCombinationButton[i].TabIndex = i;
            this.m_InfiBattlesolCombinationButton[i].Visible  = false;
            this.m_ddlInfiBattleSolCombination[i]             = (base.GetControl("DropDownList_Combination_BG" + (i + 1).ToString()) as DropDownList);
            this.m_ddlInfiBattleSolCombination[i].Clear();
            this.m_ddlInfiBattleSolCombination[i].AddValueChangedDelegate(new EZValueChangedDelegate(this.Change_InfiBattleCombinationDDL));
            this.m_ddlInfiBattleSolCombination[i].data = i;
            this.m_ddlInfiBattleSolCombination[i].SetVisible(false);
            this.m_InfiBattlesolCombinationLabel[i]         = (base.GetControl("LB_Combination" + (i + 1).ToString()) as Label);
            this.m_InfiBattlesolCombinationLabel[i].Visible = false;
            this.m_InfiBattlesolCombinationBG[i]            = (base.GetControl("DT_Combination_BG" + (i + 1).ToString()) as DrawTexture);
            this.m_InfiBattlesolCombinationBG[i].Visible    = false;
        }
        if (SoldierBatch.SOLDIER_BATCH_MODE == eSOLDIER_BATCH_MODE.MODE_INFIBATTLE || SoldierBatch.SOLDIER_BATCH_MODE == eSOLDIER_BATCH_MODE.MODE_ATTACK_INFIBATTLE_MAKEUP || SoldierBatch.SOLDIER_BATCH_MODE == eSOLDIER_BATCH_MODE.MODE_PRACTICE_INFIBATTLE)
        {
            this.m_InfiBattleHideDT.Visible               = true;
            this.m_InfiBattleHideButton.Visible           = true;
            this.m_InfiBattlesolCombinationBGBase.Visible = true;
            for (int j = 0; j < 3; j++)
            {
                this.m_InfiBattlesolCombinationButton[j].Visible = true;
                this.m_ddlInfiBattleSolCombination[j].SetVisible(true);
                this.m_InfiBattlesolCombinationLabel[j].Visible = true;
                this.m_InfiBattlesolCombinationBG[j].Visible    = true;
                this.RenewCompleteCombinationDDL((short)j);
            }
        }
        PlunderSolNumDlg plunderSolNumDlg = NrTSingleton <FormsManager> .Instance.GetForm(G_ID.PLUNDERSOLNUM_DLG) as PlunderSolNumDlg;

        if (plunderSolNumDlg != null)
        {
            float x   = plunderSolNumDlg.GetSizeX() - base.GetSizeX();
            float num = plunderSolNumDlg.GetTitleBarLocationY();
            PlunderTargetInfoDlg plunderTargetInfoDlg = NrTSingleton <FormsManager> .Instance.GetForm(G_ID.PLUNDERTARGETINFO_DLG) as PlunderTargetInfoDlg;

            if (plunderTargetInfoDlg != null && plunderTargetInfoDlg.Visible)
            {
                num += plunderTargetInfoDlg.GetSizeY();
            }
            base.SetLocation(x, num, base.GetLocation().z);
        }
    }
    public void BattleUserCheck()
    {
        if (NrTSingleton <FormsManager> .Instance.GetForm(G_ID.PLUNDERSOLNUM_DLG) != null)
        {
            PlunderSolNumDlg plunderSolNumDlg = NrTSingleton <FormsManager> .Instance.GetForm(G_ID.PLUNDERSOLNUM_DLG) as PlunderSolNumDlg;

            plunderSolNumDlg.GuildBossBattleUserName();
        }
    }
    public void RefreshSolInfo()
    {
        for (int i = 0; i < 4; i++)
        {
            this.user_info[i].Init();
        }
        this.SetLayer();
        NrCharBase @char = NrTSingleton <NkCharManager> .Instance.GetChar(1);

        string text  = string.Empty;
        string text2 = string.Empty;

        switch (SoldierBatch.MYTHRAID_INFO.m_nDifficulty)
        {
        case eMYTHRAID_DIFFICULTY.eMYTHRAID_EASY:
            text = NrTSingleton <NrTextMgr> .Instance.GetTextFromInterface("3243");

            break;

        case eMYTHRAID_DIFFICULTY.eMYTHRAID_NORMAL:
            text = NrTSingleton <NrTextMgr> .Instance.GetTextFromInterface("3244");

            break;

        case eMYTHRAID_DIFFICULTY.eMYTHRAID_HARD:
            text = NrTSingleton <NrTextMgr> .Instance.GetTextFromInterface("3245");

            break;
        }
        text2 = text;
        PlunderSolNumDlg plunderSolNumDlg = NrTSingleton <FormsManager> .Instance.GetForm(G_ID.PLUNDERSOLNUM_DLG) as PlunderSolNumDlg;

        if (plunderSolNumDlg != null)
        {
            plunderSolNumDlg.SetTitle(text2);
        }
        MYTHRAID_PERSON mythRaidLeaderInfo = SoldierBatch.MYTHRAID_INFO.GetMythRaidLeaderInfo();

        if (mythRaidLeaderInfo != null)
        {
            this.user_info[0].Show(true);
            this.user_info[0].PersonID = mythRaidLeaderInfo.nPartyPersonID;
            text = NrTSingleton <NrTextMgr> .Instance.GetTextFromInterface("3254");

            NrTSingleton <CTextParser> .Instance.ReplaceParam(ref text2, new object[]
            {
                text,
                "targetname",
                mythRaidLeaderInfo.strCharName
            });

            this.user_info[0].m_laUserName.SetText(text2);
            for (int j = 0; j < 4; j++)
            {
                if (j != 0)
                {
                    MYTHRAID_PERSON mythRaidPersonInfo = SoldierBatch.MYTHRAID_INFO.GetMythRaidPersonInfo(j);
                    if (mythRaidPersonInfo != null)
                    {
                        if (mythRaidPersonInfo.nPartyPersonID > 0L)
                        {
                            this.m_ddlSlotType[j].SetVisible(false);
                            this.user_info[j].Show(true);
                            this.user_info[j].PersonID = mythRaidPersonInfo.nPartyPersonID;
                            NrTSingleton <CTextParser> .Instance.ReplaceParam(ref text2, new object[]
                            {
                                text,
                                "count",
                                mythRaidPersonInfo.nLevel.ToString(),
                                "targetname",
                                mythRaidPersonInfo.strCharName
                            });

                            this.user_info[j].m_laUserName.SetText(text2);
                            this.user_info[j].m_dtReady.Visible = mythRaidPersonInfo.bReady;
                            if (mythRaidPersonInfo.bReady)
                            {
                                this.user_info[j].m_laReady.Text = NrTSingleton <NrTextMgr> .Instance.GetTextFromInterface("662");
                            }
                            else
                            {
                                this.user_info[j].m_laReady.Text = string.Empty;
                            }
                            if (@char.GetPersonID() == mythRaidLeaderInfo.nPartyPersonID || @char.GetPersonID() == mythRaidPersonInfo.nPartyPersonID)
                            {
                                this.user_info[j].m_btKickUser.Data = j;
                                this.user_info[j].m_btKickUser.SetValueChangedDelegate(new EZValueChangedDelegate(this.OnClickKickUser));
                            }
                            else
                            {
                                this.user_info[j].m_btKickUser.Visible = false;
                            }
                        }
                        else
                        {
                            this.user_info[j].Show(false);
                            if (@char.GetPersonID() == mythRaidLeaderInfo.nPartyPersonID)
                            {
                                this.user_info[j].SetSlotState(false, 0);
                                this.m_ddlSlotType[j].SetVisible(true);
                            }
                            else
                            {
                                this.user_info[j].SetSlotState(true, (int)mythRaidPersonInfo.nSlotType);
                                this.m_ddlSlotType[j].SetVisible(false);
                            }
                        }
                    }
                }
            }
        }
        if (@char.GetPersonID() == mythRaidLeaderInfo.nPartyPersonID)
        {
            if (SoldierBatch.MYTHRAID_INFO.IsCanBattle())
            {
                if (this.m_StartEffect == null)
                {
                }
            }
            else if (this.m_StartEffect != null)
            {
                UnityEngine.Object.DestroyImmediate(this.m_StartEffect);
            }
        }
        this.RefreshSolCount();
        this.RefreshPossibleLevel();
        this.SetGuardAngelSkillButton();
        if (!base.Visible)
        {
            this.Show();
        }
    }
    public void RefreshSolInfo()
    {
        for (int i = 0; i < 4; i++)
        {
            this.user_info[i].Init();
        }
        this.SetLayer();
        NrCharBase @char = NrTSingleton <NkCharManager> .Instance.GetChar(1);

        string text  = string.Empty;
        string text2 = string.Empty;

        if (0 >= SoldierBatch.BABELTOWER_INFO.BountHuntUnique)
        {
            if (SoldierBatch.BABELTOWER_INFO.m_nBabelFloorType == 2)
            {
                text = NrTSingleton <NrTextMgr> .Instance.GetTextFromInterface("2787");
            }
            else
            {
                text = NrTSingleton <NrTextMgr> .Instance.GetTextFromInterface("833");
            }
            NrTSingleton <CTextParser> .Instance.ReplaceParam(ref text2, new object[]
            {
                text,
                "floor",
                SoldierBatch.BABELTOWER_INFO.m_nBabelFloor,
                "subfloor",
                (int)(SoldierBatch.BABELTOWER_INFO.m_nBabelSubFloor + 1)
            });
        }
        else
        {
            BountyInfoData bountyInfoDataFromUnique = NrTSingleton <BountyHuntManager> .Instance.GetBountyInfoDataFromUnique(SoldierBatch.BABELTOWER_INFO.BountHuntUnique);

            if (bountyInfoDataFromUnique != null)
            {
                text2 = NrTSingleton <NrTextMgr> .Instance.GetTextFromInterface(bountyInfoDataFromUnique.i32WeekTitleKey.ToString());
            }
        }
        PlunderSolNumDlg plunderSolNumDlg = NrTSingleton <FormsManager> .Instance.GetForm(G_ID.PLUNDERSOLNUM_DLG) as PlunderSolNumDlg;

        if (plunderSolNumDlg != null)
        {
            plunderSolNumDlg.SetTitle(text2);
        }
        BABELTOWER_PERSON babelLeaderInfo = SoldierBatch.BABELTOWER_INFO.GetBabelLeaderInfo();

        if (babelLeaderInfo != null)
        {
            this.user_info[0].Show(true);
            this.user_info[0].PersonID = babelLeaderInfo.nPartyPersonID;
            text = NrTSingleton <NrTextMgr> .Instance.GetTextFromInterface("1639");

            NrTSingleton <CTextParser> .Instance.ReplaceParam(ref text2, new object[]
            {
                text,
                "count",
                babelLeaderInfo.nLevel.ToString(),
                "targetname",
                babelLeaderInfo.strCharName
            });

            this.user_info[0].m_laUserName.SetText(text2);
            for (int j = 0; j < 4; j++)
            {
                if (j != 0)
                {
                    BABELTOWER_PERSON babelPersonInfo = SoldierBatch.BABELTOWER_INFO.GetBabelPersonInfo(j);
                    if (babelPersonInfo != null)
                    {
                        if (babelPersonInfo.nPartyPersonID > 0L)
                        {
                            this.m_ddlSlotType[j].SetVisible(false);
                            this.user_info[j].Show(true);
                            this.user_info[j].PersonID = babelPersonInfo.nPartyPersonID;
                            NrTSingleton <CTextParser> .Instance.ReplaceParam(ref text2, new object[]
                            {
                                text,
                                "count",
                                babelPersonInfo.nLevel.ToString(),
                                "targetname",
                                babelPersonInfo.strCharName
                            });

                            this.user_info[j].m_laUserName.SetText(text2);
                            this.user_info[j].m_dtReady.Visible = babelPersonInfo.bReady;
                            if (babelPersonInfo.bReady)
                            {
                                this.user_info[j].m_laReady.Text = NrTSingleton <NrTextMgr> .Instance.GetTextFromInterface("662");
                            }
                            else
                            {
                                this.user_info[j].m_laReady.Text = string.Empty;
                            }
                            if (@char.GetPersonID() == babelLeaderInfo.nPartyPersonID || @char.GetPersonID() == babelPersonInfo.nPartyPersonID)
                            {
                                this.user_info[j].m_btKickUser.Data = j;
                                this.user_info[j].m_btKickUser.AddValueChangedDelegate(new EZValueChangedDelegate(this.OnClickKickUser));
                            }
                            else
                            {
                                this.user_info[j].m_btKickUser.Visible = false;
                            }
                        }
                        else
                        {
                            this.user_info[j].Show(false);
                            if (@char.GetPersonID() == babelLeaderInfo.nPartyPersonID)
                            {
                                this.user_info[j].SetSlotState(false, 0);
                                this.m_ddlSlotType[j].SetVisible(true);
                            }
                            else
                            {
                                this.user_info[j].SetSlotState(true, (int)babelPersonInfo.nSlotType);
                                this.m_ddlSlotType[j].SetVisible(false);
                            }
                        }
                    }
                }
            }
        }
        if (@char.GetPersonID() == babelLeaderInfo.nPartyPersonID)
        {
            if (SoldierBatch.BABELTOWER_INFO.IsCanBattle())
            {
                if (this.m_StartEffect == null)
                {
                }
            }
            else if (this.m_StartEffect != null)
            {
                UnityEngine.Object.DestroyImmediate(this.m_StartEffect);
            }
        }
        this.RefreshSolCount();
        this.RefreshPossibleLevel();
        if (!base.Visible)
        {
            this.Show();
        }
    }