Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
ThorConzales committed Sep 29, 2017
1 parent 4926ae0 commit 619084c
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion Backend/Global/Variables.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

namespace Backend.Global {
public class Variables {
public static int NumericVersion = 5;
public static int NumericVersion = 6;
public static bool ReplayMode = true;
public static bool LobbySession = false;
public static string NethookDumpDir { get; set; }
Expand Down
2 changes: 1 addition & 1 deletion Backend/Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public void Configure(IApplicationBuilder app, IHostingEnvironment env, ILoggerF
app.UseMvc();

if (Variables.ReplayMode) {
Variables.NethookDumpDir = @"C:\Steam\nethook\_Aoe2HostLobby";
Variables.NethookDumpDir = @"C:\Steam\nethook\_Aoe2HostLobby3";
} else {
_netHookDumpReaderJob = new NetHookDumpReaderJob();
}
Expand Down
4 changes: 2 additions & 2 deletions Client/Client/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "AoE2HDLobbyCompanion",
"version": "1.3.0",
"description": "Age of Empires 2 Lobby Companion Client",
"version": "1.4.0",
"description": "Age of Empires 2 HD Lobby Companion Client",
"homepage": "http://aoe2lc.net",
"author": {
"name": "Thor Conzales",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@ export class HistoryPageComponent implements OnInit {
this.trackingService.sendEvent("HistoryPage", "OpenMatchDetails");
}

public showOnlyStartedLobbiesChanged() {
this.matchHistoryDataSource = new MatchHistoryDataSource(this.matches, this.paginator, this.showOnlyStartedLobbies)
}

private getMatches() {
this.loading = true;
this.httpService.get<MatchHistory[]>("/api/matchHistory").subscribe(matches => {
Expand All @@ -53,10 +57,6 @@ export class HistoryPageComponent implements OnInit {
this.appService.toastError("Failed to retrieve history.");
});
}

private showOnlyStartedLobbiesChanged() {
this.matchHistoryDataSource = new MatchHistoryDataSource(this.matches, this.paginator, this.showOnlyStartedLobbies)
}
}

export class MatchHistoryDataSource extends DataSource<MatchHistory> {
Expand Down
4 changes: 2 additions & 2 deletions Client/Client/src/app/shared/app.service.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Injectable, Inject, forwardRef } from '@angular/core';
import { Injectable, Inject, forwardRef } from '@angular/core';
import { remote } from 'electron';
import { spawn, spawnSync, ChildProcess } from 'child_process';
import { MdDialog } from '@angular/material';
Expand All @@ -11,7 +11,7 @@ import { Reputation } from '../app.models';

@Injectable()
export class AppService {
public stringVersion = "1.3.0";
public stringVersion = "1.4.0";
public lobbiesPageOpened = false;
public sessionRunning = false;
private nethookActive = false;
Expand Down
2 changes: 1 addition & 1 deletion Client/Client/src/app/shared/tracking.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { ConfigurationService } from './';
@Injectable()
export class TrackingService {
private analytics;
private version: "1.3.0";
private version: "1.4.0";

constructor(private configurationService: ConfigurationService) {
try {
Expand Down

0 comments on commit 619084c

Please sign in to comment.