mirror of
https://github.com/KAMKEEL/CustomNPC-Plus-API.git
synced 2026-11-15 04:24:45 +00:00
29 lines
510 B
Java
29 lines
510 B
Java
package noppes.npcs.api.handler;
|
|
|
|
import noppes.npcs.api.handler.data.IQuest;
|
|
|
|
public interface IPlayerQuestData {
|
|
|
|
IQuest getTrackedQuest();
|
|
|
|
void startQuest(int id);
|
|
|
|
void finishQuest(int id);
|
|
|
|
void stopQuest(int id);
|
|
|
|
void removeQuest(int id);
|
|
|
|
boolean hasFinishedQuest(int id);
|
|
|
|
public boolean hasActiveQuest(int id);
|
|
|
|
IQuest[] getActiveQuests();
|
|
|
|
IQuest[] getFinishedQuests();
|
|
|
|
long getLastCompletedTime(int id);
|
|
|
|
void setLastCompletedTime(int id,long time);
|
|
}
|