private void CheckPartnerMonster()
    {
        CMD_ResearchModalAlert popup = null;

        if (MonsterStatusData.IsVersionUp(this.partnerDigimon.GetMonsterMaster().Simple.rare))
        {
            popup = this.OpenAlertTargetMonster(this.partnerDigimon, StringMaster.GetString("LaboratoryResearchAlertInfo2"));
        }
        else if (MonsterStatusData.IsArousal(this.partnerDigimon.monsterM.rare))
        {
            popup = this.OpenAlertTargetMonster(this.partnerDigimon, StringMaster.GetString("LaboratoryResearchAlertInfo"));
        }
        if (null != popup)
        {
            popup.SetActionYesButton(delegate
            {
                popup.SetCloseAction(delegate(int noop)
                {
                    this.OpenConfirmResearch();
                });
            });
        }
        else
        {
            this.OpenConfirmResearch();
        }
    }
Beispiel #2
0
    private void OnPushDecide()
    {
        CMD_ResearchModalAlert popup = null;

        if (MonsterStatusData.IsVersionUp(this.partnerDigimon.GetMonsterMaster().Simple.rare))
        {
            popup = this.OpenAlertPartnerMonster(this.partnerDigimon, StringMaster.GetString("MedalInheritAlertInfo2"));
        }
        else if (MonsterStatusData.IsArousal(this.partnerDigimon.monsterM.rare))
        {
            popup = this.OpenAlertPartnerMonster(this.partnerDigimon, StringMaster.GetString("MedalInheritAlertInfo"));
        }
        if (null != popup)
        {
            popup.SetActionYesButton(delegate
            {
                popup.SetCloseAction(delegate(int noop)
                {
                    this.OpenConfirmMedalInheritance();
                });
            });
        }
        else
        {
            this.OpenConfirmMedalInheritance();
        }
    }
    private void OnPushDecide()
    {
        CMD_ResearchModalAlert popup = null;

        if (MonsterStatusData.IsVersionUp(this.baseDigimon.GetMonsterMaster().Simple.rare))
        {
            popup = this.OpenAlertTargetMonster(this.baseDigimon, StringMaster.GetString("LaboratoryResearchAlertInfo3"));
        }
        if (null != popup)
        {
            popup.SetActionYesButton(delegate
            {
                popup.SetCloseAction(delegate(int noop)
                {
                    this.CheckPartnerMonster();
                });
            });
        }
        else
        {
            this.CheckPartnerMonster();
        }
    }