Class RunePouch
- java.lang.Object
-
- net.eternalclient.api.wrappers.magic.RunePouch
-
public class RunePouch extends java.lang.Object
This class represents a Rune pouch and provides methods to get the quantity of a specific Rune in the pouch.
-
-
Field Summary
Fields Modifier and Type Field Description static int
SLOT_1_QUANTITY_BIT
static int
SLOT_1_TYPE_BIT
static int
SLOT_2_QUANTITY_BIT
static int
SLOT_2_TYPE_BIT
static int
SLOT_3_QUANTITY_BIT
static int
SLOT_3_TYPE_BIT
-
Constructor Summary
Constructors Constructor Description RunePouch()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static int
getQuantity(Rune rune)
Returns the quantity of the specified Rune in the RunePouch, or 0 if not found.
-
-
-
Field Detail
-
SLOT_1_TYPE_BIT
public static final int SLOT_1_TYPE_BIT
- See Also:
- Constant Field Values
-
SLOT_1_QUANTITY_BIT
public static final int SLOT_1_QUANTITY_BIT
- See Also:
- Constant Field Values
-
SLOT_2_TYPE_BIT
public static final int SLOT_2_TYPE_BIT
- See Also:
- Constant Field Values
-
SLOT_2_QUANTITY_BIT
public static final int SLOT_2_QUANTITY_BIT
- See Also:
- Constant Field Values
-
SLOT_3_TYPE_BIT
public static final int SLOT_3_TYPE_BIT
- See Also:
- Constant Field Values
-
SLOT_3_QUANTITY_BIT
public static final int SLOT_3_QUANTITY_BIT
- See Also:
- Constant Field Values
-
-
Method Detail
-
getQuantity
public static int getQuantity(Rune rune)
Returns the quantity of the specified Rune in the RunePouch, or 0 if not found.- Parameters:
rune
- the Rune to check the quantity of- Returns:
- the quantity of the specified Rune in the RunePouch, or 0 if not found
-
-