mirror of
https://github.com/KAMKEEL/CustomNPC-Plus-API.git
synced 2026-11-16 04:54:44 +00:00
Large Cleanup to Code Imports and Formatting
This commit is contained in:
1 parent
64fe8794e7
commit
a6b4a131c8
65 files changed
+606
-409
No files matched your search
@@ -18,24 +18,28 @@ public interface IParty {
|
||||
|
||||
/**
|
||||
* Set a quest to the party (this does not validate use validateQuest())
|
||||
*
|
||||
* @param quest Quest Object
|
||||
*/
|
||||
void setQuest(IQuest quest);
|
||||
|
||||
/**
|
||||
* Get the Quest for the Party, can be null
|
||||
*
|
||||
* @return quest
|
||||
*/
|
||||
IQuest getQuest();
|
||||
|
||||
/**
|
||||
* Get the Quest ID for Party | -1 if no quest
|
||||
*
|
||||
* @return quest id
|
||||
*/
|
||||
int getCurrentQuestID();
|
||||
|
||||
/**
|
||||
* Get the Quest Name for Party | BLANK if no quest
|
||||
*
|
||||
* @return quest name
|
||||
*/
|
||||
String getCurrentQuestName();
|
||||
@@ -68,12 +72,14 @@ public interface IParty {
|
||||
|
||||
/**
|
||||
* Check if Player is in Party with IPlayer
|
||||
*
|
||||
* @return true/false if player is in party
|
||||
*/
|
||||
boolean hasPlayer(IPlayer player);
|
||||
|
||||
/**
|
||||
* Check if Player is in Party with Player Name
|
||||
*
|
||||
* @return true/false if player is in party
|
||||
*/
|
||||
boolean hasPlayer(String playerName);
|
||||
@@ -90,7 +96,7 @@ public interface IParty {
|
||||
|
||||
|
||||
/**
|
||||
* @param questID ID for the Quest to Verify
|
||||
* @param questID ID for the Quest to Verify
|
||||
* @param sendLeaderMessages IF true will send ERROR message to Party Leader on why the quest could not be set
|
||||
* @return true/false if the party CAN have the quest set
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user