L2JPREMIUM  5M
com.premium.game.model.quest.Quest Class Reference
Inheritance diagram for com.premium.game.model.quest.Quest:
Collaboration diagram for com.premium.game.model.quest.Quest:

Classes

class  DeSpawnScheduleTimerTask
 
enum  QuestEventType
 
class  tmpOnAggroEnter
 

Public Member Functions

 Quest (int questId, String name, String descr)
 
L2NpcTemplate addAggroRangeEnterId (int npcId)
 
L2NpcTemplate addAttackId (int attackId)
 
L2NpcTemplate addEventId (int npcId, QuestEventType eventType)
 
L2NpcTemplate addFactionCallId (int npcId)
 
L2NpcTemplate addFirstTalkId (int npcId)
 
L2NpcTemplate addIntentionChange (int npcId)
 
L2NpcTemplate addKillId (int killId)
 
L2NpcTemplate addSkillSeeId (int npcId)
 
void addKillId (int... killIds)
 
L2NpcTemplate addSkillUseId (int npcId)
 
L2Npc addSpawn (int npcId, int x, int y, int z, int heading, boolean randomOffset, int despawnDelay)
 
L2Npc addSpawn (int npcId, int x, int y, int z, int heading, boolean randomOffset, int despawnDelay, boolean isSummonSpawn)
 
L2Npc addSpawn (int npcId, L2Character cha)
 
L2Npc addSpawn (int npcId, L2Character cha, boolean isSummonSpawn)
 
L2NpcTemplate addSpawnId (int npcId)
 
L2NpcTemplate addSpellFinishedId (int npcId)
 
L2NpcTemplate addStartNpc (int npcId)
 
L2NpcTemplate addTalkId (int talkId)
 
void cancelQuestTimer (String name, L2Npc npc, L2PcInstance player)
 
void cancelQuestTimers (String name)
 
final void deleteAllGlobalQuestVars ()
 
final void deleteGlobalQuestVar (String var)
 
String getDescr ()
 
byte getInitialState ()
 
String getName ()
 
int getQuestIntId ()
 
QuestTimer getQuestTimer (String name, L2Npc npc, L2PcInstance player)
 
L2PcInstance getRandomPartyMember (L2PcInstance player)
 
L2PcInstance getRandomPartyMember (L2PcInstance player, String value)
 
L2PcInstance getRandomPartyMember (L2PcInstance player, String var, String value)
 
L2PcInstance getRandomPartyMemberState (L2PcInstance player, byte state)
 
int[] getRegisteredItemIds ()
 
ScriptManager<?> getScriptManager ()
 
String getScriptName ()
 
final String loadGlobalQuestVar (String var)
 
QuestState newQuestState (L2PcInstance player)
 
final boolean notifyAggroRangeEnter (L2Npc npc, L2PcInstance player, boolean isPet)
 
final boolean notifyAttack (L2Npc npc, L2PcInstance attacker, int damage, boolean isPet, L2Skill skill)
 
final boolean notifyDeath (L2Character killer, L2Character victim, QuestState qs)
 
final boolean notifyEvent (String event, L2Npc npc, L2PcInstance player)
 
final boolean notifyExitQuest (L2PcInstance player)
 
final boolean notifyFactionCall (L2Npc npc, L2Npc caller, L2PcInstance attacker, boolean isPet)
 
final boolean notifyFirstTalk (L2Npc npc, L2PcInstance player)
 
final void notifyIntentionChange (L2Character npc, CtrlIntention newIntention)
 
final boolean notifyKill (L2Npc npc, L2PcInstance killer, boolean isPet)
 
final boolean notifySkillSee (L2Npc npc, L2PcInstance caster, L2Skill skill, L2Object[] targets, boolean isPet)
 
final boolean notifySpawn (L2Npc npc)
 
final boolean notifySpellFinished (L2Npc instance, L2PcInstance player, L2Skill skill)
 
final boolean notifyTalk (L2Npc npc, QuestState qs)
 
String onAdvEvent (String event, L2Npc npc, L2PcInstance player)
 
String onAggroRangeEnter (L2Npc npc, L2PcInstance player, boolean isPet)
 
String onAttack (L2Npc npc, L2PcInstance attacker, int damage, boolean isPet)
 
String onAttack (L2Npc npc, L2PcInstance attacker, int damage, boolean isPet, L2Skill skill)
 
String onDeath (L2Character killer, L2Character victim, QuestState qs)
 
String onDisconnect (QuestState qs, L2PcInstance player)
 
String onEvent (String event, QuestState qs)
 
String onEvent (String event, QuestState qs, boolean gmShopUser)
 
String onExitQuest (L2PcInstance player)
 
String onFactionCall (L2Npc npc, L2Npc caller, L2PcInstance attacker, boolean isPet)
 
String onFirstTalk (L2Npc npc, L2PcInstance player)
 
void onIntentionChange (L2Character cha, CtrlIntention newIntention)
 
String onKill (L2Npc npc, L2PcInstance killer, boolean isPet)
 
String onLogin (QuestState qs, L2PcInstance player)
 
String onSkillSee (L2Npc npc, L2PcInstance caster, L2Skill skill, L2Object[] targets, boolean isPet)
 
String onSkillUse (L2Npc npc, L2PcInstance caster, L2Skill skill)
 
String onSpawn (L2Npc npc)
 
String onSpellFinished (L2Npc npc, L2PcInstance player, L2Skill skill)
 
String onTalk (L2Npc npc, L2PcInstance talker)
 
boolean reload ()
 
void removeQuestTimer (QuestTimer timer)
 
void saveGlobalData ()
 
final void saveGlobalQuestVar (String var, String value)
 
void setActive (boolean status)
 
void setInitialState (QuestState qs)
 
void setState (QuestState qs)
 
boolean showError (L2PcInstance player, Throwable t)
 
String showHtmlFile (L2PcInstance player, String fileName)
 
String showHtmlFile (L2PcInstance player, String fileName, boolean loadOnly)
 
boolean showResult (L2PcInstance player, String res)
 
void startQuestTimer (String name, long time, L2Npc npc, L2PcInstance player)
 
void startQuestTimer (String name, long time, L2Npc npc, L2PcInstance player, boolean repeating)
 
boolean unload ()
 
- Public Member Functions inherited from com.premium.game.scripting.ManagedScript
String getScriptFile ()
 
boolean isActive ()
 

Static Public Member Functions

static final boolean contains (int[] array, int obj)
 
static final< T > boolean contains (T[] array, T obj)
 
static void createQuestInDb (QuestState qs)
 
static void createQuestVarInDb (QuestState qs, String var, String value)
 
static void deleteQuestInDb (QuestState qs)
 
static void deleteQuestVarInDb (QuestState qs, String var)
 
static Collection< QuestfindAllEvents ()
 
static final void playerEnter (L2PcInstance player)
 
static void updateQuestInDb (QuestState qs)
 
static void updateQuestVarInDb (QuestState qs, String var, String value)
 

Public Attributes

int[] questItemIds = null
 

Protected Member Functions

void init_LoadGlobalData ()
 
- Protected Member Functions inherited from com.premium.game.scripting.ManagedScript
long getLastLoadTime ()
 
void setLastLoadTime (long lastLoadTime)
 

Static Protected Attributes

static Logger _log = Logger.getLogger(Quest.class.getName())
 

The documentation for this class was generated from the following file: