Examples of PcAppearance


Examples of com.l2jfrozen.gameserver.model.actor.appearance.PcAppearance

   * @return The L2PcInstance added to the database or null
   */
  public static L2PcInstance create(int objectId, L2PcTemplate template, String accountName, String name, byte hairStyle, byte hairColor, byte face, boolean sex)
  {
    // Create a new L2PcInstance with an account name
    PcAppearance app = new PcAppearance(face, hairColor, hairStyle, sex);
    L2PcInstance player = new L2PcInstance(objectId, template, accountName, app);
    app = null;

    // Set the name of the L2PcInstance
    player.setName(name);
View Full Code Here

Examples of com.l2jfrozen.gameserver.model.actor.appearance.PcAppearance

      while(rset.next())
      {
        final int activeClassId = rset.getInt("classid");
        final boolean female = rset.getInt("sex") != 0;
        final L2PcTemplate template = CharTemplateTable.getInstance().getTemplate(activeClassId);
        PcAppearance app = new PcAppearance(rset.getByte("face"), rset.getByte("hairColor"), rset.getByte("hairStyle"), female);

        player = new L2PcInstance(objectId, template, rset.getString("account_name"), app);
        player.setName(rset.getString("char_name"));
        player._lastAccess = rset.getLong("lastAccess");
View Full Code Here

Examples of net.sf.l2j.gameserver.model.actor.appearance.PcAppearance

   * @return The L2PcInstance added to the database or null
   */
  public static L2PcInstance create(int objectId, L2PcTemplate template, String accountName, String name, byte hairStyle, byte hairColor, byte face, boolean sex)
  {
    // Create a new L2PcInstance with an account name
    PcAppearance app = new PcAppearance(face, hairColor, hairStyle, sex);
    L2PcInstance player = new L2PcInstance(objectId, template, accountName, app);
   
    // Set the name of the L2PcInstance
    player.setName(name);
   
View Full Code Here

Examples of net.sf.l2j.gameserver.model.actor.appearance.PcAppearance

      while (rset.next())
      {
        final int activeClassId = rset.getInt("classid");
        final boolean female = rset.getInt("sex") != 0;
        final L2PcTemplate template = CharTemplateTable.getInstance().getTemplate(activeClassId);
        PcAppearance app = new PcAppearance(rset.getByte("face"), rset.getByte("hairColor"), rset.getByte("hairStyle"), female);
       
        player = new L2PcInstance(objectId, template, rset.getString("account_name"), app);
        player.setName(rset.getString("char_name"));
        player._lastAccess = rset.getLong("lastAccess");
       
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.