Remove unused comments
This commit is contained in:
parent
7b3e778ea5
commit
7e4b135a23
@ -18,21 +18,16 @@ export default class Game {
|
|||||||
}
|
}
|
||||||
|
|
||||||
getPartyState(): PartyState {
|
getPartyState(): PartyState {
|
||||||
// const result = await this.redis.json_hgetall(`game:${gameId}:partyState`);
|
|
||||||
const result = this.partyState;
|
const result = this.partyState;
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
getGamePasswordHash(): string {
|
getGamePasswordHash(): string {
|
||||||
// const result = await this.redis.get(`game:${gameId}:passwordHash`);
|
|
||||||
|
|
||||||
const result = this.passwordHash;
|
const result = this.passwordHash;
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
setGamePasswordHash(hash: string): void {
|
setGamePasswordHash(hash: string): void {
|
||||||
// const result = await this.redis.set(`game:${gameId}:passwordHash`, hash);
|
|
||||||
|
|
||||||
this.passwordHash = hash;
|
this.passwordHash = hash;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user