예제 #1
0
 public Engine(INetworkServer server,
               IPolicyServer policyServer,
               TServer thriftServer,
               DbLoader dbLoader,
               IPlayerSelectorFactory playerSelector,
               IPlayersRemoverFactory playersRemoverFactory,
               IStrongholdManager strongholdManager,
               IBarbarianTribeManager barbarianTribeManager,
               IWorld world,
               SystemVariablesUpdater systemVariablesUpdater,
               IScheduler scheduler,
               IDbManager dbManager,
               StrongholdActivationChecker strongholdActivationChecker,
               StrongholdChecker strongholdChecker,
               BarbarianTribeChecker barbarianTribeChecker,
               ICityChannel cityChannel,
               IStrongholdManagerLogger strongholdManagerLogger,
               StoreSync storeSync,
               IQueueListener queueListener,
               MapDataExport mapDataExport)
 {
     this.server                = server;
     this.policyServer          = policyServer;
     this.thriftServer          = thriftServer;
     this.dbLoader              = dbLoader;
     this.playerSelector        = playerSelector;
     this.playersRemoverFactory = playersRemoverFactory;
     this.strongholdManager     = strongholdManager;
     this.barbarianTribeManager = barbarianTribeManager;
     this.world = world;
     this.systemVariablesUpdater = systemVariablesUpdater;
     this.scheduler = scheduler;
     this.dbManager = dbManager;
     this.strongholdActivationChecker = strongholdActivationChecker;
     this.strongholdChecker           = strongholdChecker;
     this.barbarianTribeChecker       = barbarianTribeChecker;
     this.cityChannel             = cityChannel;
     this.strongholdManagerLogger = strongholdManagerLogger;
     this.storeSync     = storeSync;
     this.queueListener = queueListener;
     this.mapDataExport = mapDataExport;
 }
예제 #2
0
 public PlayerCommandLineModule(IPlayersRemoverFactory playerRemoverFactory,
                                IPlayerSelectorFactory playerSelectorFactory,
                                ICityRemoverFactory cityRemoverFactory,
                                Chat chat,
                                IDbManager dbManager,
                                ITribeManager tribeManager,
                                IWorld world,
                                ILocker locker,
                                IStructureCsvFactory structureFactory,
                                UnitFactory unitFactory,
                                TechnologyFactory technologyFactory)
 {
     this.playerRemoverFactory  = playerRemoverFactory;
     this.playerSelectorFactory = playerSelectorFactory;
     this.cityRemoverFactory    = cityRemoverFactory;
     this.chat              = chat;
     this.dbManager         = dbManager;
     this.tribeManager      = tribeManager;
     this.world             = world;
     this.locker            = locker;
     this.structureFactory  = structureFactory;
     this.unitFactory       = unitFactory;
     this.technologyFactory = technologyFactory;
 }