mirror of
https://github.com/tobspr/shapez.io.git
synced 2025-12-14 02:31:51 +00:00
32 lines
776 B
JavaScript
32 lines
776 B
JavaScript
/* typehints:start */
|
|
import { Application } from "../application";
|
|
import { ModLoader } from "./modloader";
|
|
/* typehints:end */
|
|
|
|
import { MOD_SIGNALS } from "./mod_signals";
|
|
|
|
export class Mod {
|
|
/**
|
|
*
|
|
* @param {Application} app
|
|
* @param {object} metadata
|
|
* @param {string} metadata.name
|
|
* @param {string} metadata.version
|
|
* @param {string} metadata.authorName
|
|
* @param {string} metadata.authorContact
|
|
* @param {string} metadata.id
|
|
*
|
|
* @param {ModLoader} modLoader
|
|
*/
|
|
constructor(app, metadata, modLoader) {
|
|
this.app = app;
|
|
this.metadata = metadata;
|
|
this.modLoader = modLoader;
|
|
|
|
this.signals = MOD_SIGNALS;
|
|
this.modInterface = modLoader.modInterface;
|
|
}
|
|
|
|
init() {}
|
|
}
|