public MainScreen() { var clientConfig = new GameClientConfig { AuthServerAddress = new NetworkAddress(App.Config.AuthHost, App.Config.AuthPort), GameServerAddress = new NetworkAddress(App.Config.GameHost, App.Config.GamePort) }; client = new LegacyClient(clientConfig); loginScreen = new LoginScreen(client); loginScreen.LoginCompleted += OnLoginCompleted; current = loginScreen; }
public LegacyClient(GameClientConfig config) : base(config, new LegacyAuthHandlerFactory(), new LegacyProtocolHandlerFactory()) { }
public HafenClient(GameClientConfig config) : base(config, new HafenAuthHandlerFactory(), new HafenProtocolHandlerFactory()) { }