예제 #1
0
    void InitMallItems()
    {
        //// 神秘商店初始化;
        //BetterList<int> resIds = Module.GetPlayerSecretShopItemIds();

        //if (resIds != null)
        //{
        //    foreach (int id in resIds)
        //    {
        //        ShopTableItem item = DataManager.ShopTable[id] as ShopTableItem;
        //        if (item == null)
        //            continue;

        //        CreateMallItem(item);
        //    }
        //}

        // 其他商店初始化;
        CreateMallItems(ShopModule.GetEffectShopItemsWithoutSecret());
        CreateNullItems();
    }