@rian8337/osu-droid-replay-analyzer 1.0.2 → 1.1.0
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/package.json +5 -5
- package/typings/index.d.ts +22 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rian8337/osu-droid-replay-analyzer",
|
|
3
|
-
"version": "1.0
|
|
3
|
+
"version": "1.1.0",
|
|
4
4
|
"description": "A replay analyzer for analyzing osu!droid replay files.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"osu",
|
|
@@ -31,9 +31,9 @@
|
|
|
31
31
|
"url": "https://github.com/Rian8337/osu-droid-module/issues"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@rian8337/osu-base": "^1.0.
|
|
35
|
-
"@rian8337/osu-difficulty-calculator": "^1.0
|
|
36
|
-
"@rian8337/osu-rebalance-difficulty-calculator": "^1.0
|
|
34
|
+
"@rian8337/osu-base": "^1.0.5",
|
|
35
|
+
"@rian8337/osu-difficulty-calculator": "^1.1.0",
|
|
36
|
+
"@rian8337/osu-rebalance-difficulty-calculator": "^1.1.0",
|
|
37
37
|
"java-deserialization": "^0.1.0",
|
|
38
38
|
"unzipper": "^0.10.11"
|
|
39
39
|
},
|
|
@@ -45,5 +45,5 @@
|
|
|
45
45
|
"publishConfig": {
|
|
46
46
|
"access": "public"
|
|
47
47
|
},
|
|
48
|
-
"gitHead": "
|
|
48
|
+
"gitHead": "409e4106e7d7297924a55c625d4214fb0ba79a18"
|
|
49
49
|
}
|
package/typings/index.d.ts
CHANGED
|
@@ -205,6 +205,28 @@ declare module "@rian8337/osu-droid-replay-analyzer" {
|
|
|
205
205
|
});
|
|
206
206
|
}
|
|
207
207
|
|
|
208
|
+
/**
|
|
209
|
+
* Utility to check whether or not a beatmap is three-fingered.
|
|
210
|
+
*/
|
|
211
|
+
export class ThreeFingerChecker {
|
|
212
|
+
/**
|
|
213
|
+
* The beatmap to analyze.
|
|
214
|
+
*/
|
|
215
|
+
readonly map: DroidStarRating | RebalanceDroidStarRating;
|
|
216
|
+
/**
|
|
217
|
+
* The data of the replay.
|
|
218
|
+
*/
|
|
219
|
+
readonly data: ReplayData;
|
|
220
|
+
/**
|
|
221
|
+
* Checks whether a beatmap is eligible to be detected for three finger.
|
|
222
|
+
*
|
|
223
|
+
* @param map The beatmap.
|
|
224
|
+
*/
|
|
225
|
+
static isEligibleToDetect(
|
|
226
|
+
map: DroidStarRating | RebalanceDroidStarRating
|
|
227
|
+
): boolean;
|
|
228
|
+
}
|
|
229
|
+
|
|
208
230
|
//#endregion
|
|
209
231
|
|
|
210
232
|
//#region Enums
|
|
@@ -296,7 +318,6 @@ declare module "@rian8337/osu-droid-replay-analyzer" {
|
|
|
296
318
|
readonly unstableRate: number;
|
|
297
319
|
}
|
|
298
320
|
|
|
299
|
-
|
|
300
321
|
/**
|
|
301
322
|
* Contains information about a replay.
|
|
302
323
|
*/
|