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