RuneHive-Tarnish
Neural OSRS Enhancement Framework
|
Static Public Member Functions | |
static void | activate (Player player, AchievementKey achievement) |
static void | activate (Player player, AchievementKey achievement, int increase) |
static void | completeAll (Player player) |
static boolean | completed (Player player, AchievementList achievement) |
static int | getTotalCompleted (Player player) |
static int | getDifficultyCompletion (Player player, AchievementType difficulty) |
static int | getDifficultyAchievement (AchievementType difficulty) |
static boolean | completedAll (Player player) |
Handles the achievements.
Definition at line 50 of file AchievementHandler.java.
|
inlinestatic |
Activates the achievement for the individual player. Increments the completed amount for the player. If the player has completed the achievement, they will receive their reward.
Definition at line 57 of file AchievementHandler.java.
|
inlinestatic |
Activates the achievement for the individual player. Increments the completed amount for the player. If the player has completed the achievement, they will receive their reward.
Definition at line 66 of file AchievementHandler.java.
|
inlinestatic |
Completes all the achievements for player (used for administrative purposes).
Definition at line 97 of file AchievementHandler.java.
|
inlinestatic |
Checks if the reward is completed.
Definition at line 111 of file AchievementHandler.java.
|
inlinestatic |
Checks if a player has completed all the available achievements.
Definition at line 160 of file AchievementHandler.java.
|
inlinestatic |
Handles getting the amount of achievements based on the difficulty.
Definition at line 151 of file AchievementHandler.java.
|
inlinestatic |
Handles getting the amount of achievements completed based on it's difficulty.
Definition at line 141 of file AchievementHandler.java.
|
inlinestatic |
Gets the total amount of achievements completed.
Definition at line 118 of file AchievementHandler.java.