public List <Shop_MysticShop> GetList(int shoptype)
            {
                List <Shop_MysticShop> list = new List <Shop_MysticShop>();
                int sellCount = Shop_MysticShopModel.GetSellCount(shoptype);

                for (int i = 1; i <= sellCount; i++)
                {
                    Dictionary <int, WeightRandom> dictionary = this.mList[i];
                    int random = dictionary[shoptype].GetRandom();
                    list.Add(LocalModelManager.Instance.Shop_MysticShop.GetBeanById(random));
                }
                return(list);
            }
Exemplo n.º 2
0
 public void InitializeAll()
 {
     Goods_foodModel               model    = this.Goods_food;
     Equip_equipModel              model2   = this.Equip_equip;
     Skill_slotoutcostModel        model3   = this.Skill_slotoutcost;
     Config_configModel            model4   = this.Config_config;
     Box_SilverNormalBoxModel      model5   = this.Box_SilverNormalBox;
     Skill_slotinModel             model6   = this.Skill_slotin;
     Room_eventgameturnModel       model7   = this.Room_eventgameturn;
     Operation_moveModel           model8   = this.Operation_move;
     Character_BabyModel           model9   = this.Character_Baby;
     Shop_itemModel                model10  = this.Shop_item;
     Character_CharModel           model11  = this.Character_Char;
     Language_lauguageModel        model12  = this.Language_lauguage;
     Skill_dropinModel             model13  = this.Skill_dropin;
     Drop_FakeDropModel            model14  = this.Drop_FakeDrop;
     Room_eventangelskillModel     model15  = this.Room_eventangelskill;
     Box_ChapterBoxModel           model16  = this.Box_ChapterBox;
     Equip_UpgradeModel            model17  = this.Equip_Upgrade;
     Stage_Level_activityModel     model18  = this.Stage_Level_activity;
     Character_LevelModel          model19  = this.Character_Level;
     Room_eventdemontext2loseModel model20  = this.Room_eventdemontext2lose;
     Achieve_AchieveModel          model21  = this.Achieve_Achieve;
     Sound_soundModel              model22  = this.Sound_sound;
     Box_ActivityModel             model23  = this.Box_Activity;
     Fx_fxModel                     model24 = this.Fx_fx;
     Shop_MysticShopModel           model25 = this.Shop_MysticShop;
     Curve_curveModel               model26 = this.Curve_curve;
     Equip2_equip2Model             model27 = this.Equip2_equip2;
     Stage_Level_chapter12Model     model28 = this.Stage_Level_chapter12;
     Stage_Level_chapter13Model     model29 = this.Stage_Level_chapter13;
     Stage_Level_chapter10Model     model30 = this.Stage_Level_chapter10;
     Stage_Level_chapter11Model     model31 = this.Stage_Level_chapter11;
     Buff_aloneModel                model32 = this.Buff_alone;
     Goods_goodsModel               model33 = this.Goods_goods;
     Box_SilverBoxModel             model34 = this.Box_SilverBox;
     Room_soldierupModel            model35 = this.Room_soldierup;
     Stage_Level_chapter9Model      model36 = this.Stage_Level_chapter9;
     Test_AttrValueModel            model37 = this.Test_AttrValue;
     Stage_Level_chapter7Model      model38 = this.Stage_Level_chapter7;
     Stage_Level_chapter8Model      model39 = this.Stage_Level_chapter8;
     Stage_Level_chapter5Model      model40 = this.Stage_Level_chapter5;
     Stage_Level_chapter6Model      model41 = this.Stage_Level_chapter6;
     Stage_Level_chapter3Model      model42 = this.Stage_Level_chapter3;
     Room_roomModel                 model43 = this.Room_room;
     Room_eventdemontext2skillModel model44 = this.Room_eventdemontext2skill;
     Stage_Level_chapter4Model      model45 = this.Stage_Level_chapter4;
     Stage_Level_chapter1Model      model46 = this.Stage_Level_chapter1;
     Room_colorstyleModel           model47 = this.Room_colorstyle;
     Stage_Level_chapter2Model      model48 = this.Stage_Level_chapter2;
     Stage_Level_stagechapterModel  model49 = this.Stage_Level_stagechapter;
     Shop_MysticShopShowModel       model50 = this.Shop_MysticShopShow;
     Drop_harvestModel              model51 = this.Drop_harvest;
     Box_TimeBoxModel               model52 = this.Box_TimeBox;
     Preload_loadModel              model53 = this.Preload_load;
     Room_levelModel                model54 = this.Room_level;
     Shop_ReadyShopModel            model55 = this.Shop_ReadyShop;
     Skill_superModel               model56 = this.Skill_super;
     Shop_ShopModel                 model57 = this.Shop_Shop;
     Soldier_standardModel          model58 = this.Soldier_standard;
     Skill_aloneModel               model59 = this.Skill_alone;
     Goods_waterModel               model60 = this.Goods_water;
     Soldier_soldierModel           model61 = this.Soldier_soldier;
     Beat_beatModel                 model62 = this.Beat_beat;
     Weapon_weaponModel             model63 = this.Weapon_weapon;
     Skill_skillModel               model64 = this.Skill_skill;
     Skill_greedyskillModel         model65 = this.Skill_greedyskill;
     Shop_GoldModel                 model66 = this.Shop_Gold;
     Skill_slotfirstModel           model67 = this.Skill_slotfirst;
     Exp_expModel                   model68 = this.Exp_exp;
     Drop_GoldModel                 model69 = this.Drop_Gold;
     Drop_DropModel                 model70 = this.Drop_Drop;
     Stage_Level_activitylevelModel model71 = this.Stage_Level_activitylevel;
     Skill_slotoutModel             model72 = this.Skill_slotout;
 }