mirror of https://github.com/Alia5/GlosSI
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
578 B
TypeScript
25 lines
578 B
TypeScript
export interface SteamClient {
|
|
Settings: {
|
|
SetInGameOverlayShowFPSCorner: (value: 0|1|2|3|4) => void;
|
|
SetInGameOverlayShowFPSContrast: (value: boolean) => void;
|
|
};
|
|
UI: {
|
|
GetUiMode: () => Promise<SteamUiMode>;
|
|
SetUiMode: (mode: SteamUiMode) => void;
|
|
};
|
|
Window: {
|
|
Minimize();
|
|
HideWindow();
|
|
};
|
|
}
|
|
|
|
export type FullSteamClient = Required<SteamClient>;
|
|
|
|
declare global {
|
|
interface Window {
|
|
SteamClient: SteamClient;
|
|
}
|
|
// eslint-disable-next-line
|
|
declare const SteamClient: SteamClient;
|
|
}
|