|
RuneHive-Game
|
Holds all the clan reward data. More...
Public Member Functions | |
| ClanReward (String name, int item, int duration, int experience, double dropModifier) | |
Makes a new ClanReward | |
Static Public Member Functions | |
| static Optional< ClanReward > | forId (int item) |
| Handles getting the clan reward based on the item identification. | |
Public Attributes | |
| DOUBLE_SKILL_EXPERIENCE_1HOUR =("Double skill experience (1hr)", 11188, 60, -1, -1) | |
| final double | dropModifier |
| The drop modifier of the reward. | |
| final int | duration |
| The duration of the reward. | |
| final int | experience |
| The experience of the reward. | |
| final int | item |
| The item identification of the reward. | |
| final String | name |
| The name of the reward. | |
Holds all the clan reward data.
Definition at line 10 of file ClanReward.java.
| com.runehive.content.clanchannel.content.ClanReward.ClanReward | ( | String | name, |
| int | item, | ||
| int | duration, | ||
| int | experience, | ||
| double | dropModifier ) |
Makes a new ClanReward
Definition at line 29 of file ClanReward.java.
References dropModifier, duration, experience, item, and name.
Referenced by forId().
|
static |
Handles getting the clan reward based on the item identification.
Definition at line 38 of file ClanReward.java.
References ClanReward(), and item.
| com.runehive.content.clanchannel.content.ClanReward.DOUBLE_SKILL_EXPERIENCE_1HOUR =("Double skill experience (1hr)", 11188, 60, -1, -1) |
Definition at line 11 of file ClanReward.java.
| final double com.runehive.content.clanchannel.content.ClanReward.dropModifier |
The drop modifier of the reward.
Definition at line 26 of file ClanReward.java.
Referenced by ClanReward().
| final int com.runehive.content.clanchannel.content.ClanReward.duration |
The duration of the reward.
Definition at line 20 of file ClanReward.java.
Referenced by ClanReward().
| final int com.runehive.content.clanchannel.content.ClanReward.experience |
The experience of the reward.
Definition at line 23 of file ClanReward.java.
Referenced by ClanReward().
| final int com.runehive.content.clanchannel.content.ClanReward.item |
The item identification of the reward.
Definition at line 17 of file ClanReward.java.
Referenced by ClanReward(), and forId().
| final String com.runehive.content.clanchannel.content.ClanReward.name |