@mtgame/core 0.1.122 → 0.1.124
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.
- package/bundles/mtgame-core.umd.js +50 -24
- package/bundles/mtgame-core.umd.js.map +1 -1
- package/esm2015/localization/rugby-game-log-types.js +12 -10
- package/esm2015/models/rugby-game-log.js +20 -15
- package/esm2015/models/rugby-game-statistic.js +9 -1
- package/esm2015/models/rugby-statistic.js +5 -1
- package/esm2015/models/waterpolo-game-statistic.js +1 -2
- package/fesm2015/mtgame-core.js +42 -24
- package/fesm2015/mtgame-core.js.map +1 -1
- package/localization/rugby-game-log-types.d.ts +6 -4
- package/models/rugby-game-log.d.ts +19 -14
- package/models/rugby-game-statistic.d.ts +4 -0
- package/models/rugby-statistic.d.ts +4 -0
- package/mtgame-core.metadata.json +1 -1
- package/package.json +1 -1
|
@@ -7,8 +7,8 @@ export declare const RugbyGameLogTypeLocalization: {
|
|
|
7
7
|
6: string;
|
|
8
8
|
7: string;
|
|
9
9
|
8: string;
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
27: string;
|
|
11
|
+
26: string;
|
|
12
12
|
9: string;
|
|
13
13
|
10: string;
|
|
14
14
|
11: string;
|
|
@@ -24,8 +24,8 @@ export declare const RugbyGameLogTypeLocalization: {
|
|
|
24
24
|
21: string;
|
|
25
25
|
22: string;
|
|
26
26
|
23: string;
|
|
27
|
-
|
|
28
|
-
|
|
27
|
+
24: string;
|
|
28
|
+
25: string;
|
|
29
29
|
28: string;
|
|
30
30
|
29: string;
|
|
31
31
|
30: string;
|
|
@@ -35,4 +35,6 @@ export declare const RugbyGameLogTypeLocalization: {
|
|
|
35
35
|
34: string;
|
|
36
36
|
35: string;
|
|
37
37
|
36: string;
|
|
38
|
+
37: string;
|
|
39
|
+
38: string;
|
|
38
40
|
};
|
|
@@ -25,20 +25,25 @@ export declare enum RugbyGameLogTypes {
|
|
|
25
25
|
head_injury = 20,
|
|
26
26
|
end_game_penalty_miss = 21,
|
|
27
27
|
end_game_penalty_goal = 22,
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
28
|
+
foot_field_shot = 23,
|
|
29
|
+
foot_out_shot = 24,
|
|
30
|
+
timeout = 25,
|
|
31
|
+
tap_penalty = 26,
|
|
32
|
+
penalty_kick_to_touch = 27,
|
|
33
|
+
scrum_won = 28,
|
|
34
|
+
scrum_lost = 29,
|
|
35
|
+
scrum_won_free = 30,
|
|
36
|
+
lineout_won = 31,
|
|
37
|
+
lineout_lost = 32,
|
|
38
|
+
quick_throw = 33,
|
|
39
|
+
ruck_won = 34,
|
|
40
|
+
ruck_lost = 35,
|
|
41
|
+
maul_won = 36,
|
|
42
|
+
maul_lost = 37,
|
|
43
|
+
team_foul = 38,
|
|
44
|
+
start_kick = 39,
|
|
45
|
+
twenty_two_meters_kick = 40,
|
|
46
|
+
goal_kick = 41
|
|
42
47
|
}
|
|
43
48
|
export declare const RUGBY_GAME_LOG_TYPE_POINTS: {
|
|
44
49
|
4: number;
|
|
@@ -24,11 +24,15 @@ export declare class RugbyGameStatistic extends BaseModel implements GameStatist
|
|
|
24
24
|
tackles: number;
|
|
25
25
|
handlingErrors: number;
|
|
26
26
|
carriesOverGainline: number;
|
|
27
|
+
footFieldShots: number;
|
|
28
|
+
footOutShots: number;
|
|
27
29
|
gameTime: number;
|
|
28
30
|
plusMinus: number;
|
|
29
31
|
updatedAt: Date;
|
|
30
32
|
get id(): number;
|
|
31
33
|
get gameMinutes(): number;
|
|
34
|
+
get totalGoals(): number;
|
|
35
|
+
get footShots(): number;
|
|
32
36
|
static toFront(data: any): any;
|
|
33
37
|
static toBack(data: any): any;
|
|
34
38
|
}
|
|
@@ -40,6 +40,7 @@ export declare class RugbyStatistic extends BaseModel implements BaseStatistic {
|
|
|
40
40
|
dropGoals: number;
|
|
41
41
|
dropGoalMisses: number;
|
|
42
42
|
dropGoalsPercent: number;
|
|
43
|
+
totalGoals: number;
|
|
43
44
|
freeKicks: number;
|
|
44
45
|
yellowCards: number;
|
|
45
46
|
redCards: number;
|
|
@@ -47,6 +48,9 @@ export declare class RugbyStatistic extends BaseModel implements BaseStatistic {
|
|
|
47
48
|
tackles: number;
|
|
48
49
|
handlingErrors: number;
|
|
49
50
|
carriesOverGainline: number;
|
|
51
|
+
footFieldShots: number;
|
|
52
|
+
footOutShots: number;
|
|
53
|
+
footShots: number;
|
|
50
54
|
plusMinus: number;
|
|
51
55
|
gameTime: number;
|
|
52
56
|
scrums: number;
|