游戏记录增加赛季标签
This commit is contained in:
parent
933f458b04
commit
ceb0b8f4a2
@ -45,6 +45,12 @@ class GameRecordClass extends Base<string>{
|
||||
public round: number;
|
||||
@prop()
|
||||
public winner: number;
|
||||
/**
|
||||
* 赛季
|
||||
* @type {number} 0: 匹配, 1: 对应赛季
|
||||
*/
|
||||
@prop()
|
||||
public season: number;
|
||||
|
||||
@prop({_id: false, type: () => [GamePlayer]})
|
||||
public players: GamePlayer[];
|
||||
@ -54,6 +60,7 @@ class GameRecordClass extends Base<string>{
|
||||
roomid: this.roomid,
|
||||
round: this.round,
|
||||
winner: this.winner,
|
||||
season: this.season,
|
||||
players: '',
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user