Example #1
0
 public LazyMapManager(IMapNpcService npcService, IMapMonsterService monsterService, IPortalService portalService, IShopService shopService, IMapService mapService, INpcMonsterSkillService npcMonsterSkillService)
 {
     _npcService             = npcService;
     _monsterService         = monsterService;
     _portalService          = portalService;
     _shopService            = shopService;
     _mapService             = mapService;
     _npcMonsterSkillService = npcMonsterSkillService;
 }
Example #2
0
        private void ExtractFiles()
        {
            _monsterDb = ChickenContainer.Instance.Resolve <INpcMonsterService>();
            _bcardDb   = ChickenContainer.Instance.Resolve <IBCardService>();
            _skillsDb  = ChickenContainer.Instance.Resolve <INpcMonsterSkillService>();
            _dropsDb   = ChickenContainer.Instance.Resolve <IDropService>();

            _monsterDb.Save(_monsters);
            _bcardDb.Save(_monsterBcards);
            _dropsDb.Save(_monsterDrops);
            _skillsDb.Save(_monsterSkills);
        }