Package l2p.extensions.scripts

Examples of l2p.extensions.scripts.Script


    if(l2p.extensions.scripts.ScriptManager.loading)
    {
      return null;
    }
    ScriptObject o;
    Script scriptClass = ScriptManager.getInstance().getClasses().get(_class);
    if(scriptClass == null)
    {
      _log.info("Script class " + _class + " not found");
      return null;
    }
    try
    {
      o = scriptClass.newInstance();
    }
    catch(Exception e)
    {
      e.printStackTrace();
      return null;
View Full Code Here


    {
      _this_class = (Class<L2NpcInstance>) Class.forName("l2p.gameserver.model.instances." + type + "Instance");
    }
    catch(ClassNotFoundException e)
    {
      Script sc = ScriptManager.getInstance().getClasses().get("npc.model." + type + "Instance");
      if(sc != null)
      {
        _this_class = (Class<L2NpcInstance>) sc.getRawClass();
      }
    }
    if(_this_class == null)
    {
      System.out.println("Not found type: " + type);
View Full Code Here

TOP

Related Classes of l2p.extensions.scripts.Script

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.