Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4821.js (118.4 MB)
157 lines
4.9 KiB
TypeScript
157 lines
4.9 KiB
TypeScript
// Module ID: 1915
|
|
// Function ID: 1916
|
|
// Name: RunningGameStore
|
|
// Dependencies: [1916, 1931, 7500, 14076, 504, 573, 2]
|
|
// Exports: gameKey, getRawOverlayGameStatus, isDetectionEnabled, maybeTransformSubgame, transformForGameSettings
|
|
|
|
// Module 1915 (RunningGameStore)
|
|
import initializeDefault from "initialize" /* 504 */;
|
|
import DispatcherDefault from "Dispatcher" /* 573 */;
|
|
import OverlayTypes from "OverlayTypes" /* 14076 */;
|
|
import GameStore from "GameStore" /* 1916 */;
|
|
import DetectableGameStore from "DetectableGameStore" /* 1931 */;
|
|
import LibraryApplicationStore from "LibraryApplicationStore" /* 7500 */;
|
|
|
|
require = fn;
|
|
const Store = initializeDefault.Store;
|
|
class RunningGameStore extends Store {
|
|
}
|
|
const prototype = RunningGameStore.prototype;
|
|
prototype["initialize"] = function initialize() {
|
|
|
|
};
|
|
prototype["getVisibleGame"] = function getVisibleGame() {
|
|
return null;
|
|
};
|
|
prototype["getCurrentGameForAnalytics"] = function getCurrentGameForAnalytics() {
|
|
return null;
|
|
};
|
|
prototype["getCurrentNonGameForAnalytics"] = function getCurrentNonGameForAnalytics() {
|
|
return null;
|
|
};
|
|
prototype["getVisibleRunningGames"] = function getVisibleRunningGames() {
|
|
return [];
|
|
};
|
|
prototype["getRunningGames"] = function getRunningGames() {
|
|
return [];
|
|
};
|
|
prototype["getDebugRunningGame"] = function getDebugRunningGame() {
|
|
return null;
|
|
};
|
|
prototype["getDetectionDebug"] = function getDetectionDebug() {
|
|
return null;
|
|
};
|
|
prototype["getRunningNonGames"] = function getRunningNonGames() {
|
|
return [];
|
|
};
|
|
prototype["getRunningDiscordApplicationIds"] = function getRunningDiscordApplicationIds() {
|
|
return [];
|
|
};
|
|
prototype["getRunningVerifiedApplicationIds"] = function getRunningVerifiedApplicationIds() {
|
|
return [];
|
|
};
|
|
prototype["getGameForPID"] = function getGameForPID() {
|
|
return null;
|
|
};
|
|
prototype["getGameForName"] = function getGameForName() {
|
|
return null;
|
|
};
|
|
prototype["getGameOrTransformedSubgameForPID"] = function getGameOrTransformedSubgameForPID() {
|
|
return null;
|
|
};
|
|
prototype["getLauncherForPID"] = function getLauncherForPID() {
|
|
return null;
|
|
};
|
|
prototype["getOverlayOptionsForPID"] = function getOverlayOptionsForPID() {
|
|
return null;
|
|
};
|
|
prototype["shouldElevateProcessForPID"] = function shouldElevateProcessForPID() {
|
|
return false;
|
|
};
|
|
prototype["shouldContinueWithoutElevatedProcessForPID"] = function shouldContinueWithoutElevatedProcessForPID() {
|
|
return false;
|
|
};
|
|
prototype["canCollectExecutableFingerprintsForRunningGames"] = function canCollectExecutableFingerprintsForRunningGames() {
|
|
return false;
|
|
};
|
|
prototype["getCandidateGames"] = function getCandidateGames() {
|
|
return [];
|
|
};
|
|
prototype["isGamesSeenLoaded"] = function isGamesSeenLoaded() {
|
|
return true;
|
|
};
|
|
prototype["isGameSeen"] = function isGameSeen() {
|
|
return false;
|
|
};
|
|
prototype["getGamesSeen"] = function getGamesSeen() {
|
|
return [];
|
|
};
|
|
prototype["getSeenGameByName"] = function getSeenGameByName() {
|
|
return null;
|
|
};
|
|
prototype["isObservedAppRunning"] = function isObservedAppRunning() {
|
|
return false;
|
|
};
|
|
prototype["getOverlayEnabledForGame"] = function getOverlayEnabledForGame() {
|
|
return false;
|
|
};
|
|
prototype["getOverrides"] = function getOverrides() {
|
|
return [];
|
|
};
|
|
prototype["getOverrideForGame"] = function getOverrideForGame() {
|
|
return null;
|
|
};
|
|
prototype["getGameOverlayStatus"] = function getGameOverlayStatus() {
|
|
return null;
|
|
};
|
|
prototype["getObservedAppNameForWindow"] = function getObservedAppNameForWindow() {
|
|
return null;
|
|
};
|
|
Object.defineProperty(prototype, "canShowAdminWarning", {
|
|
get: function canShowAdminWarning() {
|
|
return false;
|
|
},
|
|
set: undefined
|
|
});
|
|
prototype["isDetectionEnabled"] = function isDetectionEnabled() {
|
|
return false;
|
|
};
|
|
prototype["addExecutableTrackedByAnalytics"] = function addExecutableTrackedByAnalytics() {
|
|
|
|
};
|
|
prototype["getSystemServiceStatus"] = function getSystemServiceStatus() {
|
|
return { state: "unknown" };
|
|
};
|
|
prototype["isSystemServiceInitialized"] = function isSystemServiceInitialized() {
|
|
return false;
|
|
};
|
|
RunningGameStore.displayName = "RunningGameStore";
|
|
const runningGameStore = new RunningGameStore(DispatcherDefault, {});
|
|
const size = fn(2);
|
|
const result = size.fileFinishedImporting("modules/game_detection/RunningGameStore.native.tsx");
|
|
|
|
export default runningGameStore;
|
|
export function gameKey() {
|
|
return "";
|
|
}
|
|
export const getRawOverlayGameStatus = function getRawOverlayGameStatus() {
|
|
if (arg1 === undefined) {
|
|
const items = [DetectableGameStore, LibraryApplicationStore, GameStore];
|
|
}
|
|
return { source: OverlayTypes.OverlayGameStatusSource.UNKNOWN, enabledOOP: false, enabledLegacy: false, overlayMethod: OverlayTypes.OverlayMethod.Disabled, reason: "Dummy implementation" };
|
|
};
|
|
export function isDetectionEnabled() {
|
|
return false;
|
|
}
|
|
export function maybeTransformSubgame(arg0) {
|
|
return arg0;
|
|
}
|
|
export const transformForGameSettings = function transformForGameSettings(arg0) {
|
|
const obj = {};
|
|
const merged = Object.assign(arg0);
|
|
obj.played = "";
|
|
obj.overlay = false;
|
|
obj.verified = false;
|
|
obj.detectable = false;
|
|
return obj;
|
|
};
|