halo-infinite-api 3.0.0 → 3.2.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/dist/models/halo-infinite/game-variant-category.d.ts +2 -1
- package/dist/models/halo-infinite/game-variant-category.js +1 -0
- package/dist/models/halo-infinite/game-variant-category.js.map +1 -1
- package/dist/models/halo-infinite/stats.d.ts +10 -0
- package/package.json +1 -1
- package/src/models/halo-infinite/game-variant-category.ts +1 -0
- package/src/models/halo-infinite/stats.ts +12 -0
|
@@ -9,5 +9,6 @@ export var GameVariantCategory;
|
|
|
9
9
|
GameVariantCategory[GameVariantCategory["MultiplayerOddball"] = 18] = "MultiplayerOddball";
|
|
10
10
|
GameVariantCategory[GameVariantCategory["MultiplayerGrifball"] = 25] = "MultiplayerGrifball";
|
|
11
11
|
GameVariantCategory[GameVariantCategory["MultiplayerLandGrab"] = 39] = "MultiplayerLandGrab";
|
|
12
|
+
GameVariantCategory[GameVariantCategory["MultiplayerExtraction"] = 17] = "MultiplayerExtraction";
|
|
12
13
|
})(GameVariantCategory || (GameVariantCategory = {}));
|
|
13
14
|
//# sourceMappingURL=game-variant-category.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"game-variant-category.js","sourceRoot":"","sources":["../../../src/models/halo-infinite/game-variant-category.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,
|
|
1
|
+
{"version":3,"file":"game-variant-category.js","sourceRoot":"","sources":["../../../src/models/halo-infinite/game-variant-category.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,mBAWX;AAXD,WAAY,mBAAmB;IAC7B,uFAAqB,CAAA;IACrB,6FAAwB,CAAA;IACxB,uFAAqB,CAAA;IACrB,kGAA2B,CAAA;IAC3B,sGAA6B,CAAA;IAC7B,kFAAmB,CAAA;IACnB,0FAAuB,CAAA;IACvB,4FAAwB,CAAA;IACxB,4FAAwB,CAAA;IACxB,gGAA0B,CAAA;AAC5B,CAAC,EAXW,mBAAmB,KAAnB,mBAAmB,QAW9B"}
|
|
@@ -28,6 +28,13 @@ interface CaptureTheFlagStats {
|
|
|
28
28
|
KillsAsFlagReturner: number;
|
|
29
29
|
TimeAsFlagCarrier: string;
|
|
30
30
|
}
|
|
31
|
+
interface ExtractionStats {
|
|
32
|
+
SuccessfulExtractions: number;
|
|
33
|
+
ExtractionConversionsDenied: number;
|
|
34
|
+
ExtractionConversionsCompleted: number;
|
|
35
|
+
ExtractionInitiationsDenied: number;
|
|
36
|
+
ExtractionInitiationsCompleted: number;
|
|
37
|
+
}
|
|
31
38
|
type StatsMap = {
|
|
32
39
|
[GameVariantCategory.MultiplayerOddball]: {
|
|
33
40
|
OddballStats: OddballStats;
|
|
@@ -41,6 +48,9 @@ type StatsMap = {
|
|
|
41
48
|
[GameVariantCategory.MultiplayerKingOfTheHill]: {
|
|
42
49
|
ZonesStats: ZonesStats;
|
|
43
50
|
};
|
|
51
|
+
[GameVariantCategory.MultiplayerExtraction]: {
|
|
52
|
+
ExtractionStats: ExtractionStats;
|
|
53
|
+
};
|
|
44
54
|
};
|
|
45
55
|
export type Stats<TCategory extends GameVariantCategory = GameVariantCategory> = {
|
|
46
56
|
CoreStats: {
|
package/package.json
CHANGED
|
@@ -29,6 +29,15 @@ interface CaptureTheFlagStats {
|
|
|
29
29
|
KillsAsFlagReturner: number;
|
|
30
30
|
TimeAsFlagCarrier: string;
|
|
31
31
|
}
|
|
32
|
+
|
|
33
|
+
interface ExtractionStats {
|
|
34
|
+
SuccessfulExtractions: number;
|
|
35
|
+
ExtractionConversionsDenied: number;
|
|
36
|
+
ExtractionConversionsCompleted: number;
|
|
37
|
+
ExtractionInitiationsDenied: number;
|
|
38
|
+
ExtractionInitiationsCompleted: number;
|
|
39
|
+
}
|
|
40
|
+
|
|
32
41
|
type StatsMap = {
|
|
33
42
|
[GameVariantCategory.MultiplayerOddball]: { OddballStats: OddballStats };
|
|
34
43
|
[GameVariantCategory.MultiplayerStrongholds]: { ZonesStats: ZonesStats };
|
|
@@ -36,6 +45,9 @@ type StatsMap = {
|
|
|
36
45
|
CaptureTheFlagStats: CaptureTheFlagStats;
|
|
37
46
|
};
|
|
38
47
|
[GameVariantCategory.MultiplayerKingOfTheHill]: { ZonesStats: ZonesStats };
|
|
48
|
+
[GameVariantCategory.MultiplayerExtraction]: {
|
|
49
|
+
ExtractionStats: ExtractionStats;
|
|
50
|
+
};
|
|
39
51
|
};
|
|
40
52
|
|
|
41
53
|
export type Stats<TCategory extends GameVariantCategory = GameVariantCategory> =
|