@mtgame/core 0.1.42 → 0.1.43

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -35,4 +35,6 @@ export declare const RugbyGameLogTypeLocalization: {
35
35
  33: string;
36
36
  34: string;
37
37
  35: string;
38
+ 36: string;
39
+ 37: string;
38
40
  };
@@ -10,6 +10,7 @@ export declare class RugbyGameConfig extends BaseModel {
10
10
  gameTimeType: GameTimeTypes;
11
11
  substituteCount: number;
12
12
  freeSubstituteEnabled: boolean;
13
+ get penaltyPeriod(): number;
13
14
  static toFront(data: any): any;
14
15
  static toBack(data: any): any;
15
16
  }
@@ -25,19 +25,21 @@ export declare enum RugbyGameLogTypes {
25
25
  carries_other_gainline = 20,
26
26
  bleeding_injury = 21,
27
27
  head_injury = 22,
28
- timeout = 23,
29
- scrum_won = 24,
30
- scrum_lose = 25,
31
- scrum_won_free = 26,
32
- lineout_success = 27,
33
- lineout_loss = 28,
34
- lineout_steal = 29,
35
- quick_throw = 30,
36
- ruck_won = 31,
37
- ruck_lose = 32,
38
- maul_won = 33,
39
- maul_lose = 34,
40
- team_foul = 35
28
+ end_game_penalty_miss = 23,
29
+ end_game_penalty_goal = 24,
30
+ timeout = 25,
31
+ scrum_won = 26,
32
+ scrum_lose = 27,
33
+ scrum_won_free = 28,
34
+ lineout_success = 29,
35
+ lineout_loss = 30,
36
+ lineout_steal = 31,
37
+ quick_throw = 32,
38
+ ruck_won = 33,
39
+ ruck_lose = 34,
40
+ maul_won = 35,
41
+ maul_lose = 36,
42
+ team_foul = 37
41
43
  }
42
44
  export declare const RUGBY_GAME_LOG_TYPE_POINTS: {
43
45
  4: number;
@@ -1,5 +1,6 @@
1
1
  import { BaseModel } from './util';
2
- export declare class RugbyGameStatistic extends BaseModel {
2
+ import { GameStatisticBase } from './game-statistic-base';
3
+ export declare class RugbyGameStatistic extends BaseModel implements GameStatisticBase {
3
4
  gameUserId: number;
4
5
  points: number;
5
6
  tries: number;
@@ -1,6 +1,7 @@
1
1
  import { BaseModel } from './util';
2
2
  import { RugbyStatistic } from './rugby-statistic';
3
- export declare class RugbyGameTeamStatistic extends BaseModel {
3
+ import { GameTeamStatisticBase } from './game-team-statistic-base';
4
+ export declare class RugbyGameTeamStatistic extends BaseModel implements GameTeamStatisticBase {
4
5
  team: RugbyStatistic;
5
6
  competitorTeam: RugbyStatistic;
6
7
  static toFront(data: any): any;
@@ -4,17 +4,22 @@ import { Team } from './team';
4
4
  import { TeamUser } from './team-user';
5
5
  import { User } from './user';
6
6
  import { TournamentTeam } from './tournament-team';
7
- export declare class RugbyStatistic extends BaseModel {
7
+ import { BaseStatistic, WinLoseType } from './base-statistic';
8
+ import { LeaguePlayer } from './league-player';
9
+ export declare class RugbyStatistic extends BaseModel implements BaseStatistic {
10
+ leaguePlayer: LeaguePlayer;
8
11
  tournamentTeamUser: TournamentTeamUser;
9
12
  team: Team;
10
13
  teamUser: TeamUser;
11
14
  user: User;
12
15
  tournamentTeam: TournamentTeam;
13
16
  month: Date;
14
- winLose: boolean;
17
+ winLose: WinLoseType;
15
18
  gamesCount: number;
16
19
  wonGamesCount: number;
20
+ tournamentTeamPoints: number;
17
21
  newbie: boolean;
22
+ rank: number;
18
23
  points: number;
19
24
  tries: number;
20
25
  penaltyTries: number;
@@ -32,6 +32,10 @@ export declare class TournamentTeam extends BaseModel {
32
32
  winOvertimeGamesCount: number;
33
33
  loseOvertimeGamesCount: number;
34
34
  lastFiveGames: Game[];
35
+ triesScored: number;
36
+ triesMissed: number;
37
+ attackBonuses: number;
38
+ defenseBonuses: number;
35
39
  get gamesWonPercent(): number;
36
40
  static toFront(data: any): any;
37
41
  static toBack(data: any): any;