me.xhsun.guildwars2wrapper.model.v2.pvp.PvPGame 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.pvp;
import me.xhsun.guildwars2wrapper.model.identifiable.IdentifiableStr;
import me.xhsun.guildwars2wrapper.model.v2.Item;
/**
* For more info on pvp games API go here
* Model class for pvp game
*
* @author xhsun
* @since 2017-06-19
*/
public class PvPGame extends IdentifiableStr {
public enum RatingType {Ranked, Unranked, None}
private int map_id, rating_change;
private String started, ended, result, team, season;
private Item.Restriction profession;
private Score scores;
private RatingType rating_type;
public int getMapId() {
return map_id;
}
public int getRatingChange() {
return rating_change;
}
public String getStarted() {
return started;
}
public String getEnded() {
return ended;
}
public String getResult() {
return result;
}
public String getTeam() {
return team;
}
public String getSeason() {
return season;
}
public Item.Restriction getProfession() {
return profession;
}
public Score getScores() {
return scores;
}
public RatingType getRatingType() {
return rating_type;
}
public class Score {
private int red, blue;
public int getRed() {
return red;
}
public int getBlue() {
return blue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy