A lot of GOOD API DOCUMENTATION

This commit is contained in:
Kam committed 2026-03-09 16:20:07 -04:00
1 parent a6c55ca331
commit 319e774518
131 files changed
+3363 -175

No files matched your search

@@ -1,10 +1,32 @@
package noppes.npcs.api.handler;
/**
* Tracks a player's faction standing points.
*/
public interface IPlayerFactionData {
/**
* Returns the player's points for the given faction.
*
* @param id the faction ID.
* @return the faction points.
*/
int getPoints(int id);
/**
* Adds points to the player's standing with the given faction.
* Use negative values to decrease.
*
* @param id the faction ID.
* @param points the points to add.
*/
void addPoints(int id, int points);
/**
* Sets the player's points for the given faction.
*
* @param id the faction ID.
* @param points the new point value.
*/
void setPoints(int id, int points);
}