mirror of
https://github.com/KAMKEEL/CustomNPC-Plus-API.git
synced 2026-11-16 13:04:47 +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
@@ -5,8 +5,23 @@ import noppes.npcs.api.handler.data.IDialogCategory;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* Handles retrieval of dialogs and dialog categories.
|
||||
*/
|
||||
public interface IDialogHandler {
|
||||
|
||||
/**
|
||||
* Returns all dialog categories.
|
||||
*
|
||||
* @return a list of dialog categories.
|
||||
*/
|
||||
List<IDialogCategory> categories();
|
||||
|
||||
IDialog get(int var1);
|
||||
/**
|
||||
* Returns the dialog with the specified ID.
|
||||
*
|
||||
* @param id the dialog ID.
|
||||
* @return the dialog, or null if not found.
|
||||
*/
|
||||
IDialog get(int id);
|
||||
}
|
||||
Reference in new issue
Block a user