/*
* This file is part of aion-emu <aion-emu.com>.
*
* aion-emu 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-emu 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-emu. If not, see <http://www.gnu.org/licenses/>.
*/
package com.aionemu.gameserver.model.templates.quest;
import java.util.ArrayList;
import java.util.List;
/**
* @author MrPoke
*
*/
public class NpcQuestData
{
private List<Integer> onQuestStart = new ArrayList<Integer>();
private List<Integer> onKillEvent = new ArrayList<Integer>();
private List<Integer> onTalkEvent = new ArrayList<Integer>();
private List<Integer> onAttackEvent = new ArrayList<Integer>();
public NpcQuestData()
{
}
public void addOnQuestStart(int questId)
{
if (!onQuestStart.contains(questId))
{
onQuestStart.add(questId);
}
}
public List<Integer> getOnQuestStart()
{
return onQuestStart;
}
public void addOnAttackEvent(int questId)
{
if (!onAttackEvent.contains(questId))
{
onAttackEvent.add(questId);
}
}
public List<Integer> getOnAttackEvent()
{
return onAttackEvent;
}
public void addOnKillEvent(int questId)
{
if (!onKillEvent.contains(questId))
{
onKillEvent.add(questId);
}
}
public List<Integer> getOnKillEvent()
{
return onKillEvent;
}
public void addOnTalkEvent(int questId)
{
if (!onTalkEvent.contains(questId))
{
onTalkEvent.add(questId);
}
}
public List<Integer> getOnTalkEvent()
{
return onTalkEvent;
}
}