RuneHive-Tarnish
Neural OSRS Enhancement Framework
Loading...
Searching...
No Matches
com.osroyale.content.clanchannel.content.ClanReward Enum Reference

Public Member Functions

 ClanReward (String name, int item, int duration, int experience, double dropModifier)

Static Public Member Functions

static Optional< ClanRewardforId (int item)

Public Attributes

final String name
final int item
final int duration
final int experience
final double dropModifier

Detailed Description

Holds all the clan reward data.

Author
Daniel

Definition at line 38 of file ClanReward.java.

Constructor & Destructor Documentation

◆ ClanReward()

com.osroyale.content.clanchannel.content.ClanReward.ClanReward ( String name,
int item,
int duration,
int experience,
double dropModifier )
inline

Makes a new ClanReward

Definition at line 57 of file ClanReward.java.

Member Function Documentation

◆ forId()

Optional< ClanReward > com.osroyale.content.clanchannel.content.ClanReward.forId ( int item)
inlinestatic

Handles getting the clan reward based on the item identification.

Definition at line 66 of file ClanReward.java.

Member Data Documentation

◆ dropModifier

final double com.osroyale.content.clanchannel.content.ClanReward.dropModifier

The drop modifier of the reward.

Definition at line 54 of file ClanReward.java.

◆ duration

final int com.osroyale.content.clanchannel.content.ClanReward.duration

The duration of the reward.

Definition at line 48 of file ClanReward.java.

◆ experience

final int com.osroyale.content.clanchannel.content.ClanReward.experience

The experience of the reward.

Definition at line 51 of file ClanReward.java.

◆ item

final int com.osroyale.content.clanchannel.content.ClanReward.item

The item identification of the reward.

Definition at line 45 of file ClanReward.java.

◆ name

final String com.osroyale.content.clanchannel.content.ClanReward.name

The name of the reward.

Definition at line 42 of file ClanReward.java.


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