|
RuneHive-Game
|
Holds all the donator bond data. More...
Public Member Functions | |
| DonatorBond (int item, int moneySpent, int credits) | |
Constructs a new DonatorBond. | |
Static Public Member Functions | |
| static DonatorBond | forId (int item) |
| Gets the bond data based on the item provided. | |
Public Attributes | |
| BOND_10 =(13190, 10, 100) | |
| BOND_100 =(13192, 100, 1000) | |
| BOND_200 =(13193, 200, 2000) | |
| BOND_50 =(13191, 50, 500) | |
| BOND_500 =(13194, 500, 5000) | |
| final int | credits |
| The amount of credits this bond will give. | |
| final int | item |
| The item identification of the donator bond. | |
| final int | moneySpent |
| The amount of money spent that was required for this bond. | |
Holds all the donator bond data.
Definition at line 8 of file DonatorBond.java.
| com.runehive.content.donators.DonatorBond.DonatorBond | ( | int | item, |
| int | moneySpent, | ||
| int | credits ) |
Constructs a new DonatorBond.
Definition at line 25 of file DonatorBond.java.
References credits, item, and moneySpent.
Referenced by forId().
|
static |
Gets the bond data based on the item provided.
Definition at line 32 of file DonatorBond.java.
References DonatorBond(), and item.
| com.runehive.content.donators.DonatorBond.BOND_10 =(13190, 10, 100) |
Definition at line 9 of file DonatorBond.java.
Referenced by com.runehive.game.service.DonationService.claimDonation().
| com.runehive.content.donators.DonatorBond.BOND_100 =(13192, 100, 1000) |
Definition at line 11 of file DonatorBond.java.
Referenced by com.runehive.game.service.DonationService.claimDonation().
| com.runehive.content.donators.DonatorBond.BOND_200 =(13193, 200, 2000) |
Definition at line 12 of file DonatorBond.java.
Referenced by com.runehive.game.service.DonationService.claimDonation().
| com.runehive.content.donators.DonatorBond.BOND_50 =(13191, 50, 500) |
Definition at line 10 of file DonatorBond.java.
Referenced by com.runehive.game.service.DonationService.claimDonation().
| com.runehive.content.donators.DonatorBond.BOND_500 =(13194, 500, 5000) |
Definition at line 13 of file DonatorBond.java.
Referenced by com.runehive.game.service.DonationService.claimDonation().
| final int com.runehive.content.donators.DonatorBond.credits |
The amount of credits this bond will give.
Definition at line 22 of file DonatorBond.java.
Referenced by DonatorBond(), and com.runehive.content.donators.Donation.redeem().
| final int com.runehive.content.donators.DonatorBond.item |
The item identification of the donator bond.
Definition at line 16 of file DonatorBond.java.
Referenced by DonatorBond(), and forId().
| final int com.runehive.content.donators.DonatorBond.moneySpent |
The amount of money spent that was required for this bond.
Definition at line 19 of file DonatorBond.java.
Referenced by DonatorBond(), and com.runehive.content.donators.Donation.redeem().