More refactoring (player id -> player uid)

This commit is contained in:
Melledy
2022-04-20 21:50:33 -07:00
parent b99ca4e02f
commit af1ecca963
11 changed files with 20 additions and 19 deletions

View File

@@ -1,5 +1,6 @@
package emu.grasscutter.game;
import dev.morphia.annotations.AlsoLoad;
import dev.morphia.annotations.Collation;
import dev.morphia.annotations.Entity;
import dev.morphia.annotations.Id;
@@ -24,7 +25,7 @@ public class Account {
private String username;
private String password; // Unused for now
private int playerId;
@AlsoLoad("playerUid") private int playerId;
private String email;
private String token;
@@ -68,7 +69,7 @@ public class Account {
this.token = token;
}
public int getPlayerId() {
public int getPlayerUid() {
return this.playerId;
}