package be.demmel.jgws.rmi;

import java.io.Serializable;

public class LoginServerPlayerData implements Serializable {
    private long accId, charId, mapId;
    private short[] securityKey1, securityKey2;

    public LoginServerPlayerData(long accId, long charId, long mapId, short[] securityKey1, short[] securityKey2) {
        this.accId = accId;
        this.charId = charId;
        this.mapId = mapId;
        this.securityKey1 = securityKey1;
        this.securityKey2 = securityKey2;
    }

    public long getAccId() {
        return accId;
    }

    public void setAccId(long accId) {
        this.accId = accId;
    }

    public long getCharId() {
        return charId;
    }

    public void setCharId(long charId) {
        this.charId = charId;
    }

    public long getMapId() {
        return mapId;
    }

    public void setMapId(long mapId) {
        this.mapId = mapId;
    }

    public short[] getSecurityKey1() {
        return securityKey1;
    }

    public void setSecurityKey1(short[] securityKey1) {
        this.securityKey1 = securityKey1;
    }

    public short[] getSecurityKey2() {
        return securityKey2;
    }

    public void setSecurityKey2(short[] securityKey2) {
        this.securityKey2 = securityKey2;
    }

    @Override
    public String toString() {
        return "PlayerData{" + "accId=" + accId + ", charId=" + charId + ", mapId=" + mapId + ", securityKey1=" + securityKey1 + ", securityKey2=" + securityKey2 + '}';
    }
}
