RuneHive-Tarnish
Neural OSRS Enhancement Framework
Loading...
Searching...
No Matches
com.osroyale.content.prestige.Prestige Class Reference

Public Member Functions

 Prestige (Player player)
void open ()
void prestige (PrestigeData data)
void perkInformation ()
boolean activatePerk (Item item)
int getPrestigeColor (int skill)
int getColor (int tier)

Public Attributes

int totalPrestige
int[] prestige = new int[Skill.SKILL_COUNT]
Set< PrestigePerkactivePerks = new HashSet<>()

Detailed Description

Handles the prestige class.

Author
Daniel.

Definition at line 61 of file Prestige.java.

Constructor & Destructor Documentation

◆ Prestige()

com.osroyale.content.prestige.Prestige.Prestige ( Player player)
inline

Constructs a new Prestige.

Definition at line 81 of file Prestige.java.

Member Function Documentation

◆ activatePerk()

boolean com.osroyale.content.prestige.Prestige.activatePerk ( Item item)
inline

Activates the perk.

Definition at line 131 of file Prestige.java.

◆ getColor()

int com.osroyale.content.prestige.Prestige.getColor ( int tier)
inline

Gets the prestige color based on the tier.

Definition at line 159 of file Prestige.java.

◆ getPrestigeColor()

int com.osroyale.content.prestige.Prestige.getPrestigeColor ( int skill)
inline

Gets the current prestige color of the player.

Definition at line 154 of file Prestige.java.

◆ open()

void com.osroyale.content.prestige.Prestige.open ( )
inline

Opens the prestige panel.

Definition at line 86 of file Prestige.java.

◆ perkInformation()

void com.osroyale.content.prestige.Prestige.perkInformation ( )
inline

Displays all the perk information.

Definition at line 111 of file Prestige.java.

◆ prestige()

void com.osroyale.content.prestige.Prestige.prestige ( PrestigeData data)
inline

Handles prestiging the skill.

Definition at line 95 of file Prestige.java.

Member Data Documentation

◆ activePerks

Set<PrestigePerk> com.osroyale.content.prestige.Prestige.activePerks = new HashSet<>()

The set of all the active perks for the player.

Definition at line 78 of file Prestige.java.

◆ prestige

int [] com.osroyale.content.prestige.Prestige.prestige = new int[Skill.SKILL_COUNT]

The prestiges.

Definition at line 75 of file Prestige.java.

◆ totalPrestige

int com.osroyale.content.prestige.Prestige.totalPrestige

The total amount of prestiges.

Definition at line 69 of file Prestige.java.


The documentation for this class was generated from the following file: