java.lang.Object
net.botwithus.rs3.game.quest.Quest
An immutable representation of a quest in RuneScape
-
Method Summary
Modifier and TypeMethodDescriptionbyId(int id) intReturns the category of the questintReturns the difficulty of the questReturns the list name of the questintReturns the sprite id of the quest itemintReturns the quest point requirement to start the questintReturns the rewarded quest points on completionReturns the quests required to start this questReturns the required skills to start the questReturns the start locations of the questbooleanReturns whether the player has the quest requirements to start Checks quest points, skills, and required questsbooleanReturns whether the quest has been completedbooleanReturns whether the quest is members onlybooleanReturns whether the quest has been startedname()Returns the name of the questintprogress()Returns the progress of the questtype()
-
Method Details
-
isStarted
public boolean isStarted()Returns whether the quest has been started- Returns:
- true if the quest has been started
-
isComplete
public boolean isComplete()Returns whether the quest has been completed- Returns:
- true if the quest has been completed
-
progress
public int progress()Returns the progress of the quest- Returns:
- the progress of the quest
-
name
Returns the name of the quest- Returns:
- the name of the quest
-
getQuestPoints
public int getQuestPoints()Returns the rewarded quest points on completion- Returns:
- the rewarded quest points on completion
-
getQuestPointReq
public int getQuestPointReq()Returns the quest point requirement to start the quest- Returns:
- the quest point requirement to start the quest
-
getCategory
public int getCategory()Returns the category of the quest- Returns:
- the category of the quest
-
getDifficulty
public int getDifficulty()Returns the difficulty of the quest- Returns:
- the difficulty of the quest
-
isMembers
public boolean isMembers()Returns whether the quest is members only- Returns:
- true if the quest is members only
-
getListName
Returns the list name of the quest- Returns:
- the list name of the quest
-
getQuestItemSprite
public int getQuestItemSprite()Returns the sprite id of the quest item- Returns:
- the sprite id of the quest item
-
getRequiredSkills
Returns the required skills to start the quest- Returns:
- the required skills to start the quest
-
hasRequirements
public boolean hasRequirements()Returns whether the player has the quest requirements to start Checks quest points, skills, and required quests- Returns:
- true if the player has all the requirements to start
-
getRequiredQuests
Returns the quests required to start this quest- Returns:
- the quests required to start this quest
-
getStartLocations
Returns the start locations of the quest- Returns:
- the start locations of the quest
-
type
-
byId
-