Package com.l2jfrozen.gameserver.scripting

Examples of com.l2jfrozen.gameserver.scripting.CompiledScriptCache


    if (!Config.ALT_DEV_NO_SCRIPT)
    {
      File scripts = new File(Config.DATAPACK_ROOT, "data/scripts.cfg");
      L2ScriptEngineManager.getInstance().executeScriptsList(scripts);
     
      CompiledScriptCache compiledScriptCache = L2ScriptEngineManager.getInstance().getCompiledScriptCache();
      if (compiledScriptCache == null)
        _log.info("Compiled Scripts Cache is disabled.");
      else
      {
        compiledScriptCache.purge();
        if (compiledScriptCache.isModified())
        {
          compiledScriptCache.save();
          _log.info("Compiled Scripts Cache was saved.");
        }
        else
          _log.info("Compiled Scripts Cache is up-to-date.");
      }
View Full Code Here

TOP

Related Classes of com.l2jfrozen.gameserver.scripting.CompiledScriptCache

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.