Browse Source

修改

remotes/1611766341912730171/master
Palin 5 years ago
parent
commit
b70cb2aa53
  1. 9
      src/main/java/com/fanruan/api/function/FunctionKit.java

9
src/main/java/com/fanruan/api/function/FunctionKit.java

@ -7,6 +7,7 @@ import com.fr.file.FunctionManager;
import com.fr.file.FunctionManagerProvider;
import com.fr.script.Calculator;
import com.fr.stable.StringUtils;
import com.fr.stable.fun.FunctionHelper;
import com.fr.stable.script.FunctionDef;
import java.util.ArrayList;
@ -85,4 +86,12 @@ public class FunctionKit {
return com.fr.file.FunctionManager.getInstance();
}
/**
* 根据插件ID生成整数类型的标识符
* @param stringID
* @return
*/
public static int generateFunctionID(String stringID) {
return FunctionHelper.generateFunctionID(stringID);
}
}
Loading…
Cancel
Save