public abstract class ItemProperties extends Object
Represents a set of properties that are common to multiple item types. These properties are shared amongst the following item types:
Constructor and Description |
---|
ItemProperties() |
Modifier and Type | Method and Description |
---|---|
InfixUpgrade |
getInfixUpgrade()
Indicates which permanent upgrades are applied to the item.
|
ArrayList<ArrayList<String>> |
getInfusionSlots()
An array of infusion slots available on the item.
|
int |
getSuffixItemId()
An identifier for an item that has already been applied to this item as
an upgrade.
|
String |
getType()
The specific type for this item.
|
void |
setInfixUpgrade(InfixUpgrade infixUpgrade) |
void |
setInfusionSlots(ArrayList<ArrayList<String>> infusionSlots) |
void |
setSuffixItemId(int suffixItemId) |
void |
setType(String type) |
public String getType()
The specific type for this item. It various amongst different items. See /v1/item_details for more information (and its discussion page).
public void setType(String type)
public ArrayList<ArrayList<String>> getInfusionSlots()
An array of infusion slots available on the item. Each infusion slot is represented by an array of flags that indicate the type of infusions possible in that slot. For example, if an item has three infusion slots, then this will return an array of three arrays.
The possible flags for each infusion slot are:
public InfixUpgrade getInfixUpgrade()
InfixUpgrade
.public void setInfixUpgrade(InfixUpgrade infixUpgrade)
public int getSuffixItemId()
public void setSuffixItemId(int suffixItemId)
Copyright © 2014. All Rights Reserved.