All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.skillw.pouvoir.api.script.engine.hook.ScriptBridge.kt Maven / Gradle / Ivy

There is a newer version: 1.6.7-beta-6
Show newest version
package com.skillw.pouvoir.api.script.engine.hook

import javax.script.CompiledScript
import javax.script.ScriptEngine

interface ScriptBridge {
    fun getEngine(vararg args: String): ScriptEngine

    fun invoke(
        script: CompiledScript,
        function: String = "main",
        arguments: Map,
        vararg parameters: Any?,
    ): Any?

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy