@rian8337/osu-droid-replay-analyzer 4.0.0-beta.65 → 4.0.0-beta.68

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/dist/index.js CHANGED
@@ -2339,6 +2339,9 @@ class ReplayAnalyzer {
2339
2339
  }
2340
2340
  resultObject.rank = this.calculateRank(resultObject);
2341
2341
  }
2342
+ if (resultObject.replayVersion <= 6) {
2343
+ resultObject.convertedMods.set(osuBase.ModReplayV6);
2344
+ }
2342
2345
  let bufferIndex;
2343
2346
  switch (resultObject.replayVersion) {
2344
2347
  case 1:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rian8337/osu-droid-replay-analyzer",
3
- "version": "4.0.0-beta.65",
3
+ "version": "4.0.0-beta.68",
4
4
  "description": "A replay analyzer for analyzing osu!droid replay files.",
5
5
  "keywords": [
6
6
  "osu",
@@ -34,9 +34,9 @@
34
34
  "url": "https://github.com/Rian8337/osu-droid-module/issues"
35
35
  },
36
36
  "dependencies": {
37
- "@rian8337/osu-base": "^4.0.0-beta.65",
38
- "@rian8337/osu-difficulty-calculator": "^4.0.0-beta.65",
39
- "@rian8337/osu-rebalance-difficulty-calculator": "^4.0.0-beta.65",
37
+ "@rian8337/osu-base": "^4.0.0-beta.68",
38
+ "@rian8337/osu-difficulty-calculator": "^4.0.0-beta.68",
39
+ "@rian8337/osu-rebalance-difficulty-calculator": "^4.0.0-beta.68",
40
40
  "java-deserialization": "^0.1.0",
41
41
  "unzipper": "^0.10.11"
42
42
  },
@@ -46,5 +46,5 @@
46
46
  "publishConfig": {
47
47
  "access": "public"
48
48
  },
49
- "gitHead": "7fde5e9b7f6240fc962a2ce3866d63059ff65767"
49
+ "gitHead": "7e5fb503347032ae2a6337bbc25a76c95a54f7d8"
50
50
  }
@@ -283,6 +283,16 @@ interface ExportedReplayJSONDataV2 extends Omit<ExportedReplayJSONDataV1, "perfe
283
283
  beatmapMD5: string;
284
284
  }
285
285
 
286
+ /**
287
+ * The structure of the exported replay JSON data for version 3.
288
+ */
289
+ interface ExportedReplayJSONDataV3 extends Omit<ExportedReplayJSONDataV2, "mod"> {
290
+ /**
291
+ * The modifications that are used in the replay.
292
+ */
293
+ mods: string;
294
+ }
295
+
286
296
  /**
287
297
  * Represents an exported replay's JSON structure for version 1.
288
298
  */
@@ -293,6 +303,11 @@ type ExportedReplayJSONV1 = ExportedReplayJSON<1, ExportedReplayJSONDataV1>;
293
303
  */
294
304
  type ExportedReplayJSONV2 = ExportedReplayJSON<2, ExportedReplayJSONDataV2>;
295
305
 
306
+ /**
307
+ * Represents an exported replay's JSON structure for version 3.
308
+ */
309
+ type ExportedReplayJSONV3 = ExportedReplayJSON<3, ExportedReplayJSONDataV3>;
310
+
296
311
  /**
297
312
  * The result of a hit in an osu!droid replay.
298
313
  */
@@ -1100,4 +1115,4 @@ declare class TwoHandChecker {
1100
1115
  private getCursorPosition;
1101
1116
  }
1102
1117
 
1103
- export { CursorData, type CursorInformation, CursorOccurrence, CursorOccurrenceGroup, type ExportedReplayJSON, type ExportedReplayJSONDataV1, type ExportedReplayJSONDataV2, type ExportedReplayJSONV1, type ExportedReplayJSONV2, type HitErrorInformation, HitResult, MovementType, RebalanceThreeFingerChecker, ReplayAnalyzer, ReplayData, ReplayObjectData, ReplayV3Data, SliderCheeseChecker, type SliderCheeseInformation, ThreeFingerChecker, type ThreeFingerInformation, TwoHandChecker, type TwoHandInformation };
1118
+ export { CursorData, type CursorInformation, CursorOccurrence, CursorOccurrenceGroup, type ExportedReplayJSON, type ExportedReplayJSONDataV1, type ExportedReplayJSONDataV2, type ExportedReplayJSONDataV3, type ExportedReplayJSONV1, type ExportedReplayJSONV2, type ExportedReplayJSONV3, type HitErrorInformation, HitResult, MovementType, RebalanceThreeFingerChecker, ReplayAnalyzer, ReplayData, ReplayObjectData, ReplayV3Data, SliderCheeseChecker, type SliderCheeseInformation, ThreeFingerChecker, type ThreeFingerInformation, TwoHandChecker, type TwoHandInformation };