This commit is contained in:
Kam committed 2025-03-13 15:36:30 -04:00
1 parent c81e848895
commit c7a74a3e0e
59 files changed
+506 -592

No files matched your search

+16 -16
View File
@@ -5,20 +5,20 @@ import noppes.npcs.api.entity.IPlayer;
public interface IRoleFollower extends IRole {
/**
* @param player Player who is set as the owner. If null given everything resets
* @since 1.7.10c
* @param player Player who is set as the owner. If null given everything resets
*/
void setOwner(IPlayer player);
/**
* @return Returns the followers owner. Returns null if he has no owner or the owner is offline
* @since 1.7.10c
* @return Returns the followers owner. Returns null if he has no owner or the owner is offline
*/
IPlayer getOwner();
/**
* @return Returns whether or not the follower has an owner
* @since 1.7.10c
* @return Returns whether or not the follower has an owner
*/
boolean hasOwner();
@@ -27,71 +27,71 @@ public interface IRoleFollower extends IRole {
void setIsFollowing(boolean following);
/**
* @return Returns days left
* @since 1.7.10c
* @return Returns days left
*/
int getDaysLeft();
/**
* @param days The days you want to add to the days remaining
* @since 1.7.10c
* @param days The days you want to add to the days remaining
*/
void addDaysLeft(int days);
/**
* @return Returns whether or not the follower is set to infinite days
* @since 1.7.10c
* @return Returns whether or not the follower is set to infinite days
*/
boolean getInfiniteDays();
/**
* @param infinite Sets whether the days hired are infinite
* @since 1.7.10c
* @param infinite Sets whether the days hired are infinite
*/
void setInfiniteDays(boolean infinite);
/**
* @return Return whether the gui is disabled
* @since 1.7.10c
* @return Return whether the gui is disabled
*/
boolean getGuiDisabled();
/**
* @param disabled Set the gui to be disabled or not
* @since 1.7.10c
* @param disabled Set the gui to be disabled or not
*/
void setGuiDisabled(boolean disabled);
/**
* @param index Index of Rate [0 - 2]
* @param index Index of Rate [0 - 2]
* @param amount Amount hired for
*/
void setRate(int index, int amount);
public void setRate(int index, int amount);
/**
* @param index Index of Rate [0 - 2]
* @return amount fired for
*/
int getRate(int index);
public int getRate(int index);
/**
* @param dialogHire New dialog hire string
*/
void setDialogHire(String dialogHire);
public void setDialogHire(String dialogHire);
/**
* @return dialog hire string
*/
String getDialogHire();
public String getDialogHire();
/**
* @param dialogFarewell New dialog farewell string
*/
void setDialogFarewell(String dialogFarewell);
public void setDialogFarewell(String dialogFarewell);
/**
* @return dialog farewell string
*/
String getDialogFarewell();
public String getDialogFarewell();
}