mirror of
https://github.com/Pax1601/DCSOlympus.git
synced 2025-10-29 16:56:34 +00:00
Removed old definition file
This commit is contained in:
30
client/plugins/_boilerplate/@types/olympus.d.ts
vendored
30
client/plugins/_boilerplate/@types/olympus.d.ts
vendored
@@ -1,30 +0,0 @@
|
|||||||
export interface OlympusPlugin {
|
|
||||||
getName: () => string;
|
|
||||||
initialize: (any) => boolean;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
export class Marker {}
|
|
||||||
export class CustomMarker extends Marker {}
|
|
||||||
export class Unit extends CustomMarker {}
|
|
||||||
|
|
||||||
export class OlympusApp {
|
|
||||||
getShortcutManager():ShortcutManager;
|
|
||||||
getUnitsManager():UnitsManager;
|
|
||||||
}
|
|
||||||
|
|
||||||
export class ShortcutManager {
|
|
||||||
add( name:string, shortcut:Shortcut ): ShortcutManager;
|
|
||||||
getKeysBeingHeld(): string[];
|
|
||||||
keyComboMatches( combo: string[] ): boolean;
|
|
||||||
onKeyDown( callback:CallableFunction );
|
|
||||||
onKeyUp( callback:CallableFunction );
|
|
||||||
}
|
|
||||||
|
|
||||||
export class UnitsManager {
|
|
||||||
getUnits(): { [ID: number]: Unit }
|
|
||||||
}
|
|
||||||
|
|
||||||
export declare global {
|
|
||||||
function getOlympusPlugin(): OlympusPlugin;
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user