Esempio n. 1
0
    private void SetGameData_Currency()
    {
        currencyManager.Gold  = 0;
        currencyManager.Jewel = 0;
        currencyManager.Token = 0;

        for (int i = 0; i < CentralInfoManager.NUMBEROFBOXKEYKINDS; i++)
        {
            CentralInfoManager.boxCountList.Add(0);
            CentralInfoManager.keyCountList.Add(0);
        }
        for (int i = 0; i < PetManager.PETKINDS; i++)
        {
            petManager.petLevel.Add(0);
            petManager.petStat.Add(0);
            petManager.isPetBuy.Add(false);
        }

        petMenu.mountingPetIndex = -1;
        CentralInfoManager.ticket_nickNameChange = 0;
        CentralInfoManager.rebirthCoupon         = 0;
        CentralInfoManager.anyOpenKey            = 0;
        CentralInfoManager.lpPotion                   = 0;
        centralInfoManager.boxOpenCount_ad            = 0;
        centralInfoManager.boxOpenCoolTime_ad         = CentralInfoManager.BoxOpenCoolTime_STANDARD;
        CentralInfoManager.rebirthCoupon_DailyCount   = shopMenu.ReturnShopDaily("SH200");
        CentralInfoManager.lpPotion_DailyCount        = shopMenu.ReturnShopDaily("SH202");
        centralInfoManager.monthlyJewelProductBuyDate = "";
        centralInfoManager.monthlyJewelPayments       = false;
    }