mirror of
https://github.com/KAMKEEL/CustomNPC-Plus-API.git
synced 2026-11-16 00:14:44 +00:00
A lot of GOOD API DOCUMENTATION
This commit is contained in:
1 parent
a6c55ca331
commit
319e774518
131 files changed
+3363
-175
No files matched your search
@@ -1,10 +1,29 @@
|
||||
package noppes.npcs.api.handler;
|
||||
|
||||
/**
|
||||
* Tracks which dialogs a player has read.
|
||||
*/
|
||||
public interface IPlayerDialogData {
|
||||
|
||||
/**
|
||||
* Checks if the player has read the dialog with the given ID.
|
||||
*
|
||||
* @param id the dialog ID.
|
||||
* @return true if the dialog has been read; false otherwise.
|
||||
*/
|
||||
boolean hasReadDialog(int id);
|
||||
|
||||
/**
|
||||
* Marks the dialog with the given ID as read.
|
||||
*
|
||||
* @param id the dialog ID.
|
||||
*/
|
||||
void readDialog(int id);
|
||||
|
||||
/**
|
||||
* Marks the dialog with the given ID as unread.
|
||||
*
|
||||
* @param id the dialog ID.
|
||||
*/
|
||||
void unreadDialog(int id);
|
||||
}
|
||||
Reference in new issue
Block a user