public AuthenticationServer( IServiceProvider services, ILogger <AuthenticationServer> logger, AccountService accountService, RealmlistService realmlistService) : base(new IPEndPoint(IPAddress.Loopback, 3724), logger) { realmlistService.Clear(); this.services = services; this.accountService = accountService; }
public WorldServer(IServiceProvider services, ILogger <WorldServer> logger, IWorldManager world, RealmlistService realmlistService) : base(new IPEndPoint(IPAddress.Loopback, 13250), logger) { this.services = services; this.World = world; this.realmlistService = realmlistService; this.realmInfo = this.GetRealmInfo(); this.World.Creatures.Add(new Creature { Model = 169, Position = Map.GetStartingPosition(Race.NightElf) }); var cacheSaveIntervall = TimeSpan.FromSeconds(15); this.cacheSaveTimer = new Timer(this.SaveCache, null, cacheSaveIntervall, cacheSaveIntervall); }
public LoginClient(ILogger <LoginClient> logger, AccountService accountService, RealmlistService realmlistService) : base(logger) { this.accountService = accountService; this.realmlistService = realmlistService; }