mirror of
https://github.com/KAMKEEL/CustomNPC-Plus-API.git
synced 2026-11-15 14:54:43 +00:00
Moved quest party options to a party options class.
Added a blank subgui for editing a quest's party options.
This commit is contained in:
1 parent
a6c43f2e91
commit
a55f9b0109
2 files changed
+46
-39
No files matched your search
@@ -0,0 +1,45 @@
|
||||
package noppes.npcs.api.handler.data;
|
||||
|
||||
public interface IPartyOptions {
|
||||
|
||||
|
||||
public boolean isAllowParty();
|
||||
|
||||
public void setAllowParty(boolean allowParty);
|
||||
|
||||
|
||||
/**
|
||||
* @return 0:Leader, 1:All, 2:Valid
|
||||
*/
|
||||
public int getPartyRequirements();
|
||||
|
||||
|
||||
/**
|
||||
* @param partyRequirements 0:Leader, 1:All, 2:Valid
|
||||
*/
|
||||
public void setPartyRequirements(int partyRequirements);
|
||||
|
||||
/**
|
||||
* @return 0:Leader, 1:All, 2:Enrolled, 3:Completer
|
||||
*/
|
||||
public int getRewardControl();
|
||||
|
||||
/**
|
||||
* @param rewardControl 0:Leader, 1:All, 2:Enrolled, 3:Completer
|
||||
*/
|
||||
public void setRewardControl(int rewardControl);
|
||||
|
||||
/**
|
||||
* @return 0:Leader, 1:All, 2:Enrolled, 3:Completer
|
||||
*/
|
||||
public int getCompleteFor();
|
||||
|
||||
/**
|
||||
* @param completeFor 0:Leader, 1:All, 2:Enrolled, 3:Completer
|
||||
*/
|
||||
public void setCompleteFor(int completeFor);
|
||||
|
||||
public int getMaxPartySize();
|
||||
|
||||
public void setMaxPartySize(int newSize);
|
||||
}
|
||||
@@ -53,43 +53,5 @@ public interface IQuest {
|
||||
|
||||
IQuestInterface getQuestInterface();
|
||||
|
||||
public boolean isAllowParty();
|
||||
|
||||
public void setAllowParty(boolean allowParty);
|
||||
|
||||
|
||||
/**
|
||||
* @return 0:Leader, 1:All, 2:Valid
|
||||
*/
|
||||
public int getPartyRequirements();
|
||||
|
||||
|
||||
/**
|
||||
* @param partyRequirements 0:Leader, 1:All, 2:Valid
|
||||
*/
|
||||
public void setPartyRequirements(int partyRequirements);
|
||||
|
||||
/**
|
||||
* @return 0:Leader, 1:All, 2:Enrolled, 3:Completer
|
||||
*/
|
||||
public int getRewardControl();
|
||||
|
||||
/**
|
||||
* @param rewardControl 0:Leader, 1:All, 2:Enrolled, 3:Completer
|
||||
*/
|
||||
public void setRewardControl(int rewardControl);
|
||||
|
||||
/**
|
||||
* @return 0:Leader, 1:All, 2:Enrolled, 3:Completer
|
||||
*/
|
||||
public int getCompleteFor();
|
||||
|
||||
/**
|
||||
* @param completeFor 0:Leader, 1:All, 2:Enrolled, 3:Completer
|
||||
*/
|
||||
public void setCompleteFor(int completeFor);
|
||||
|
||||
public int getMaxPartySize();
|
||||
|
||||
public void setMaxPartySize(int newSize);
|
||||
IPartyOptions getPartyOptions();
|
||||
}
|
||||
Reference in new issue
Block a user