mirror of
https://github.com/KAMKEEL/CustomNPC-Plus-API.git
synced 2026-11-16 00:14:44 +00:00
Add CNPC+ Api
This commit is contained in:
1 parent
0c4db676e4
commit
95e2f9df01
109 files changed
+7308
No files matched your search
@@ -0,0 +1,138 @@
|
||||
//
|
||||
// Source code recreated from a .class file by IntelliJ IDEA
|
||||
// (powered by FernFlower decompiler)
|
||||
//
|
||||
|
||||
package noppes.npcs.api.handler.data;
|
||||
import java.util.List;
|
||||
|
||||
public interface IDialog {
|
||||
int getId();
|
||||
|
||||
String getName();
|
||||
|
||||
void setName(String var1);
|
||||
|
||||
String getText();
|
||||
|
||||
void setText(String var1);
|
||||
|
||||
IQuest getQuest();
|
||||
|
||||
void setQuest(IQuest var1);
|
||||
|
||||
String getCommand();
|
||||
|
||||
void setCommand(String var1);
|
||||
|
||||
List<IDialogOption> getOptions();
|
||||
|
||||
IDialogOption getOption(int var1);
|
||||
|
||||
IAvailability getAvailability();
|
||||
|
||||
IDialogCategory getCategory();
|
||||
|
||||
void setDarkenScreen(boolean darkenScreen);
|
||||
boolean getDarkenScreen();
|
||||
|
||||
void setDisableEsc(boolean disableEsc);
|
||||
boolean getDisableEsc();
|
||||
|
||||
void setShowWheel(boolean showWheel);
|
||||
boolean getShowWheel();
|
||||
|
||||
void setHideNPC(boolean hideNPC);
|
||||
boolean getHideNPC();
|
||||
|
||||
void setSound(String sound);
|
||||
String getSound();
|
||||
|
||||
void save();
|
||||
|
||||
void setColor(int color);
|
||||
|
||||
int getColor();
|
||||
|
||||
void setTitleColor(int titleColor);
|
||||
|
||||
int getTitleColor();
|
||||
|
||||
void renderGradual(boolean gradual);
|
||||
|
||||
boolean renderGradual();
|
||||
|
||||
void showPreviousBlocks(boolean show);
|
||||
|
||||
boolean showPreviousBlocks();
|
||||
|
||||
void showOptionLine(boolean show);
|
||||
|
||||
boolean showOptionLine();
|
||||
|
||||
void setTextSound(String textSound);
|
||||
|
||||
String getTextSound();
|
||||
|
||||
void setTextPitch(float textPitch);
|
||||
|
||||
float getTextPitch();
|
||||
|
||||
void setTitlePos(int pos);
|
||||
|
||||
int getTitlePos();
|
||||
|
||||
void setNPCScale(float scale);
|
||||
|
||||
float getNpcScale();
|
||||
|
||||
void setNpcOffset(int offsetX, int offsetY);
|
||||
|
||||
int getNpcOffsetX();
|
||||
|
||||
int getNpcOffsetY();
|
||||
|
||||
void textWidthHeight(int textWidth, int textHeight);
|
||||
|
||||
int getTextWidth();
|
||||
|
||||
int setTextHeight();
|
||||
|
||||
void setTextOffset(int offsetX, int offsetY);
|
||||
|
||||
int getTextOffsetX();
|
||||
|
||||
int getTextOffsetY();
|
||||
|
||||
void setTitleOffset(int offsetX, int offsetY);
|
||||
|
||||
int getTitleOffsetX();
|
||||
|
||||
int getTitleOffsetY();
|
||||
|
||||
void setOptionOffset(int offsetX, int offsetY);
|
||||
|
||||
int getOptionOffsetX();
|
||||
|
||||
int getOptionOffsetY();
|
||||
|
||||
void setOptionSpacing(int spaceX, int spaceY);
|
||||
|
||||
int getOptionSpaceX();
|
||||
|
||||
int getOptionSpaceY();
|
||||
|
||||
void addImage(int id, IDialogImage image);
|
||||
|
||||
IDialogImage getImage(int id);
|
||||
|
||||
IDialogImage createImage();
|
||||
|
||||
IDialogImage[] getImages();
|
||||
|
||||
boolean hasImage(int id);
|
||||
|
||||
void removeImage(int id);
|
||||
|
||||
void clearImages();
|
||||
}
|
||||
Reference in new issue
Block a user