Package com.l2jfrozen.gameserver.model

Examples of com.l2jfrozen.gameserver.model.L2Bookmark


     
      while (result.next())
      {
        String name = result.getString("name");
       
        _bks.add(new L2Bookmark(name, result.getInt("obj_Id"), result.getInt("x"), result.getInt("y"), result.getInt("z")));
      }
      result.close();
      statement.close();
    }
    catch (Exception e)
View Full Code Here


    final int objId = player.getObjectId();
    final int x = player.getX();
    final int y = player.getY();
    final int z = player.getZ();
   
    _bks.add(new L2Bookmark(name, objId, x, y, z));
   
      java.sql.Connection con = null;
      try
      {
        con = L2DatabaseFactory.getInstance().getConnection(false);
View Full Code Here

   * @param name The name of the bookmark.
   * @param objId The player Id to make checks on.
   */
  public void deleteBookmark(String name, int objId)
  {
    final L2Bookmark bookmark = getBookmark(name, objId);
    if (bookmark != null)
    {
      _bks.remove(bookmark);
     
      java.sql.Connection con = null;
View Full Code Here

   
    String name, x, y, z;
   
    for (int i = start; i < end; i++)
    {
      L2Bookmark bk = bookmarks[i];
      if (bk != null)
      {
        name = bk.getName();
        x = String.valueOf(bk.getX());
        y = String.valueOf(bk.getY());
        z = String.valueOf(bk.getZ());
       
        StringUtil.append(replyMSG, "<tr><td><a action=\"bypass -h admin_move_to ", x, " ", y, " ", z, "\">", name, " (", x, " ", y, " ", z, ")", "</a></td><td><a action=\"bypass -h admin_delbk ", name, "\">Remove</a></td></tr>");
      }
    }
   
View Full Code Here

TOP

Related Classes of com.l2jfrozen.gameserver.model.L2Bookmark

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.