mirror of
https://github.com/KAMKEEL/CustomNPC-Plus-API.git
synced 2026-11-17 00:35:07 +00:00
Full Imports and Code Format Optimization
This commit is contained in:
1 parent
c22c5f9d79
commit
afb5f1d645
60 files changed
+592
-509
No files matched your search
@@ -5,20 +5,20 @@ import noppes.npcs.api.entity.IPlayer;
|
||||
public interface IRoleFollower extends IRole {
|
||||
|
||||
/**
|
||||
* @since 1.7.10c
|
||||
* @param player Player who is set as the owner. If null given everything resets
|
||||
* @since 1.7.10c
|
||||
*/
|
||||
void setOwner(IPlayer player);
|
||||
|
||||
/**
|
||||
* @since 1.7.10c
|
||||
* @return Returns the followers owner. Returns null if he has no owner or the owner is offline
|
||||
* @since 1.7.10c
|
||||
*/
|
||||
IPlayer getOwner();
|
||||
|
||||
/**
|
||||
* @since 1.7.10c
|
||||
* @return Returns whether or not the follower has an owner
|
||||
* @since 1.7.10c
|
||||
*/
|
||||
boolean hasOwner();
|
||||
|
||||
@@ -27,71 +27,71 @@ public interface IRoleFollower extends IRole {
|
||||
void setIsFollowing(boolean following);
|
||||
|
||||
/**
|
||||
* @since 1.7.10c
|
||||
* @return Returns days left
|
||||
* @since 1.7.10c
|
||||
*/
|
||||
int getDaysLeft();
|
||||
|
||||
/**
|
||||
* @since 1.7.10c
|
||||
* @param days The days you want to add to the days remaining
|
||||
* @since 1.7.10c
|
||||
*/
|
||||
void addDaysLeft(int days);
|
||||
|
||||
/**
|
||||
* @since 1.7.10c
|
||||
* @return Returns whether or not the follower is set to infinite days
|
||||
* @since 1.7.10c
|
||||
*/
|
||||
boolean getInfiniteDays();
|
||||
|
||||
/**
|
||||
* @since 1.7.10c
|
||||
* @param infinite Sets whether the days hired are infinite
|
||||
* @since 1.7.10c
|
||||
*/
|
||||
void setInfiniteDays(boolean infinite);
|
||||
|
||||
/**
|
||||
* @since 1.7.10c
|
||||
* @return Return whether the gui is disabled
|
||||
* @since 1.7.10c
|
||||
*/
|
||||
boolean getGuiDisabled();
|
||||
|
||||
/**
|
||||
* @since 1.7.10c
|
||||
* @param disabled Set the gui to be disabled or not
|
||||
* @since 1.7.10c
|
||||
*/
|
||||
void setGuiDisabled(boolean disabled);
|
||||
|
||||
|
||||
/**
|
||||
* @param index Index of Rate [0 - 2]
|
||||
* @param index Index of Rate [0 - 2]
|
||||
* @param amount Amount hired for
|
||||
*/
|
||||
public void setRate(int index, int amount);
|
||||
void setRate(int index, int amount);
|
||||
|
||||
/**
|
||||
* @param index Index of Rate [0 - 2]
|
||||
* @return amount fired for
|
||||
*/
|
||||
public int getRate(int index);
|
||||
int getRate(int index);
|
||||
|
||||
/**
|
||||
* @param dialogHire New dialog hire string
|
||||
*/
|
||||
public void setDialogHire(String dialogHire);
|
||||
void setDialogHire(String dialogHire);
|
||||
|
||||
/**
|
||||
* @return dialog hire string
|
||||
*/
|
||||
public String getDialogHire();
|
||||
String getDialogHire();
|
||||
|
||||
/**
|
||||
* @param dialogFarewell New dialog farewell string
|
||||
*/
|
||||
public void setDialogFarewell(String dialogFarewell);
|
||||
void setDialogFarewell(String dialogFarewell);
|
||||
|
||||
/**
|
||||
* @return dialog farewell string
|
||||
*/
|
||||
public String getDialogFarewell();
|
||||
String getDialogFarewell();
|
||||
}
|
||||
Reference in new issue
Block a user