mirror of
https://github.com/KAMKEEL/CustomNPC-Plus-API.git
synced 2026-11-15 23:04:44 +00:00
NpcAPI:
Added functions for adding keywords to global script running ++ addGlobalObject(String,Object) ++ removeGlobalObject(String) ++ getEngineObjects()
This commit is contained in:
1 parent
844c2e8c70
commit
d5404fb6c1
1 file changed
+7
@@ -6,6 +6,7 @@
|
||||
package noppes.npcs.api;
|
||||
|
||||
import java.io.File;
|
||||
import java.util.HashMap;
|
||||
|
||||
import cpw.mods.fml.common.Loader;
|
||||
import cpw.mods.fml.common.eventhandler.EventBus;
|
||||
@@ -38,6 +39,12 @@ public abstract class AbstractNpcAPI {
|
||||
public AbstractNpcAPI() {
|
||||
}
|
||||
|
||||
public abstract void addGlobalObject(String key, Object obj);
|
||||
|
||||
public abstract void removeGlobalObject(String key);
|
||||
|
||||
public abstract HashMap<String,Object> getEngineObjects();
|
||||
|
||||
public abstract long sizeOfObject(Object obj);
|
||||
|
||||
public abstract void stopServer();
|
||||
|
||||
Reference in new issue
Block a user