Package noppes.npcs.api.handler
Interface IPlayerDialogData
-
public interface IPlayerDialogDataTracks which dialogs a player has read.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanhasReadDialog(int id)Checks if the player has read the dialog with the given ID.voidreadDialog(int id)Marks the dialog with the given ID as read.voidunreadDialog(int id)Marks the dialog with the given ID as unread.
-
-
-
Method Detail
-
hasReadDialog
boolean hasReadDialog(int id)
Checks if the player has read the dialog with the given ID.- Parameters:
id- the dialog ID.- Returns:
- true if the dialog has been read; false otherwise.
-
readDialog
void readDialog(int id)
Marks the dialog with the given ID as read.- Parameters:
id- the dialog ID.
-
unreadDialog
void unreadDialog(int id)
Marks the dialog with the given ID as unread.- Parameters:
id- the dialog ID.
-
-