Package com.l2jfrozen.gameserver.scripting

Examples of com.l2jfrozen.gameserver.scripting.L2ScriptEngineManager$CleaneCache


    }
  }

  public void parsePackages()
  {
    L2ScriptEngineManager sem = L2ScriptEngineManager.getInstance();
    ScriptContext context = sem.getScriptContext("beanshell");
    try
    {
      sem.eval("beanshell", "double log1p(double d) { return Math.log1p(d); }");
      sem.eval("beanshell", "double pow(double d, double p) { return Math.pow(d,p); }");

      for(ScriptDocument script : _scripts)
      {
        parseScript(script, context);
      }
View Full Code Here

TOP

Related Classes of com.l2jfrozen.gameserver.scripting.L2ScriptEngineManager$CleaneCache

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.