mirror of
https://github.com/Pax1601/DCSOlympus.git
synced 2025-10-29 16:56:34 +00:00
27 lines
476 B
TypeScript
27 lines
476 B
TypeScript
import { OlympusPlugin } from "interfaces";
|
|
import { OlympusApp } from "olympusapp";
|
|
|
|
|
|
export class BoilerplatePlugin implements OlympusPlugin {
|
|
#app!: OlympusApp;
|
|
|
|
constructor() {
|
|
}
|
|
|
|
/**
|
|
* @param app <OlympusApp>
|
|
*
|
|
* @returns boolean on success/fail
|
|
*/
|
|
|
|
initialize(app: OlympusApp) : boolean {
|
|
this.#app = app;
|
|
|
|
return true; // Return true on success
|
|
}
|
|
|
|
getName() {
|
|
return "Boilerplate";
|
|
}
|
|
|
|
} |