Could you please check with valorant events. My application is not capturing the replays. Ingame construtor is also not getting executed.
In Background.ts:
private toggleWindows(info) {
let self = this;
if (!info || !this.isGameFortnite(info)) {
return;
}
if (info.isRunning) {
this._windows[windowNames.inGame].restore();
this._windows[windowNames.inGame].hide();
} else {
this._windows[windowNames.inGame].close();
}
}
Ingame.ts:
class InGame extends AppWindow {
private static _instance: InGame;
private _fortniteGameEventsListener: OWGamesEvents;
private _eventsLog: HTMLElement;
private _infoLog: HTMLElement;
private constructor() {
super(windowNames.inGame);
this._eventsLog = document.getElementById(‘eventsLog’);
this._infoLog = document.getElementById(‘infoLog’);
this.setToggleHotkeyBehavior();
this.setToggleHotkeyText();
this._fortniteGameEventsListener = new OWGamesEvents({
onInfoUpdates: this.onInfoUpdates.bind(this),
onNewEvents: this.onNewEvents.bind(this)
},
interestingFeatures);
overwolf.media.replays.turnOff(console.log);
}
}