mirror of
https://github.com/KAMKEEL/CustomNPC-Plus-API.git
synced 2026-11-15 12:34:44 +00:00
Forgot API ScriptHookController
This commit is contained in:
1 parent
c962f678a4
commit
87394b9723
1 file changed
+6
@@ -1,5 +1,7 @@
|
||||
package noppes.npcs.api.handler;
|
||||
|
||||
import noppes.npcs.constants.ScriptContext;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
@@ -21,6 +23,10 @@ import java.util.List;
|
||||
*/
|
||||
public interface IScriptHookHandler {
|
||||
|
||||
void registerHooks(ScriptContext context, String functionName);
|
||||
|
||||
void registerHooks(ScriptContext context, String... functionNames);
|
||||
|
||||
/**
|
||||
* Register a hook for a single context.
|
||||
*
|
||||
|
||||
Reference in new issue
Block a user