@mtgame/core 0.1.77 → 0.1.79
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 +151 -45
- package/bundles/mtgame-core.umd.js.map +1 -1
- package/esm2015/localization/basketball-game-sub-log-types.js +29 -0
- package/esm2015/localization/public-api.js +2 -1
- package/esm2015/models/basketball-game-log.js +82 -6
- package/esm2015/storage/store.js +3 -3
- package/fesm2015/mtgame-core.js +112 -8
- package/fesm2015/mtgame-core.js.map +1 -1
- package/localization/basketball-game-log-types.d.ts +3 -3
- package/localization/basketball-game-sub-log-types.d.ts +24 -0
- package/localization/public-api.d.ts +1 -0
- package/models/basketball-game-log.d.ts +66 -4
- package/mtgame-core.metadata.json +1 -1
- package/package.json +1 -1
- package/storage/store.d.ts +1 -1
|
@@ -5,11 +5,11 @@ export declare const BasketballGameLogTypeLocalization: {
|
|
|
5
5
|
7: string;
|
|
6
6
|
8: string;
|
|
7
7
|
9: string;
|
|
8
|
-
|
|
8
|
+
21: string;
|
|
9
9
|
4: string;
|
|
10
10
|
5: string;
|
|
11
11
|
6: string;
|
|
12
|
-
|
|
12
|
+
22: string;
|
|
13
13
|
10: string;
|
|
14
14
|
11: string;
|
|
15
15
|
12: string;
|
|
@@ -20,6 +20,6 @@ export declare const BasketballGameLogTypeLocalization: {
|
|
|
20
20
|
17: string;
|
|
21
21
|
18: string;
|
|
22
22
|
19: string;
|
|
23
|
-
22: string;
|
|
24
23
|
23: string;
|
|
24
|
+
24: string;
|
|
25
25
|
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export declare const BasketballGameSubLogTypesLocalization: {
|
|
2
|
+
1: string;
|
|
3
|
+
2: string;
|
|
4
|
+
3: string;
|
|
5
|
+
4: string;
|
|
6
|
+
5: string;
|
|
7
|
+
6: string;
|
|
8
|
+
7: string;
|
|
9
|
+
8: string;
|
|
10
|
+
9: string;
|
|
11
|
+
10: string;
|
|
12
|
+
11: string;
|
|
13
|
+
12: string;
|
|
14
|
+
13: string;
|
|
15
|
+
15: string;
|
|
16
|
+
16: string;
|
|
17
|
+
17: string;
|
|
18
|
+
18: string;
|
|
19
|
+
19: string;
|
|
20
|
+
20: string;
|
|
21
|
+
21: string;
|
|
22
|
+
22: string;
|
|
23
|
+
23: string;
|
|
24
|
+
};
|
|
@@ -21,10 +21,62 @@ export declare enum BasketballGameLogTypes {
|
|
|
21
21
|
personal_foul = 17,
|
|
22
22
|
technical_foul = 18,
|
|
23
23
|
unsportsmanlike_foul = 19,
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
24
|
+
disqualification_foul = 20,
|
|
25
|
+
one_point_attempt = 21,
|
|
26
|
+
one_point_made = 22,
|
|
27
|
+
timeout = 23,
|
|
28
|
+
team_rebound = 24
|
|
29
|
+
}
|
|
30
|
+
export declare enum BasketballSubLogTypes {
|
|
31
|
+
jump_shot = 1,
|
|
32
|
+
step_back_jump_shot = 2,
|
|
33
|
+
floating_jump_shot = 3,
|
|
34
|
+
fade_away_jump_shot = 4,
|
|
35
|
+
pull_up_jump_shot = 5,
|
|
36
|
+
turnaround_jump_shot = 6,
|
|
37
|
+
dunk = 7,
|
|
38
|
+
layup = 8,
|
|
39
|
+
driving_layup = 9,
|
|
40
|
+
alley_oop = 10,
|
|
41
|
+
hook_shot = 11,
|
|
42
|
+
offensive_foul = 12,
|
|
43
|
+
shot_foul = 13,
|
|
44
|
+
mutual_foul = 14,
|
|
45
|
+
bad_pass = 15,
|
|
46
|
+
ball_handling = 16,
|
|
47
|
+
travel = 17,
|
|
48
|
+
double_dribble = 18,
|
|
49
|
+
out_of_bounds = 19,
|
|
50
|
+
three_seconds = 20,
|
|
51
|
+
five_seconds = 21,
|
|
52
|
+
eight_seconds = 22,
|
|
53
|
+
twenty_four_seconds = 23
|
|
54
|
+
}
|
|
55
|
+
export declare enum BasketballCourtZones {
|
|
56
|
+
paint = 1,
|
|
57
|
+
left_short_corner = 2,
|
|
58
|
+
right_short_corner = 3,
|
|
59
|
+
left_middle_post = 4,
|
|
60
|
+
right_middle_post = 5,
|
|
61
|
+
high_post = 6,
|
|
62
|
+
left_corner = 7,
|
|
63
|
+
right_corner = 8,
|
|
64
|
+
left_wing = 9,
|
|
65
|
+
right_wing = 10,
|
|
66
|
+
top = 11
|
|
67
|
+
}
|
|
68
|
+
export declare enum BasketballCourtSides {
|
|
69
|
+
front = 1,
|
|
70
|
+
back = 2
|
|
71
|
+
}
|
|
72
|
+
export declare enum BasketballPenaltyTypes {
|
|
73
|
+
one_shot = 1,
|
|
74
|
+
two_shots = 2,
|
|
75
|
+
three_shots = 3,
|
|
76
|
+
possession = 4,
|
|
77
|
+
one_shot_and_possession = 5,
|
|
78
|
+
two_shots_and_possession = 6,
|
|
79
|
+
three_shots_and_possession = 7
|
|
28
80
|
}
|
|
29
81
|
export declare class BasketballGameLog extends BaseModel implements GameLogBase {
|
|
30
82
|
id: number;
|
|
@@ -34,6 +86,7 @@ export declare class BasketballGameLog extends BaseModel implements GameLogBase
|
|
|
34
86
|
gameUser: GameUser;
|
|
35
87
|
teamId: number;
|
|
36
88
|
logType: BasketballGameLogTypes;
|
|
89
|
+
subLogType: BasketballSubLogTypes;
|
|
37
90
|
datetime: Date;
|
|
38
91
|
time: number;
|
|
39
92
|
period: number;
|
|
@@ -42,6 +95,15 @@ export declare class BasketballGameLog extends BaseModel implements GameLogBase
|
|
|
42
95
|
teamScore: number;
|
|
43
96
|
competitorTeamScore: number;
|
|
44
97
|
isHighlight: boolean;
|
|
98
|
+
zone: BasketballCourtZones;
|
|
99
|
+
courtSide: BasketballCourtSides;
|
|
100
|
+
penaltyType: BasketballPenaltyTypes;
|
|
101
|
+
foulOnGameUserId: number;
|
|
102
|
+
foulOnGameUser: GameUser;
|
|
103
|
+
fastBreak: boolean;
|
|
104
|
+
isCoach: boolean;
|
|
105
|
+
isBench: boolean;
|
|
106
|
+
group: string;
|
|
45
107
|
isPointsType(): boolean;
|
|
46
108
|
isReboundType(): boolean;
|
|
47
109
|
isFoulType(): boolean;
|