IScriptBank.java 1.1 KB

123456789101112131415161718
  1. package me.km.snuviscript;
  2. public interface IScriptBank
  3. {
  4. public void setVar(String value, String var, int playerId) throws Exception;
  5. public void deleteVar(String var, int playerId) throws Exception;
  6. public Object getVar(String var, int playerId, Object error) throws Exception;
  7. public Object getVar(String var, int playerId) throws Exception;
  8. public void addMapElement(String map, String key, String value) throws Exception;
  9. public void removeMapElement(String map, String key) throws Exception;
  10. public void removeMap(String map) throws Exception;
  11. public Object getMapValue(String map, String key) throws Exception;
  12. public void addDualMapElement(String map, String key, String key2, String value) throws Exception;
  13. public void removeDualMapElement(String map, String key) throws Exception;
  14. public void removeDualMap(String map) throws Exception;
  15. public void removeDualMapElement(String map, String key, String key2) throws Exception;
  16. public Object getDualMapValue(String map, String key, String key2) throws Exception;
  17. }