mirror of
https://github.com/ProjectSWGCore/Holocore.git
synced 2026-10-18 08:02:56 -04:00
Added galaxy name to the player class
This commit is contained in:
@@ -50,7 +50,8 @@ public class Player implements Serializable, Comparable<Player> {
|
||||
private int connectionId = 0;
|
||||
private AccessLevel accessLevel = AccessLevel.PLAYER;
|
||||
|
||||
public int galaxyId = 0;
|
||||
private int galaxyId = 0;
|
||||
private String galaxyName = "";
|
||||
private CreatureObject creatureObject= null;
|
||||
private long lastInboundMessage = 0;
|
||||
|
||||
@@ -99,6 +100,10 @@ public class Player implements Serializable, Comparable<Player> {
|
||||
this.galaxyId = galaxyId;
|
||||
}
|
||||
|
||||
public void setGalaxyName(String galaxyName) {
|
||||
this.galaxyName = galaxyName;
|
||||
}
|
||||
|
||||
public void setCreatureObject(CreatureObject obj) {
|
||||
this.creatureObject = obj;
|
||||
}
|
||||
@@ -145,6 +150,10 @@ public class Player implements Serializable, Comparable<Player> {
|
||||
return galaxyId;
|
||||
}
|
||||
|
||||
public String getGalaxyName() {
|
||||
return galaxyName;
|
||||
}
|
||||
|
||||
public CreatureObject getCreatureObject() {
|
||||
return creatureObject;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user