baseline plugin system (Non-functional)

This commit is contained in:
Core 2022-01-10 09:40:40 +00:00
parent 312a5a7b70
commit 576f44fa86
3 changed files with 79 additions and 0 deletions

View file

@ -0,0 +1,33 @@
export default class ExamplePlugin {
public name: string = 'examplePlugin';
public description: string = 'Example plugin';
public version: string = '1.0.0';
public author: string = 'Example author';
constructor() {
this.name = 'coolPlugin';
this.description = 'A pretty cool plugin';
this.version = '1.0.0';
this.author = 'Core';
}
onStart(): void {
console.log('Example plugin started');
}
onReady(): void {
console.log('Example plugin ready');
}
onStop(): void {
console.log('Example plugin stopped');
}
OnPlaybackStateChanged(attributes: object): void {
}
OnMediaStateChanged(attributes: object): void {
}
}