IScriptBank.java 1.1 KB

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