mirror of
https://github.com/KAMKEEL/CustomNPC-Plus-API.git
synced 2026-11-15 14:54:43 +00:00
IPartyHandler for Creating / Disbanding Parties
This commit is contained in:
1 parent
dd3d8c552c
commit
3cfe8be056
2 files changed
+21
No files matched your search
@@ -0,0 +1,19 @@
|
||||
package noppes.npcs.api.handler;
|
||||
|
||||
import noppes.npcs.api.entity.IPlayer;
|
||||
import noppes.npcs.api.handler.data.IParty;
|
||||
|
||||
public interface IPartyHandler {
|
||||
|
||||
|
||||
/**
|
||||
* @param player - The Leader of the Party
|
||||
* @return IParty Object
|
||||
*/
|
||||
IParty createParty(IPlayer player);
|
||||
|
||||
/**
|
||||
* @param player - Gets the party of current player and disbands it
|
||||
*/
|
||||
void disbandParty(IPlayer player);
|
||||
}
|
||||
Reference in new issue
Block a user