public async Task RunAsync() { await connectionService.ConnectAsync(); await commandHandler.InitializeAsync(); messageHandler.Initialize(); }
/// <inheritdoc /> public Task OnGameInitialized() { if (Logger.IsInfoEnabled) { Logger.Info($"Connectiong to: {ConnectionDetails.IpAddress}:{ConnectionDetails.Port}"); } //This initializable actually just //connects a IConnectionService with the provided game details. return(ConnectionService.ConnectAsync(ConnectionDetails.IpAddress, ConnectionDetails.Port)); }