mirror of
https://github.com/KAMKEEL/CustomNPC-Plus-API.git
synced 2026-11-16 22:15:07 +00:00
IRoleFollower New Functions
- [SET/GET] Rate - [SET/GET] DialogHire - [SET/GET] DialogFarewell
This commit is contained in:
1 parent
a5dcba72db
commit
4b3010c98d
1 file changed
+33
@@ -61,4 +61,37 @@ public interface IRoleFollower extends IRole {
|
||||
* @param disabled Set the gui to be disabled or not
|
||||
*/
|
||||
void setGuiDisabled(boolean disabled);
|
||||
|
||||
|
||||
/**
|
||||
* @param index Index of Rate [0 - 2]
|
||||
* @param amount Amount hired for
|
||||
*/
|
||||
public void setRate(int index, int amount);
|
||||
|
||||
/**
|
||||
* @param index Index of Rate [0 - 2]
|
||||
* @return amount fired for
|
||||
*/
|
||||
public int getRate(int index);
|
||||
|
||||
/**
|
||||
* @param dialogHire New dialog hire string
|
||||
*/
|
||||
public void setDialogHire(String dialogHire);
|
||||
|
||||
/**
|
||||
* @return dialog hire string
|
||||
*/
|
||||
public String getDialogHire();
|
||||
|
||||
/**
|
||||
* @param dialogFarewell New dialog farewell string
|
||||
*/
|
||||
public void setDialogFarewell(String dialogFarewell);
|
||||
|
||||
/**
|
||||
* @return dialog farewell string
|
||||
*/
|
||||
public String getDialogFarewell();
|
||||
}
|
||||
Reference in new issue
Block a user