mirror of
https://github.com/KAMKEEL/CustomNPC-Plus-API.git
synced 2026-11-15 18:24:44 +00:00
27 lines
509 B
Java
27 lines
509 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();
|
|
|
|
@Cancelable
|
|
interface DialogOpen extends IDialogEvent {
|
|
}
|
|
|
|
@Cancelable
|
|
interface DialogOption extends IDialogEvent {
|
|
|
|
int getOptionId();
|
|
|
|
void setOptionId(int optionId);
|
|
}
|
|
|
|
interface DialogClosed extends IDialogEvent {
|
|
|
|
int getOptionId();
|
|
}
|
|
}
|