@mtgame/core 1.0.29 → 1.0.31
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 +35 -31
- package/bundles/mtgame-core.umd.js.map +1 -1
- package/esm2015/localization/rugby-game-log-types.js +3 -1
- package/esm2015/models/rugby-game-log.js +32 -31
- package/esm2015/models/rugby-game-statistic.js +2 -1
- package/esm2015/models/tournament-team-user-field-value.js +2 -1
- package/fesm2015/mtgame-core.js +77 -73
- 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 +32 -31
- package/models/tournament-team-user-field-value.d.ts +1 -0
- package/mtgame-core.metadata.json +1 -1
- package/package.json +1 -1
|
@@ -3946,7 +3946,7 @@
|
|
|
3946
3946
|
file: 'file',
|
|
3947
3947
|
},
|
|
3948
3948
|
relation: {
|
|
3949
|
-
file: File,
|
|
3949
|
+
file: exports.File,
|
|
3950
3950
|
}
|
|
3951
3951
|
})
|
|
3952
3952
|
], exports.TournamentTeamUserFieldValue);
|
|
@@ -10248,6 +10248,7 @@
|
|
|
10248
10248
|
free_kicks: 'freeKicks',
|
|
10249
10249
|
yellow_cards: 'yellowCards',
|
|
10250
10250
|
red_cards: 'redCards',
|
|
10251
|
+
red_cards_20: 'redCards20',
|
|
10251
10252
|
offloads: 'offloads',
|
|
10252
10253
|
tackles: 'tackles',
|
|
10253
10254
|
handling_errors: 'handlingErrors',
|
|
@@ -10340,37 +10341,38 @@
|
|
|
10340
10341
|
RugbyGameLogTypes[RugbyGameLogTypes["foul"] = 12] = "foul";
|
|
10341
10342
|
RugbyGameLogTypes[RugbyGameLogTypes["yellow_card"] = 13] = "yellow_card";
|
|
10342
10343
|
RugbyGameLogTypes[RugbyGameLogTypes["red_card"] = 14] = "red_card";
|
|
10343
|
-
RugbyGameLogTypes[RugbyGameLogTypes["
|
|
10344
|
-
RugbyGameLogTypes[RugbyGameLogTypes["
|
|
10345
|
-
RugbyGameLogTypes[RugbyGameLogTypes["
|
|
10346
|
-
RugbyGameLogTypes[RugbyGameLogTypes["
|
|
10347
|
-
RugbyGameLogTypes[RugbyGameLogTypes["
|
|
10348
|
-
RugbyGameLogTypes[RugbyGameLogTypes["
|
|
10349
|
-
RugbyGameLogTypes[RugbyGameLogTypes["
|
|
10350
|
-
RugbyGameLogTypes[RugbyGameLogTypes["
|
|
10351
|
-
RugbyGameLogTypes[RugbyGameLogTypes["
|
|
10352
|
-
RugbyGameLogTypes[RugbyGameLogTypes["
|
|
10353
|
-
RugbyGameLogTypes[RugbyGameLogTypes["
|
|
10354
|
-
RugbyGameLogTypes[RugbyGameLogTypes["
|
|
10344
|
+
RugbyGameLogTypes[RugbyGameLogTypes["red_card_20"] = 15] = "red_card_20";
|
|
10345
|
+
RugbyGameLogTypes[RugbyGameLogTypes["offload"] = 16] = "offload";
|
|
10346
|
+
RugbyGameLogTypes[RugbyGameLogTypes["tackle"] = 17] = "tackle";
|
|
10347
|
+
RugbyGameLogTypes[RugbyGameLogTypes["handling_error"] = 18] = "handling_error";
|
|
10348
|
+
RugbyGameLogTypes[RugbyGameLogTypes["carries_over_gainline"] = 19] = "carries_over_gainline";
|
|
10349
|
+
RugbyGameLogTypes[RugbyGameLogTypes["bleeding_injury"] = 20] = "bleeding_injury";
|
|
10350
|
+
RugbyGameLogTypes[RugbyGameLogTypes["head_injury"] = 21] = "head_injury";
|
|
10351
|
+
RugbyGameLogTypes[RugbyGameLogTypes["end_game_penalty_miss"] = 22] = "end_game_penalty_miss";
|
|
10352
|
+
RugbyGameLogTypes[RugbyGameLogTypes["end_game_penalty_goal"] = 23] = "end_game_penalty_goal";
|
|
10353
|
+
RugbyGameLogTypes[RugbyGameLogTypes["foot_field_shot"] = 24] = "foot_field_shot";
|
|
10354
|
+
RugbyGameLogTypes[RugbyGameLogTypes["foot_out_shot"] = 25] = "foot_out_shot";
|
|
10355
|
+
RugbyGameLogTypes[RugbyGameLogTypes["foot_kick_50_22"] = 26] = "foot_kick_50_22";
|
|
10356
|
+
RugbyGameLogTypes[RugbyGameLogTypes["run"] = 27] = "run";
|
|
10355
10357
|
// team actions
|
|
10356
|
-
RugbyGameLogTypes[RugbyGameLogTypes["timeout"] =
|
|
10357
|
-
RugbyGameLogTypes[RugbyGameLogTypes["tap_penalty"] =
|
|
10358
|
-
RugbyGameLogTypes[RugbyGameLogTypes["penalty_kick_to_touch"] =
|
|
10359
|
-
RugbyGameLogTypes[RugbyGameLogTypes["scrum_won"] =
|
|
10360
|
-
RugbyGameLogTypes[RugbyGameLogTypes["scrum_lost"] =
|
|
10361
|
-
RugbyGameLogTypes[RugbyGameLogTypes["scrum_won_free"] =
|
|
10362
|
-
RugbyGameLogTypes[RugbyGameLogTypes["lineout_won"] =
|
|
10363
|
-
RugbyGameLogTypes[RugbyGameLogTypes["lineout_lost"] =
|
|
10364
|
-
RugbyGameLogTypes[RugbyGameLogTypes["quick_throw"] =
|
|
10365
|
-
RugbyGameLogTypes[RugbyGameLogTypes["ruck_won"] =
|
|
10366
|
-
RugbyGameLogTypes[RugbyGameLogTypes["ruck_lost"] =
|
|
10367
|
-
RugbyGameLogTypes[RugbyGameLogTypes["maul_won"] =
|
|
10368
|
-
RugbyGameLogTypes[RugbyGameLogTypes["maul_lost"] =
|
|
10369
|
-
RugbyGameLogTypes[RugbyGameLogTypes["team_foul"] =
|
|
10370
|
-
RugbyGameLogTypes[RugbyGameLogTypes["start_kick"] =
|
|
10371
|
-
RugbyGameLogTypes[RugbyGameLogTypes["twenty_two_meters_kick"] =
|
|
10372
|
-
RugbyGameLogTypes[RugbyGameLogTypes["goal_kick"] =
|
|
10373
|
-
RugbyGameLogTypes[RugbyGameLogTypes["out"] =
|
|
10358
|
+
RugbyGameLogTypes[RugbyGameLogTypes["timeout"] = 28] = "timeout";
|
|
10359
|
+
RugbyGameLogTypes[RugbyGameLogTypes["tap_penalty"] = 29] = "tap_penalty";
|
|
10360
|
+
RugbyGameLogTypes[RugbyGameLogTypes["penalty_kick_to_touch"] = 30] = "penalty_kick_to_touch";
|
|
10361
|
+
RugbyGameLogTypes[RugbyGameLogTypes["scrum_won"] = 31] = "scrum_won";
|
|
10362
|
+
RugbyGameLogTypes[RugbyGameLogTypes["scrum_lost"] = 32] = "scrum_lost";
|
|
10363
|
+
RugbyGameLogTypes[RugbyGameLogTypes["scrum_won_free"] = 33] = "scrum_won_free";
|
|
10364
|
+
RugbyGameLogTypes[RugbyGameLogTypes["lineout_won"] = 34] = "lineout_won";
|
|
10365
|
+
RugbyGameLogTypes[RugbyGameLogTypes["lineout_lost"] = 35] = "lineout_lost";
|
|
10366
|
+
RugbyGameLogTypes[RugbyGameLogTypes["quick_throw"] = 36] = "quick_throw";
|
|
10367
|
+
RugbyGameLogTypes[RugbyGameLogTypes["ruck_won"] = 37] = "ruck_won";
|
|
10368
|
+
RugbyGameLogTypes[RugbyGameLogTypes["ruck_lost"] = 38] = "ruck_lost";
|
|
10369
|
+
RugbyGameLogTypes[RugbyGameLogTypes["maul_won"] = 39] = "maul_won";
|
|
10370
|
+
RugbyGameLogTypes[RugbyGameLogTypes["maul_lost"] = 40] = "maul_lost";
|
|
10371
|
+
RugbyGameLogTypes[RugbyGameLogTypes["team_foul"] = 41] = "team_foul";
|
|
10372
|
+
RugbyGameLogTypes[RugbyGameLogTypes["start_kick"] = 42] = "start_kick";
|
|
10373
|
+
RugbyGameLogTypes[RugbyGameLogTypes["twenty_two_meters_kick"] = 43] = "twenty_two_meters_kick";
|
|
10374
|
+
RugbyGameLogTypes[RugbyGameLogTypes["goal_kick"] = 44] = "goal_kick";
|
|
10375
|
+
RugbyGameLogTypes[RugbyGameLogTypes["out"] = 45] = "out";
|
|
10374
10376
|
})(exports.RugbyGameLogTypes || (exports.RugbyGameLogTypes = {}));
|
|
10375
10377
|
var RUGBY_GAME_LOG_TYPE_POINTS = (_a$i = {},
|
|
10376
10378
|
_a$i[exports.RugbyGameLogTypes.penalty_try] = 7,
|
|
@@ -14982,6 +14984,7 @@
|
|
|
14982
14984
|
_b$7[exports.RugbyGameLogTypes.foul] = 'Фол',
|
|
14983
14985
|
_b$7[exports.RugbyGameLogTypes.yellow_card] = 'Желтая карточка',
|
|
14984
14986
|
_b$7[exports.RugbyGameLogTypes.red_card] = 'Красная карточка',
|
|
14987
|
+
_b$7[exports.RugbyGameLogTypes.red_card_20] = 'Красная карточка (20 мин.)',
|
|
14985
14988
|
_b$7[exports.RugbyGameLogTypes.offload] = 'Скидка при завхвате',
|
|
14986
14989
|
_b$7[exports.RugbyGameLogTypes.tackle] = 'Успешный захват',
|
|
14987
14990
|
_b$7[exports.RugbyGameLogTypes.handling_error] = 'Ошибка приема',
|
|
@@ -15028,6 +15031,7 @@
|
|
|
15028
15031
|
_c$7[exports.RugbyGameLogTypes.foul] = 'Foul',
|
|
15029
15032
|
_c$7[exports.RugbyGameLogTypes.yellow_card] = 'Yellow card',
|
|
15030
15033
|
_c$7[exports.RugbyGameLogTypes.red_card] = 'Red card',
|
|
15034
|
+
_c$7[exports.RugbyGameLogTypes.red_card_20] = 'Red card (20 min.)',
|
|
15031
15035
|
_c$7[exports.RugbyGameLogTypes.offload] = 'Offload',
|
|
15032
15036
|
_c$7[exports.RugbyGameLogTypes.tackle] = 'Successful tackle',
|
|
15033
15037
|
_c$7[exports.RugbyGameLogTypes.handling_error] = 'Error receiving',
|