Package noppes.npcs.api.handler.data
Interface IQuest
public interface IQuest
-
Method Summary
Modifier and TypeMethodDescriptionintgetId()booleangetName()getObjectives(IPlayer player) intgetType()voidsave()voidsetCompleteText(String text) voidsetLogText(String text) voidvoidsetNextQuest(IQuest quest) voidsetNpcName(String name) voidsetType(int type)
-
Method Details
-
getId
int getId() -
getName
String getName() -
setName
-
getType
int getType() -
setType
void setType(int type) -
getLogText
String getLogText() -
setLogText
-
getCompleteText
String getCompleteText() -
setCompleteText
-
getNextQuest
IQuest getNextQuest() -
setNextQuest
-
getObjectives
-
getCategory
IQuestCategory getCategory() -
getRewards
IContainer getRewards() -
getNpcName
String getNpcName()- Returns:
- The npcs name where this quest can be completed
-
setNpcName
- Parameters:
name- The npcs name where this quest can be completed
-
save
void save() -
getIsRepeatable
boolean getIsRepeatable()
-