com.zerotoheroes.hsgameentities.replaydata.entities.PlayerEntity Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hs-game-entities Show documentation
Show all versions of hs-game-entities Show documentation
POJOs representing a Hearthstone game entity and game constants
package com.zerotoheroes.hsgameentities.replaydata.entities;
import javax.xml.bind.annotation.XmlAccessOrder;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorOrder;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;
@Getter
@Setter
@Builder
@NoArgsConstructor
@AllArgsConstructor
@XmlAccessorType(XmlAccessType.FIELD)
@XmlAccessorOrder(XmlAccessOrder.ALPHABETICAL)
@ToString
public class PlayerEntity extends BaseEntity {
@XmlAttribute(name = "accountHi")
private String accountHi;
@XmlAttribute(name = "accountLo")
private String accountLo;
@XmlAttribute(name = "playerID")
private int playerId;
@XmlAttribute(name = "name")
private String name;
@XmlAttribute(name = "rank")
private String rank;
@XmlAttribute(name = "legendRank")
private String legendRank;
@XmlAttribute(name = "cardback")
private String cardback;
}