content: /**
   * This file is part of Aion-Lightning <aion-lightning.org>.
   *
   *  Aion-Lightning is free software: you can redistribute it and/or modify
   *  it under the terms of the GNU General Public License as published by
   *  the Free Software Foundation, either version 3 of the License, or
   *  (at your option) any later version.
   *
   *  Aion-Lightning is distributed in the hope that it will be useful,
   *  but WITHOUT ANY WARRANTY; without even the implied warranty of
   *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   *  GNU General Public License for more details. *
   *  You should have received a copy of the GNU General Public License
   *  along with Aion-Lightning.
   *  If not, see <http://www.gnu.org/licenses/>.
   */
  package com.aionemu.gameserver.questEngine.handlers.models;
  
  import java.util.List;
  
  import javax.xml.bind.annotation.XmlAccessType;
  import javax.xml.bind.annotation.XmlAccessorType;
  import javax.xml.bind.annotation.XmlAttribute;
  import javax.xml.bind.annotation.XmlType;
  
  import com.aionemu.gameserver.questEngine.QuestEngine;
  import com.aionemu.gameserver.questEngine.handlers.template.ItemCollecting;
  
  /**
   * @author MrPoke
   * @modified Rolandas
   */
  @XmlAccessorType(XmlAccessType.FIELD)
  @XmlType(name = "ItemCollectingData")
  public class ItemCollectingData extends XMLQuest {
  
  	@XmlAttribute(name = "start_npc_ids", required = true)
  	protected List<Integer> startNpcIds;
  	@XmlAttribute(name = "action_item_ids")
  	protected List<Integer> actionItemIds;
  	@XmlAttribute(name = "end_npc_ids")
  	protected List<Integer> endNpcIds;
  	@XmlAttribute(name = "next_npc_id", required = true)
  	protected int nextNpcId;
  	@XmlAttribute(name = "start_dialog_id")
  	protected int startDialogId;
  	@XmlAttribute(name = "start_dialog_id2")
  	protected int startDialogId2;
  	@XmlAttribute(name = "item_id")
  	protected int itemId;
  
  	@Override
  	public void register(QuestEngine questEngine) {
  		ItemCollecting template = new ItemCollecting(id, startNpcIds, nextNpcId, actionItemIds, endNpcIds, questMovie, startDialogId, startDialogId2, itemId);
  		questEngine.addQuestHandler(template);
  	}
  }
  