L2JPREMIUM  5M
com.premium.game.scripting.L2ScriptEngineManager Class Reference
Collaboration diagram for com.premium.game.scripting.L2ScriptEngineManager:

Classes

class  ScriptClassAndMethod
 

Public Member Functions

Object eval (String engineName, String script) throws ScriptException
 
Object eval (String engineName, String script, ScriptContext context) throws ScriptException
 
void executeAllScriptsInDirectory (File dir) throws IOException, ClassNotFoundException
 
void executeAllScriptsInDirectory (File dir, boolean recurseDown, int maxDepth) throws IOException, ClassNotFoundException
 
void executeScript (File file) throws ScriptException, IOException, ClassNotFoundException
 
void executeScript (ScriptEngine engine, File file) throws ScriptException, IOException, ClassNotFoundException
 
void executeScript (String engineName, File file) throws ScriptException, IOException, ClassNotFoundException
 
ScriptEngine getEngineByExtension (String ext)
 
ScriptContext getScriptContext (String engineName)
 
List< ScriptManager<?> > getScriptManagers ()
 
void loadScripts () throws IOException
 
void loadMods () throws IOException
 
void registerScriptManager (ScriptManager<?> manager)
 
void removeScriptManager (ScriptManager<?> manager)
 
Object callScripts (String paramString1, String paramString2)
 
Object callScripts (String paramString1, String paramString2, L2Object[] paramArrayOfObject)
 
Object callScripts (String paramString1, String paramString2, Map< String, L2Object > paramMap)
 
Object callScripts (String paramString1, String paramString2, L2Object[] paramArrayOfObject, Map< String, L2Object > paramMap)
 
Object callScripts (L2PcInstance paramPlayer, String paramString1, String paramString2)
 
Object callScripts (L2PcInstance paramPlayer, String paramString1, String paramString2, L2Object[] paramArrayOfObject)
 
Object callScripts (L2PcInstance paramPlayer, String paramString1, String paramString2, Map< String, L2Object > paramMap)
 
Object callScripts (L2PcInstance paramPlayer, String paramString1, String paramString2, Object[] paramArrayOfObject, Map< String, L2Object > paramMap)
 

Static Public Member Functions

static CompiledScript compile (ScriptEngine engine, String script) throws ScriptException
 
static Object eval (ScriptEngine engine, String script) throws ScriptException
 
static Object eval (ScriptEngine engine, String script, ScriptContext context) throws ScriptException
 
static String getClassForFile (File script)
 
static L2ScriptEngineManager getInstance ()
 
static ScriptContext getScriptContext (ScriptEngine engine)
 
static void reportScriptFileError (File script, ScriptException e)
 

Static Public Attributes

static File SCRIPT_FOLDER
 
static final Map< Integer, List< ScriptClassAndMethod > > dialogAppends = new HashMap<>()
 
static final Map< String, ScriptClassAndMethod > onAction = new HashMap<>()
 
static final Map< String, ScriptClassAndMethod > onActionShift = new HashMap<>()
 

Protected Member Functions

String getCurrentLoadingScript ()
 
void setCurrentLoadingScript (String currentLoadingScript)
 

The documentation for this class was generated from the following file: