mirror of
https://github.com/KAMKEEL/CustomNPC-Plus-API.git
synced 2026-11-15 11:24:44 +00:00
28 lines
505 B
Java
28 lines
505 B
Java
package noppes.npcs.api.event;
|
|
|
|
import cpw.mods.fml.common.eventhandler.Cancelable;
|
|
import noppes.npcs.api.handler.data.IDialog;
|
|
|
|
public interface IDialogEvent extends IPlayerEvent {
|
|
|
|
IDialog getDialog();
|
|
|
|
int getDialogId();
|
|
|
|
int getOptionId();
|
|
|
|
@Cancelable
|
|
interface DialogOpen extends IDialogEvent {
|
|
}
|
|
|
|
@Cancelable
|
|
interface DialogOption extends IDialogEvent {
|
|
}
|
|
|
|
/**
|
|
* @hookName dialogClose
|
|
*/
|
|
interface DialogClosed extends IDialogEvent {
|
|
}
|
|
}
|