Package net.sf.l2j.gameserver.serverpackets

Examples of net.sf.l2j.gameserver.serverpackets.CharTemplates


  @Override
  protected void runImpl()
  {
    if (Config.DEBUG) _log.fine("CreateNewChar");

    CharTemplates ct = new CharTemplates();

    L2PcTemplate template = CharTemplateTable.getInstance().getTemplate(0);
    ct.addChar(template);

    template = CharTemplateTable.getInstance().getTemplate(ClassId.fighter)// human fighter
    ct.addChar(template);

    template = CharTemplateTable.getInstance().getTemplate(ClassId.mage)// human mage
    ct.addChar(template);

    template = CharTemplateTable.getInstance().getTemplate(ClassId.elvenFighter)// elf fighter
    ct.addChar(template);

    template = CharTemplateTable.getInstance().getTemplate(ClassId.elvenMage)// elf mage
    ct.addChar(template);

    template = CharTemplateTable.getInstance().getTemplate(ClassId.darkFighter)// dark elf fighter
    ct.addChar(template);

    template = CharTemplateTable.getInstance().getTemplate(ClassId.darkMage)// dark elf mage
    ct.addChar(template);

    template = CharTemplateTable.getInstance().getTemplate(ClassId.orcFighter)// orc fighter
    ct.addChar(template);

    template = CharTemplateTable.getInstance().getTemplate(ClassId.orcMage)// orc mage
    ct.addChar(template);

    template = CharTemplateTable.getInstance().getTemplate(ClassId.dwarvenFighter)// dwarf fighter
    ct.addChar(template);

    sendPacket(ct);
  }
View Full Code Here

TOP

Related Classes of net.sf.l2j.gameserver.serverpackets.CharTemplates

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.