private void OnQuery_NEXT()
    {
        SmithManager.ERR_SMITH_SEND eRR_SMITH_SEND = MonoBehaviourSingleton <SmithManager> .I.CheckAbilityChange(equipItemInfo);

        if (eRR_SMITH_SEND != 0)
        {
            GameSection.ChangeEvent(eRR_SMITH_SEND.ToString(), null);
        }
        else
        {
            GameSection.SetEventData(new string[1]
            {
                MonoBehaviourSingleton <SmithManager> .I.GetAbilityChangeNeedMoney(equipItemInfo).ToString()
            });
        }
    }
示例#2
0
    protected virtual void OnQuery_START()
    {
        SmithManager.ERR_SMITH_SEND eRR_SMITH_SEND = MonoBehaviourSingleton <SmithManager> .I.CheckGrowEquipItem(GetEquipData());

        if (eRR_SMITH_SEND != 0)
        {
            GameSection.ChangeEvent(eRR_SMITH_SEND.ToString(), null);
        }
        else
        {
            isDialogEventYES = false;
            GameSection.SetEventData(new object[1]
            {
                GetEquipItemName()
            });
        }
    }
示例#3
0
    protected override void OnQuery_START()
    {
        SmithManager.SmithGrowData smithData = MonoBehaviourSingleton <SmithManager> .I.GetSmithData <SmithManager.SmithGrowData>();

        if (smithData != null)
        {
            SmithManager.ERR_SMITH_SEND eRR_SMITH_SEND = MonoBehaviourSingleton <SmithManager> .I.CheckEvolveEquipItem(smithData.evolveData.evolveBeforeEquipData, smithData.evolveData.GetEvolveTable().id, selectedUniqueIdList);

            if (eRR_SMITH_SEND != 0)
            {
                GameSection.ChangeEvent(eRR_SMITH_SEND.ToString(), null);
            }
            else
            {
                isDialogEventYES = false;
                GameSection.SetEventData(new object[2]
                {
                    GetEquipItemName() + " ",
                    " " + modifyText + " "
                });
            }
        }
    }