1package com.runehive.content.clanchannel;
3import com.runehive.content.clanchannel.content.ClanLevel;
14 int base_button = -32003;
15 int modified_button = (base_button - button) / 4;
16 return Math.abs(modified_button);
21 int base_button = -14225;
22 int modified_button = (base_button - button);
23 return Math.abs(modified_button);
28 int[] items =
new int[30];
This class holds all the util methods for the clan channel system.
static final int[] ADAMANT_ITEMS
Holds all the possible adamant item rewards from the mystery box.
static int getRankOrdinal(int button)
Gets the ordinal of a member based on the button.
static final int[] DRAGON_ITEMS
Holds all the possible dragon item rewards from the mystery box.
static final int[] BLACK_ITEMS
Holds all the possible black item rewards from the mystery box.
static final int[] IRON_ITEMS
Holds all the possible iron item rewards from the mystery box.
static int[] getRewardItems(ClanLevel level)
Gets the rewards based on the clan level.
static final int[] RUNE_ITEMS
Holds all the possible rune item rewards from the mystery box.
static final int[] STEEL_ITEMS
Holds all the possible steel item rewards from the mystery box.
static int getUnbanOrdinal(int button)
Gets the ordinal of a member based on the button.
static final int[] MITHRIL_ITEMS
Holds all the possible mithril item rewards from the mystery box.
static final int[] BRONZE_ITEMS
Holds all the possible bronze item rewards from the mystery box.
Handles the clan levels (based off the total experience earned).