mirror of
https://github.com/KAMKEEL/CustomNPC-Plus-API.git
synced 2026-11-15 17:14:44 +00:00
Implemented get/setDialog functions for ICustomNpc.
This commit is contained in:
1 parent
ffe67e93f1
commit
67aa9e7cb3
1 file changed
+9
@@ -11,6 +11,7 @@ import noppes.npcs.api.ITimers;
|
||||
import noppes.npcs.api.entity.data.IModelData;
|
||||
import noppes.npcs.api.handler.IOverlayHandler;
|
||||
import noppes.npcs.api.handler.data.IAnimationData;
|
||||
import noppes.npcs.api.handler.data.IDialog;
|
||||
import noppes.npcs.api.handler.data.IFaction;
|
||||
import noppes.npcs.api.item.IItemStack;
|
||||
import noppes.npcs.api.jobs.IJob;
|
||||
@@ -200,6 +201,14 @@ public interface ICustomNpc<T extends EntityCreature> extends IEntityLiving<T> {
|
||||
*/
|
||||
void say(IPlayer player, String message);
|
||||
|
||||
IDialog getDialog(int slot);
|
||||
|
||||
int getDialogId(int slot);
|
||||
|
||||
void setDialog(int slot, IDialog dialog);
|
||||
|
||||
void setDialog(int slot, int dialogId);
|
||||
|
||||
/**
|
||||
* Kill the npc, doesnt't despawn it
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user