A lot of GOOD API DOCUMENTATION

This commit is contained in:
Kam committed 2026-03-09 16:20:07 -04:00
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);
}