mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-12-16 00:44:46 +01:00
Refactor accounts to not use a player uid
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user