@mtgame/core 0.2.105 → 0.2.107
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 +43 -2
- package/bundles/mtgame-core.umd.js.map +1 -1
- package/esm2015/localization/wrestball-game-log-types.js +6 -2
- package/esm2015/models/football-game-config.js +4 -2
- package/esm2015/models/handball-game-config.js +4 -2
- package/esm2015/models/hockey-game-config.js +4 -2
- package/esm2015/models/rugby-game-config.js +4 -2
- package/esm2015/models/waterpolo-game-config.js +4 -2
- package/esm2015/models/wrestball-game-log.js +11 -1
- package/esm2015/models/wrestball-game-statistic.js +13 -2
- package/esm2015/models/wrestball-statistic.js +7 -1
- package/fesm2015/mtgame-core.js +43 -2
- package/fesm2015/mtgame-core.js.map +1 -1
- package/localization/wrestball-game-log-types.d.ts +4 -0
- package/models/football-game-config.d.ts +2 -1
- package/models/handball-game-config.d.ts +2 -1
- package/models/hockey-game-config.d.ts +2 -1
- package/models/rugby-game-config.d.ts +2 -1
- package/models/waterpolo-game-config.d.ts +2 -1
- package/models/wrestball-game-log.d.ts +5 -1
- package/models/wrestball-game-statistic.d.ts +6 -0
- package/models/wrestball-statistic.d.ts +6 -0
- package/mtgame-core.metadata.json +1 -1
- package/package.json +1 -1
|
@@ -5,10 +5,14 @@ export declare const WrestballGameLogTypeLocalization: {
|
|
|
5
5
|
7: string;
|
|
6
6
|
9: string;
|
|
7
7
|
11: string;
|
|
8
|
+
39: string;
|
|
9
|
+
41: string;
|
|
8
10
|
5: string;
|
|
9
11
|
6: string;
|
|
10
12
|
8: string;
|
|
11
13
|
10: string;
|
|
14
|
+
38: string;
|
|
15
|
+
40: string;
|
|
12
16
|
4: string;
|
|
13
17
|
36: string;
|
|
14
18
|
37: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BaseModel } from './util';
|
|
2
|
-
import { GameTimeTypes, OvertimeTypes } from './tournament';
|
|
2
|
+
import { GameTimeTypes, OvertimeTypes, TimerTypes } from './tournament';
|
|
3
3
|
export declare class FootballGameConfig extends BaseModel {
|
|
4
4
|
periodsCount: number;
|
|
5
5
|
periodTime: number;
|
|
@@ -14,6 +14,7 @@ export declare class FootballGameConfig extends BaseModel {
|
|
|
14
14
|
substituteCount: number;
|
|
15
15
|
freeSubstituteEnabled: boolean;
|
|
16
16
|
substituteManageEnabled: boolean;
|
|
17
|
+
timerType: TimerTypes;
|
|
17
18
|
get penaltyPeriod(): number;
|
|
18
19
|
static toFront(data: any): any;
|
|
19
20
|
static toBack(data: any): any;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BaseModel } from './util';
|
|
2
|
-
import { GameTimeTypes, OvertimeTypes } from './tournament';
|
|
2
|
+
import { GameTimeTypes, OvertimeTypes, TimerTypes } from './tournament';
|
|
3
3
|
export declare class HandballGameConfig extends BaseModel {
|
|
4
4
|
periodsCount: number;
|
|
5
5
|
periodTime: number;
|
|
@@ -11,6 +11,7 @@ export declare class HandballGameConfig extends BaseModel {
|
|
|
11
11
|
timeoutTime: number;
|
|
12
12
|
gameTimeType: GameTimeTypes;
|
|
13
13
|
substituteManageEnabled: boolean;
|
|
14
|
+
timerType: TimerTypes;
|
|
14
15
|
static toFront(data: any): any;
|
|
15
16
|
static toBack(data: any): any;
|
|
16
17
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BaseModel } from './util';
|
|
2
|
-
import { GameTimeTypes, OvertimeTypes } from './tournament';
|
|
2
|
+
import { GameTimeTypes, OvertimeTypes, TimerTypes } from './tournament';
|
|
3
3
|
export declare class HockeyGameConfig extends BaseModel {
|
|
4
4
|
periodsCount: number;
|
|
5
5
|
periodTime: number;
|
|
@@ -18,6 +18,7 @@ export declare class HockeyGameConfig extends BaseModel {
|
|
|
18
18
|
matchPenaltyTime: number;
|
|
19
19
|
playoffSeriesOvertimeType: OvertimeTypes;
|
|
20
20
|
playoffSeriesOvertimeTime: number;
|
|
21
|
+
timerType: TimerTypes;
|
|
21
22
|
static toFront(data: any): any;
|
|
22
23
|
static toBack(data: any): any;
|
|
23
24
|
get overtimePeriod(): number;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BaseModel } from './util';
|
|
2
|
-
import { GameTimeTypes, OvertimeTypes, RugbyStatisticTypes } from './tournament';
|
|
2
|
+
import { GameTimeTypes, OvertimeTypes, RugbyStatisticTypes, TimerTypes } from './tournament';
|
|
3
3
|
export declare class RugbyGameConfig extends BaseModel {
|
|
4
4
|
periodsCount: number;
|
|
5
5
|
periodTime: number;
|
|
@@ -11,6 +11,7 @@ export declare class RugbyGameConfig extends BaseModel {
|
|
|
11
11
|
substituteCount: number;
|
|
12
12
|
freeSubstituteEnabled: boolean;
|
|
13
13
|
statisticType: RugbyStatisticTypes;
|
|
14
|
+
timerType: TimerTypes;
|
|
14
15
|
get penaltyPeriod(): number;
|
|
15
16
|
static toFront(data: any): any;
|
|
16
17
|
static toBack(data: any): any;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BaseModel } from './util';
|
|
2
|
-
import { GameTimeTypes, OvertimeTypes, WaterpoloStatisticTypes } from './tournament';
|
|
2
|
+
import { GameTimeTypes, OvertimeTypes, TimerTypes, WaterpoloStatisticTypes } from './tournament';
|
|
3
3
|
export declare class WaterpoloGameConfig extends BaseModel {
|
|
4
4
|
periodsCount: number;
|
|
5
5
|
periodTime: number;
|
|
@@ -13,6 +13,7 @@ export declare class WaterpoloGameConfig extends BaseModel {
|
|
|
13
13
|
substituteManageEnabled: boolean;
|
|
14
14
|
shotClockEnabled: boolean;
|
|
15
15
|
statisticType: WaterpoloStatisticTypes;
|
|
16
|
+
timerType: TimerTypes;
|
|
16
17
|
static toFront(data: any): any;
|
|
17
18
|
static toBack(data: any): any;
|
|
18
19
|
get overtimePeriod(): number;
|
|
@@ -38,7 +38,11 @@ export declare enum WrestballGameLogTypes {
|
|
|
38
38
|
scrum_ball_advantage_lost = 34,
|
|
39
39
|
scrum_ball_advantage_tie = 35,
|
|
40
40
|
dunk_made = 36,
|
|
41
|
-
dunk_attempt = 37
|
|
41
|
+
dunk_attempt = 37,
|
|
42
|
+
two_point_free_throw_made = 38,
|
|
43
|
+
two_point_free_throw_attempt = 39,
|
|
44
|
+
three_point_free_throw_made = 40,
|
|
45
|
+
three_point_free_throw_attempt = 41
|
|
42
46
|
}
|
|
43
47
|
export declare class WrestballGameLog extends BaseModel implements GameLogBase {
|
|
44
48
|
id: number;
|
|
@@ -4,6 +4,9 @@ export declare class WrestballGameStatistic extends BaseModel implements GameSta
|
|
|
4
4
|
gameUserId: number;
|
|
5
5
|
points: number;
|
|
6
6
|
freeThrowsMade: number;
|
|
7
|
+
twoPointsFreeThrowMade: number;
|
|
8
|
+
threePointsFreeThrowMade: number;
|
|
9
|
+
totalFreeThrowMade: number;
|
|
7
10
|
twoPointsMade: number;
|
|
8
11
|
threePointsMade: number;
|
|
9
12
|
onePointsMade: number;
|
|
@@ -11,6 +14,9 @@ export declare class WrestballGameStatistic extends BaseModel implements GameSta
|
|
|
11
14
|
twoPointAttempts: number;
|
|
12
15
|
threePointAttempts: number;
|
|
13
16
|
freeThrowAttempts: number;
|
|
17
|
+
twoPointFreeThrowAttempts: number;
|
|
18
|
+
threePointFreeThrowAttempts: number;
|
|
19
|
+
totalFreeThrowAttempts: number;
|
|
14
20
|
onePointAttempts: number;
|
|
15
21
|
dunkAttempts: number;
|
|
16
22
|
assists: number;
|
|
@@ -24,11 +24,17 @@ export declare class WrestballStatistic extends BaseModel implements BaseStatist
|
|
|
24
24
|
twoPointsMade: number;
|
|
25
25
|
threePointsMade: number;
|
|
26
26
|
freeThrowsMade: number;
|
|
27
|
+
twoPointsFreeThrowMade: number;
|
|
28
|
+
threePointsFreeThrowMade: number;
|
|
29
|
+
totalFreeThrowMade: number;
|
|
27
30
|
onePointsMade: number;
|
|
28
31
|
dunksMade: number;
|
|
29
32
|
twoPointAttempts: number;
|
|
30
33
|
threePointAttempts: number;
|
|
31
34
|
freeThrowAttempts: number;
|
|
35
|
+
twoPointFreeThrowAttempts: number;
|
|
36
|
+
threePointFreeThrowAttempts: number;
|
|
37
|
+
totalFreeThrowAttempts: number;
|
|
32
38
|
onePointAttempts: number;
|
|
33
39
|
dunkAttempts: number;
|
|
34
40
|
twoPointPercent: number;
|