Fix: DB user column -> player

This commit is contained in:
2018-07-04 21:54:29 +09:00
parent 81860d6800
commit dc87390b8c
26 changed files with 132 additions and 132 deletions
+7 -7
View File
@@ -1,9 +1,9 @@
class RankingRecord {
constructor(rank, userID, userName, bestRecord) {
constructor(rank, playerID, playerName, bestRecord) {
this.rank = rank;
this.userID = userID;
this.userName = userName;
this.playerID = playerID;
this.playerName = playerName;
this.bestRecord = bestRecord;
}
}
@@ -36,12 +36,12 @@ class RankingRecordManager {
return this.rankingRecords[index].rank;
}
getUserIDAt(index) {
return this.rankingRecords[index].userID;
getPlayerIDAt(index) {
return this.rankingRecords[index].playerID;
}
getUserNameAt(index) {
return this.rankingRecords[index].userName;
getPlayerNameAt(index) {
return this.rankingRecords[index].playerName;
}
getBestRecordAt(index) {