Refactor accounts to not use a player uid

This commit is contained in:
Melledy
2022-05-27 00:22:55 -07:00
parent 880d177034
commit 243ad3abe5
12 changed files with 144 additions and 133 deletions

View File

@@ -21,7 +21,7 @@ public class Account {
private String username;
private String password; // Unused for now
@AlsoLoad("playerUid") private int playerId;
private int reservedPlayerId;
private String email;
private String token;
@@ -67,12 +67,12 @@ public class Account {
this.token = token;
}
public int getPlayerUid() {
return this.playerId;
public int getReservedPlayerUid() {
return this.reservedPlayerId;
}
public void setPlayerId(int playerId) {
this.playerId = playerId;
public void setReservedPlayerUid(int playerId) {
this.reservedPlayerId = playerId;
}
public String getEmail() {