package be.demmel.jgws; import be.demmel.jgws.utils.GWVector; import java.util.Date; import java.util.Map; public class NpcData { private long agentID, localID, level, morale, gameFileID, gameMapID, mapID, trapezoidIndex; private String name, chatPrefix; private Map attributes; private Map chatCommands; private boolean showPrefix, showColor, frozen, atBorder, isRotating; private byte professionPrimary, professionSecondary, chatColor; private byte[] modelHash, skillBar, unlockedSkills, appearance; private int npcFlags, scale, npcFileID, energy, attPtsFree, attPtsTotal, teamNumber, vitalStatus, health, skillPtsFree, skillPtsTotal; private float energyRegen, healthRegen, speed, rotation, speedModifier; private GWVector position, direction; //TODO: use Joda-time private Date lastMovement; private MovementState moveState; private MovementType moveType; public long getAgentID() { return agentID; } public void setAgentID(long agentID) { this.agentID = agentID; } public byte[] getAppearance() { return appearance; } public void setAppearance(byte[] appearance) { this.appearance = appearance; } public boolean isAtBorder() { return atBorder; } public void setAtBorder(boolean atBorder) { this.atBorder = atBorder; } public int getAttPtsFree() { return attPtsFree; } public void setAttPtsFree(int attPtsFree) { this.attPtsFree = attPtsFree; } public int getAttPtsTotal() { return attPtsTotal; } public void setAttPtsTotal(int attPtsTotal) { this.attPtsTotal = attPtsTotal; } public Map getAttributes() { return attributes; } public void setAttributes(Map attributes) { this.attributes = attributes; } public byte getChatColor() { return chatColor; } public void setChatColor(byte chatColor) { this.chatColor = chatColor; } public Map getChatCommands() { return chatCommands; } public void setChatCommands(Map chatCommands) { this.chatCommands = chatCommands; } public String getChatPrefix() { return chatPrefix; } public void setChatPrefix(String chatPrefix) { this.chatPrefix = chatPrefix; } public GWVector getDirection() { return direction; } public void setDirection(GWVector direction) { this.direction = direction; } public int getEnergy() { return energy; } public void setEnergy(int energy) { this.energy = energy; } public float getEnergyRegen() { return energyRegen; } public void setEnergyRegen(float energyRegen) { this.energyRegen = energyRegen; } public boolean isFrozen() { return frozen; } public void setFrozen(boolean frozen) { this.frozen = frozen; } public long getGameFileID() { return gameFileID; } public void setGameFileID(long gameFileID) { this.gameFileID = gameFileID; } public long getGameMapID() { return gameMapID; } public void setGameMapID(long gameMapID) { this.gameMapID = gameMapID; } public int getHealth() { return health; } public void setHealth(int health) { this.health = health; } public float getHealthRegen() { return healthRegen; } public void setHealthRegen(float healthRegen) { this.healthRegen = healthRegen; } public boolean isIsRotating() { return isRotating; } public void setIsRotating(boolean isRotating) { this.isRotating = isRotating; } public Date getLastMovement() { return lastMovement; } public void setLastMovement(Date lastMovement) { this.lastMovement = lastMovement; } public long getLevel() { return level; } public void setLevel(long level) { this.level = level; } public long getLocalID() { return localID; } public void setLocalID(long localID) { this.localID = localID; } public long getMapID() { return mapID; } public void setMapID(long mapID) { this.mapID = mapID; } public byte[] getModelHash() { return modelHash; } public void setModelHash(byte[] modelHash) { this.modelHash = modelHash; } public long getMorale() { return morale; } public void setMorale(long morale) { this.morale = morale; } public MovementState getMoveState() { return moveState; } public void setMoveState(MovementState moveState) { this.moveState = moveState; } public MovementType getMoveType() { return moveType; } public void setMoveType(MovementType moveType) { this.moveType = moveType; } public String getName() { return name; } public void setName(String name) { this.name = name; } public int getNpcFileID() { return npcFileID; } public void setNpcFileID(int npcFileID) { this.npcFileID = npcFileID; } public int getNpcFlags() { return npcFlags; } public void setNpcFlags(int npcFlags) { this.npcFlags = npcFlags; } public GWVector getPosition() { return position; } public void setPosition(GWVector position) { this.position = position; } public byte getProfessionPrimary() { return professionPrimary; } public void setProfessionPrimary(byte professionPrimary) { this.professionPrimary = professionPrimary; } public byte getProfessionSecondary() { return professionSecondary; } public void setProfessionSecondary(byte professionSecondary) { this.professionSecondary = professionSecondary; } public float getRotation() { return rotation; } public void setRotation(float rotation) { this.rotation = rotation; } public int getScale() { return scale; } public void setScale(int scale) { this.scale = scale; } public boolean isShowColor() { return showColor; } public void setShowColor(boolean showColor) { this.showColor = showColor; } public boolean isShowPrefix() { return showPrefix; } public void setShowPrefix(boolean showPrefix) { this.showPrefix = showPrefix; } public byte[] getSkillBar() { return skillBar; } public void setSkillBar(byte[] skillBar) { this.skillBar = skillBar; } public int getSkillPtsFree() { return skillPtsFree; } public void setSkillPtsFree(int skillPtsFree) { this.skillPtsFree = skillPtsFree; } public int getSkillPtsTotal() { return skillPtsTotal; } public void setSkillPtsTotal(int skillPtsTotal) { this.skillPtsTotal = skillPtsTotal; } public float getSpeed() { return speed; } public void setSpeed(float speed) { this.speed = speed; } public float getSpeedModifier() { return speedModifier; } public void setSpeedModifier(float speedModifier) { this.speedModifier = speedModifier; } public int getTeamNumber() { return teamNumber; } public void setTeamNumber(int teamNumber) { this.teamNumber = teamNumber; } public long getTrapezoidIndex() { return trapezoidIndex; } public void setTrapezoidIndex(long trapezoidIndex) { this.trapezoidIndex = trapezoidIndex; } public byte[] getUnlockedSkills() { return unlockedSkills; } public void setUnlockedSkills(byte[] unlockedSkills) { this.unlockedSkills = unlockedSkills; } public int getVitalStatus() { return vitalStatus; } public void setVitalStatus(int vitalStatus) { this.vitalStatus = vitalStatus; } }