All Downloads are FREE. Search and download functionalities are using the official Maven repository.

me.xhsun.guildwars2wrapper.model.v2.Profession Maven / Gradle / Ivy

There is a newer version: 1.3.2
Show newest version
package me.xhsun.guildwars2wrapper.model.v2;

import me.xhsun.guildwars2wrapper.model.identifiable.IdentifiableInt;
import me.xhsun.guildwars2wrapper.model.identifiable.NameableInt;
import me.xhsun.guildwars2wrapper.model.identifiable.NameableStr;
import me.xhsun.guildwars2wrapper.model.v2.util.comm.Type;

import java.util.List;
import java.util.Map;

/**
 * For more info on professions API go here
* Model class for professions * * @author xhsun * @since 2017-06-15 */ public class Profession extends NameableStr { public enum TrainingCategory {Skills, Specializations, EliteSpecializations} private enum TrackType {Trait, Skill} public enum Attunement {Fire, Water, Air, Earth} public enum Flag {Mainhand, Offhand, TwoHand, Aquatic, NoRacialSkills, NoWeaponSwap} private String icon, icon_big; private List flags; private List specializations; private List training; private List skills; private Map weapons; public String getIcon() { return icon; } public String getIconBig() { return icon_big; } public List getSpecializations() { return specializations; } public List getTraining() { return training; } public Map getWeapons() { return weapons; } public List getFlags() { return flags; } public List getSkills() { return skills; } public class Training extends NameableInt { private TrainingCategory category; private List track; public TrainingCategory getCategory() { return category; } public List getTrack() { return track; } } public class TrainingTrack { private int cost, skill_id, trait_id; private TrackType type; public int getCost() { return cost; } public int getSkillId() { return skill_id; } public int getTraitId() { return trait_id; } public TrackType getType() { return type; } } public class Weapon { private int specialization; private List skills; private List flags; public int getSpecialization() { return specialization; } public List getSkills() { return skills; } public List getFlags() { return flags; } } public class ProfessionSkill extends IdentifiableInt { private Skill.Slot slot; private Type offhand; private Type type; private Attunement attunement; private Item.Restriction source; public Skill.Slot getSlot() { return slot; } public Type getOffhand() { return offhand; } public Attunement getAttunement() { return attunement; } public Item.Restriction getSource() { return source; } public Type getType() { return type; } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy