package be.demmel.jgws; import java.util.Date; import be.demmel.jgws.utils.GWVector; public class CharacterData { public CharacterData() { appearance = new byte[0]; lastHeartBeat = new Date(); lastPingTime = new Date(); position = new GWVector(); direction = new GWVector(); moveState = MovementState.NOT_MOVING; } private long agentId, localId, morale, level; private int characterId; private String name; private int freeAttributePoints, totalAttributePoints; private boolean isOutpost; private String chatPrefix; private byte chatColor; private byte[] appearance; private byte primaryProfession, secondaryProfession; private int energy; private float energyRegenation; private int health; private float healthRegeneration; //private ItemDictionary Items ; private Date lastHeartBeat; private Date lastPingTime; private long gameFileId; private long gameMapId; private GWVector position; private GWVector direction; private MovementState moveState; private MovementType MoveType; private float Speed; private float SpeedModifier; private float Rotation; private PlayStatus Player; private int VitalStatus; 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 int getAttPtsFree() { return freeAttributePoints; } public void setAttPtsFree(int AttPtsFree) { this.freeAttributePoints = AttPtsFree; } public int getAttPtsTotal() { return totalAttributePoints; } public void setAttPtsTotal(int AttPtsTotal) { this.totalAttributePoints = AttPtsTotal; } public int getCharID() { return characterId; } public void setCharID(int CharID) { this.characterId = CharID; } public byte getChatColor() { return chatColor; } public void setChatColor(byte ChatColor) { this.chatColor = ChatColor; } 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 energyRegenation; } public void setEnergyRegen(float EnergyRegen) { this.energyRegenation = EnergyRegen; } 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 healthRegeneration; } public void setHealthRegen(float HealthRegen) { this.healthRegeneration = HealthRegen; } public boolean isIsOutpost() { return isOutpost; } public void setIsOutpost(boolean IsOutpost) { this.isOutpost = IsOutpost; } public Date getLastHeartBeat() { return lastHeartBeat; } public void setLastHeartBeat(Date LastHeartBeat) { this.lastHeartBeat = LastHeartBeat; } public Date getLastPingTime() { return lastPingTime; } public void setLastPingTime(Date lastPingTime) { this.lastPingTime = lastPingTime; } 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 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 PlayStatus getPlayer() { return Player; } public void setPlayer(PlayStatus Player) { this.Player = Player; } public GWVector getPosition() { return position; } public void setPosition(GWVector Position) { this.position = Position; } public byte getProfessionPrimary() { return primaryProfession; } public void setProfessionPrimary(byte ProfessionPrimary) { this.primaryProfession = ProfessionPrimary; } public byte getProfessionSecondary() { return secondaryProfession; } public void setProfessionSecondary(byte ProfessionSecondary) { this.secondaryProfession = ProfessionSecondary; } public float getRotation() { return Rotation; } public void setRotation(float Rotation) { this.Rotation = Rotation; } 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 getVitalStatus() { return VitalStatus; } public void setVitalStatus(int VitalStatus) { this.VitalStatus = VitalStatus; } }