Package noppes.npcs.api.handler.data
Interface IDialog
-
public interface IDialog
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddImage(int id, IDialogImage image)voidclearImages()IDialogImagecreateImage()IAvailabilitygetAvailability()IDialogCategorygetCategory()intgetColor()java.lang.StringgetCommand()booleangetDarkenScreen()booleangetDisableEsc()booleangetHideNPC()intgetId()IDialogImagegetImage(int id)IDialogImage[]getImages()java.lang.StringgetName()intgetNpcOffsetX()intgetNpcOffsetY()floatgetNpcScale()IDialogOptiongetOption(int var1)intgetOptionOffsetX()intgetOptionOffsetY()java.util.List<IDialogOption>getOptions()intgetOptionSpaceX()intgetOptionSpaceY()IQuestgetQuest()booleangetShowWheel()java.lang.StringgetSound()java.lang.StringgetText()intgetTextOffsetX()intgetTextOffsetY()floatgetTextPitch()java.lang.StringgetTextSound()intgetTextWidth()intgetTitleColor()intgetTitleOffsetX()intgetTitleOffsetY()intgetTitlePos()booleanhasImage(int id)voidremoveImage(int id)booleanrenderGradual()voidrenderGradual(boolean gradual)voidsave()voidsetColor(int color)voidsetCommand(java.lang.String var1)voidsetDarkenScreen(boolean darkenScreen)voidsetDisableEsc(boolean disableEsc)voidsetHideNPC(boolean hideNPC)voidsetName(java.lang.String var1)voidsetNpcOffset(int offsetX, int offsetY)voidsetNPCScale(float scale)voidsetOptionOffset(int offsetX, int offsetY)voidsetOptionSpacing(int spaceX, int spaceY)voidsetQuest(IQuest var1)voidsetShowWheel(boolean showWheel)voidsetSound(java.lang.String sound)voidsetText(java.lang.String var1)intsetTextHeight()voidsetTextOffset(int offsetX, int offsetY)voidsetTextPitch(float textPitch)voidsetTextSound(java.lang.String textSound)voidsetTitleColor(int titleColor)voidsetTitleOffset(int offsetX, int offsetY)voidsetTitlePos(int pos)booleanshowOptionLine()voidshowOptionLine(boolean show)booleanshowPreviousBlocks()voidshowPreviousBlocks(boolean show)voidtextWidthHeight(int textWidth, int textHeight)
-
-
-
Method Detail
-
getId
int getId()
-
getName
java.lang.String getName()
-
setName
void setName(java.lang.String var1)
-
getText
java.lang.String getText()
-
setText
void setText(java.lang.String var1)
-
getQuest
IQuest getQuest()
-
setQuest
void setQuest(IQuest var1)
-
getCommand
java.lang.String getCommand()
-
setCommand
void setCommand(java.lang.String var1)
-
getOptions
java.util.List<IDialogOption> getOptions()
-
getOption
IDialogOption getOption(int var1)
-
getAvailability
IAvailability getAvailability()
-
getCategory
IDialogCategory getCategory()
-
setDarkenScreen
void setDarkenScreen(boolean darkenScreen)
-
getDarkenScreen
boolean getDarkenScreen()
-
setDisableEsc
void setDisableEsc(boolean disableEsc)
-
getDisableEsc
boolean getDisableEsc()
-
setShowWheel
void setShowWheel(boolean showWheel)
-
getShowWheel
boolean getShowWheel()
-
setHideNPC
void setHideNPC(boolean hideNPC)
-
getHideNPC
boolean getHideNPC()
-
setSound
void setSound(java.lang.String sound)
-
getSound
java.lang.String getSound()
-
save
void save()
-
setColor
void setColor(int color)
-
getColor
int getColor()
-
setTitleColor
void setTitleColor(int titleColor)
-
getTitleColor
int getTitleColor()
-
renderGradual
void renderGradual(boolean gradual)
-
renderGradual
boolean renderGradual()
-
showPreviousBlocks
void showPreviousBlocks(boolean show)
-
showPreviousBlocks
boolean showPreviousBlocks()
-
showOptionLine
void showOptionLine(boolean show)
-
showOptionLine
boolean showOptionLine()
-
setTextSound
void setTextSound(java.lang.String textSound)
-
getTextSound
java.lang.String getTextSound()
-
setTextPitch
void setTextPitch(float textPitch)
-
getTextPitch
float getTextPitch()
-
setTitlePos
void setTitlePos(int pos)
-
getTitlePos
int getTitlePos()
-
setNPCScale
void setNPCScale(float scale)
-
getNpcScale
float getNpcScale()
-
setNpcOffset
void setNpcOffset(int offsetX, int offsetY)
-
getNpcOffsetX
int getNpcOffsetX()
-
getNpcOffsetY
int getNpcOffsetY()
-
textWidthHeight
void textWidthHeight(int textWidth, int textHeight)
-
getTextWidth
int getTextWidth()
-
setTextHeight
int setTextHeight()
-
setTextOffset
void setTextOffset(int offsetX, int offsetY)
-
getTextOffsetX
int getTextOffsetX()
-
getTextOffsetY
int getTextOffsetY()
-
setTitleOffset
void setTitleOffset(int offsetX, int offsetY)
-
getTitleOffsetX
int getTitleOffsetX()
-
getTitleOffsetY
int getTitleOffsetY()
-
setOptionOffset
void setOptionOffset(int offsetX, int offsetY)
-
getOptionOffsetX
int getOptionOffsetX()
-
getOptionOffsetY
int getOptionOffsetY()
-
setOptionSpacing
void setOptionSpacing(int spaceX, int spaceY)
-
getOptionSpaceX
int getOptionSpaceX()
-
getOptionSpaceY
int getOptionSpaceY()
-
addImage
void addImage(int id, IDialogImage image)
-
getImage
IDialogImage getImage(int id)
-
createImage
IDialogImage createImage()
-
getImages
IDialogImage[] getImages()
-
hasImage
boolean hasImage(int id)
-
removeImage
void removeImage(int id)
-
clearImages
void clearImages()
-
-