aboutsummaryrefslogtreecommitdiff
path: root/webAO/global.d.ts
blob: 8463106f4a861e0245478d1189b7e554ca4d3ed7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
export {};

declare global {
  interface Window {
    area_click: (el: HTMLElement) => void;
    banPlayer: (id: number) => void;
    changeBlipVolume: () => void;
    changeMusicVolume: (volume?: number) => void;
    getIndexFromSelect: (select_box: string, value: string) => number;
    kickPlayer: (id: number) => void;
    onReplayGo: (_event: Event) => void;
    opusCheck: (channel: HTMLAudioElement) => OnErrorEventHandlerNonNull;
    pickEmotion: (emo: number) => void;
    pickEvidence: (evidence: number) => void;
    reloadTheme: () => void;
    resizeChatbox: () => void;
    setChatbox: (setstyle: string) => void;
    showname_click: (_event: Event | null) => void;
    switchPanTilt: () => Promise<void>;
    updateActionCommands: (side: string) => void;
    updateBackgroundPreview: () => void;
  }
}