halo-infinite-api 4.0.4 → 4.0.6
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 -0
- package/dist/models/halo-infinite/game-variant-category.js +2 -0
- package/dist/models/halo-infinite/game-variant-category.js.map +1 -1
- package/dist/models/halo-infinite/match-stats.d.ts +4 -0
- package/package.json +1 -1
- package/src/models/halo-infinite/game-variant-category.ts +2 -0
- package/src/models/halo-infinite/match-stats.ts +4 -0
|
@@ -4,8 +4,10 @@ export declare enum GameVariantCategory {
|
|
|
4
4
|
MultiplayerFiesta = 9,
|
|
5
5
|
MultiplayerStrongholds = 11,
|
|
6
6
|
MultiplayerKingOfTheHill = 12,
|
|
7
|
+
MultiplayerTotalControl = 14,
|
|
7
8
|
MultiplayerCtf = 15,
|
|
8
9
|
MultiplayerOddball = 18,
|
|
10
|
+
MultiplayerInfection = 22,
|
|
9
11
|
MultiplayerGrifball = 25,
|
|
10
12
|
MultiplayerLandGrab = 39,
|
|
11
13
|
MultiplayerExtraction = 17
|
|
@@ -5,8 +5,10 @@ export var GameVariantCategory;
|
|
|
5
5
|
GameVariantCategory[GameVariantCategory["MultiplayerFiesta"] = 9] = "MultiplayerFiesta";
|
|
6
6
|
GameVariantCategory[GameVariantCategory["MultiplayerStrongholds"] = 11] = "MultiplayerStrongholds";
|
|
7
7
|
GameVariantCategory[GameVariantCategory["MultiplayerKingOfTheHill"] = 12] = "MultiplayerKingOfTheHill";
|
|
8
|
+
GameVariantCategory[GameVariantCategory["MultiplayerTotalControl"] = 14] = "MultiplayerTotalControl";
|
|
8
9
|
GameVariantCategory[GameVariantCategory["MultiplayerCtf"] = 15] = "MultiplayerCtf";
|
|
9
10
|
GameVariantCategory[GameVariantCategory["MultiplayerOddball"] = 18] = "MultiplayerOddball";
|
|
11
|
+
GameVariantCategory[GameVariantCategory["MultiplayerInfection"] = 22] = "MultiplayerInfection";
|
|
10
12
|
GameVariantCategory[GameVariantCategory["MultiplayerGrifball"] = 25] = "MultiplayerGrifball";
|
|
11
13
|
GameVariantCategory[GameVariantCategory["MultiplayerLandGrab"] = 39] = "MultiplayerLandGrab";
|
|
12
14
|
GameVariantCategory[GameVariantCategory["MultiplayerExtraction"] = 17] = "MultiplayerExtraction";
|
|
@@ -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,mBAaX;AAbD,WAAY,mBAAmB;IAC7B,uFAAqB,CAAA;IACrB,6FAAwB,CAAA;IACxB,uFAAqB,CAAA;IACrB,kGAA2B,CAAA;IAC3B,sGAA6B,CAAA;IAC7B,oGAA4B,CAAA;IAC5B,kFAAmB,CAAA;IACnB,0FAAuB,CAAA;IACvB,8FAAyB,CAAA;IACzB,4FAAwB,CAAA;IACxB,4FAAwB,CAAA;IACxB,gGAA0B,CAAA;AAC5B,CAAC,EAbW,mBAAmB,KAAnB,mBAAmB,QAa9B"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { GameVariantCategory } from "./game-variant-category";
|
|
2
2
|
import { MatchInfo } from "./match-info";
|
|
3
|
+
import { MatchOutcome } from "./match-outcome";
|
|
3
4
|
import { Stats } from "./stats";
|
|
4
5
|
export interface MatchStats<TCategory extends GameVariantCategory = GameVariantCategory> {
|
|
5
6
|
MatchId: string;
|
|
@@ -12,7 +13,10 @@ export interface MatchStats<TCategory extends GameVariantCategory = GameVariantC
|
|
|
12
13
|
}[];
|
|
13
14
|
Players: {
|
|
14
15
|
PlayerId: string;
|
|
16
|
+
PlayerType: number;
|
|
17
|
+
BotAttributes: object;
|
|
15
18
|
LastTeamId: number;
|
|
19
|
+
Outcome: MatchOutcome;
|
|
16
20
|
Rank: number;
|
|
17
21
|
ParticipationInfo: {
|
|
18
22
|
FirstJoinedTime: string;
|
package/package.json
CHANGED
|
@@ -4,8 +4,10 @@ export enum GameVariantCategory {
|
|
|
4
4
|
MultiplayerFiesta = 9,
|
|
5
5
|
MultiplayerStrongholds = 11,
|
|
6
6
|
MultiplayerKingOfTheHill = 12,
|
|
7
|
+
MultiplayerTotalControl = 14,
|
|
7
8
|
MultiplayerCtf = 15,
|
|
8
9
|
MultiplayerOddball = 18,
|
|
10
|
+
MultiplayerInfection = 22,
|
|
9
11
|
MultiplayerGrifball = 25,
|
|
10
12
|
MultiplayerLandGrab = 39,
|
|
11
13
|
MultiplayerExtraction = 17,
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { GameVariantCategory } from "./game-variant-category";
|
|
2
2
|
import { MatchInfo } from "./match-info";
|
|
3
|
+
import { MatchOutcome } from "./match-outcome";
|
|
3
4
|
import { Stats } from "./stats";
|
|
4
5
|
|
|
5
6
|
export interface MatchStats<
|
|
@@ -15,7 +16,10 @@ export interface MatchStats<
|
|
|
15
16
|
}[];
|
|
16
17
|
Players: {
|
|
17
18
|
PlayerId: string;
|
|
19
|
+
PlayerType: number;
|
|
20
|
+
BotAttributes: object;
|
|
18
21
|
LastTeamId: number;
|
|
22
|
+
Outcome: MatchOutcome;
|
|
19
23
|
Rank: number;
|
|
20
24
|
ParticipationInfo: {
|
|
21
25
|
FirstJoinedTime: string;
|