me.xhsun.guildwars2wrapper.model.v2.Skin Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gw2wrapper Show documentation
Show all versions of gw2wrapper Show documentation
Guild Wars 2 API wrapper for Android
package me.xhsun.guildwars2wrapper.model.v2;
import me.xhsun.guildwars2wrapper.model.identifiable.NameableInt;
import me.xhsun.guildwars2wrapper.model.v2.util.comm.Type;
import me.xhsun.guildwars2wrapper.model.v2.util.itemDetail.ItemDetail;
import java.util.List;
/**
* For more info on Skin API go here
* Skin model class
* Note: icon is a url
*
* @author xhsun
* @see Item item info
* @since 2017-02-07
*/
public class Skin extends NameableInt {
public enum Flag {ShowInWardrobe, NoCost, HideIfLocked, OverrideRarity}
private Item.Type type;
private List flags;
private List restrictions;
private String icon;
private Item.Rarity rarity;
private String description;
private Detail details;
public Item.Type getType() {
return type;
}
public List getFlags() {
return flags;
}
public List getRestrictions() {
return restrictions;
}
public String getIcon() {
return icon;
}
public Item.Rarity getRarity() {
return rarity;
}
public String getDescription() {
return description;
}
public Detail getDetails() {
return details;
}
/**
* Skin detail class for skin model
*
* @author xhsun
* @since 2017-02-07
*/
public class Detail {
private Type type;
private ItemDetail.Weight weight_class;
private ItemDetail.Damage damage_type;
public Type getType() {
return type;
}
public ItemDetail.Weight getWeightClass() {
return weight_class;
}
public ItemDetail.Damage getDamageType() {
return damage_type;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy