PluginManager.d overview
Table of contents
utils
PluginManager (class)
PluginManager
The static class that manages the plugins.
Signature
export declare class PluginManager {
constructor()
}
setup (static method)
Signature
static setup(plugins: RmmzPlugin[]): void
parameters (static method)
Signature
static parameters(name: string): Record<string, unknown>
setParameters (static method)
Signature
static setParameters(name: string, parameters: Record<string, unknown>): void
loadScript (static method)
Signature
static loadScript(filename: string): void
onError (static method)
Signature
static onError(e: Event | string): void
makeUrl (static method)
Signature
static makeUrl(filename: string): string
checkErrors (static method)
Signature
static checkErrors(): void
throwLoadError (static method)
Signature
static throwLoadError(url: string): void
registerCommand (static method)
Signature
static registerCommand<T extends PluginParameters>(
pluginName: string,
commandName: string,
func: (args: T) => void
): void
callCommand (static method)
Signature
static callCommand(self: unknown, pluginName: string, commandName: string, args: unknown[]): void