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