@bluebottle_gg/league-broadcast-client 0.3.1 → 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/dist/index.d.ts +1554 -744
- package/dist/index.js +771 -23
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -688,6 +688,10 @@ var GameApi = class {
|
|
|
688
688
|
async getCurrentGame() {
|
|
689
689
|
return this.client.get("game/current");
|
|
690
690
|
}
|
|
691
|
+
/** `POST game/current/start` */
|
|
692
|
+
async startCurrentOrScheduledGame() {
|
|
693
|
+
return this.client.post("game/current/start");
|
|
694
|
+
}
|
|
691
695
|
/** `GET game/previous` */
|
|
692
696
|
async getPreviousGame() {
|
|
693
697
|
return this.client.get("game/previous");
|
|
@@ -1146,6 +1150,165 @@ var IngameApi = class {
|
|
|
1146
1150
|
}
|
|
1147
1151
|
};
|
|
1148
1152
|
|
|
1153
|
+
// src/api/generated/PostGameApi.ts
|
|
1154
|
+
var PostGameApi = class {
|
|
1155
|
+
constructor(client) {
|
|
1156
|
+
this.client = client;
|
|
1157
|
+
}
|
|
1158
|
+
/** `POST postgame/route/{uri}` */
|
|
1159
|
+
async changeRoute(uri, ComponentData) {
|
|
1160
|
+
return this.client.post(`postgame/route/${uri}`, ComponentData);
|
|
1161
|
+
}
|
|
1162
|
+
/** `POST postgame/mock/{mocking}` */
|
|
1163
|
+
async setMocking(mocking) {
|
|
1164
|
+
return this.client.post(`postgame/mock/${mocking}`);
|
|
1165
|
+
}
|
|
1166
|
+
/** `GET postgame/mock` */
|
|
1167
|
+
async getMocking() {
|
|
1168
|
+
return this.client.get("postgame/mock");
|
|
1169
|
+
}
|
|
1170
|
+
/** `GET postgame/frontend` */
|
|
1171
|
+
async getFrontendUrl() {
|
|
1172
|
+
return this.client.get("postgame/frontend");
|
|
1173
|
+
}
|
|
1174
|
+
/** `POST postgame/frontend` */
|
|
1175
|
+
async changeRouting(uri) {
|
|
1176
|
+
return this.client.post(`postgame/frontend?uri=${encodeURIComponent(String(uri))}`);
|
|
1177
|
+
}
|
|
1178
|
+
/** `GET postgame/overview/{gameId}` */
|
|
1179
|
+
async getGameOverview(gameId) {
|
|
1180
|
+
return this.client.get(`postgame/overview/${gameId}`);
|
|
1181
|
+
}
|
|
1182
|
+
/** `GET postgame/overview/current` */
|
|
1183
|
+
async getCurrentGameOverview() {
|
|
1184
|
+
return this.client.get("postgame/overview/current");
|
|
1185
|
+
}
|
|
1186
|
+
/** `GET postgame/overview/mock` */
|
|
1187
|
+
async getMockGameOverview() {
|
|
1188
|
+
return this.client.get("postgame/overview/mock");
|
|
1189
|
+
}
|
|
1190
|
+
/** `GET postgame/matchdata/{gameId}` */
|
|
1191
|
+
async getMatchData(gameId) {
|
|
1192
|
+
return this.client.get(`postgame/matchdata/${gameId}`);
|
|
1193
|
+
}
|
|
1194
|
+
/** `GET postgame/matchdata/current` */
|
|
1195
|
+
async getCurrentMatchData() {
|
|
1196
|
+
return this.client.get("postgame/matchdata/current");
|
|
1197
|
+
}
|
|
1198
|
+
/** `GET postgame/matchdata/mock` */
|
|
1199
|
+
async getMockMatchData() {
|
|
1200
|
+
return this.client.get("postgame/matchdata/mock");
|
|
1201
|
+
}
|
|
1202
|
+
/** `GET postgame/matchdata` */
|
|
1203
|
+
async getMatchDataRange(startDate, endDate, startGameId, endGameId, teamId, seasonId) {
|
|
1204
|
+
return this.client.get(`postgame/matchdata?startDate=${encodeURIComponent(String(startDate))}&endDate=${encodeURIComponent(String(endDate))}&startGameId=${encodeURIComponent(String(startGameId))}&endGameId=${encodeURIComponent(String(endGameId))}&teamId=${encodeURIComponent(String(teamId))}&seasonId=${encodeURIComponent(String(seasonId))}`);
|
|
1205
|
+
}
|
|
1206
|
+
/** `GET postgame/matchdata/mock/filter` */
|
|
1207
|
+
async getMockMatchDataRange(startDate, endDate, startGameId, endGameId, teamId, seasonId) {
|
|
1208
|
+
return this.client.get(`postgame/matchdata/mock/filter?startDate=${encodeURIComponent(String(startDate))}&endDate=${encodeURIComponent(String(endDate))}&startGameId=${encodeURIComponent(String(startGameId))}&endGameId=${encodeURIComponent(String(endGameId))}&teamId=${encodeURIComponent(String(teamId))}&seasonId=${encodeURIComponent(String(seasonId))}`);
|
|
1209
|
+
}
|
|
1210
|
+
/** `GET postgame/matchoverview/{matchId}` */
|
|
1211
|
+
async getMatchOverview(matchId) {
|
|
1212
|
+
return this.client.get(`postgame/matchoverview/${matchId}`);
|
|
1213
|
+
}
|
|
1214
|
+
/** `GET postgame/matchoverview/current` */
|
|
1215
|
+
async getCurrentMatchOverview() {
|
|
1216
|
+
return this.client.get("postgame/matchoverview/current");
|
|
1217
|
+
}
|
|
1218
|
+
/** `GET postgame/matchoverview/mock` */
|
|
1219
|
+
async getMockMatchOverview() {
|
|
1220
|
+
return this.client.get("postgame/matchoverview/mock");
|
|
1221
|
+
}
|
|
1222
|
+
/** `GET postgame/items_and_runes/{gameId}/{playerIndex}` */
|
|
1223
|
+
async getItemsAndRunes(gameId, playerIndex) {
|
|
1224
|
+
return this.client.get(`postgame/items_and_runes/${gameId}/${playerIndex}`);
|
|
1225
|
+
}
|
|
1226
|
+
/** `GET postgame/items_and_runes/{gameId}/{teamSide}/{lane}` */
|
|
1227
|
+
async getItemsAndRunesByTeamAndLane(gameId, teamSide, lane) {
|
|
1228
|
+
return this.client.get(`postgame/items_and_runes/${gameId}/${teamSide}/${lane}`);
|
|
1229
|
+
}
|
|
1230
|
+
/** `GET postgame/items_and_runes/mock` */
|
|
1231
|
+
async getMockItemAndRunes() {
|
|
1232
|
+
return this.client.get("postgame/items_and_runes/mock");
|
|
1233
|
+
}
|
|
1234
|
+
/** `GET postgame/player_stats/{gameId}/{playerIndex}` */
|
|
1235
|
+
async getPlayerStats(gameId, playerIndex) {
|
|
1236
|
+
return this.client.get(`postgame/player_stats/${gameId}/${playerIndex}`);
|
|
1237
|
+
}
|
|
1238
|
+
/** `GET postgame/player_stats/{gameId}/{teamSide}/{lane}` */
|
|
1239
|
+
async getPlayerStatsByTeamAndLane(gameId, teamSide, lane) {
|
|
1240
|
+
return this.client.get(`postgame/player_stats/${gameId}/${teamSide}/${lane}`);
|
|
1241
|
+
}
|
|
1242
|
+
/** `GET postgame/player_stats/mock` */
|
|
1243
|
+
async getMockPlayerStats() {
|
|
1244
|
+
return this.client.get("postgame/player_stats/mock");
|
|
1245
|
+
}
|
|
1246
|
+
/** `GET postgame/gold/{gameId}` */
|
|
1247
|
+
async getGameGoldGraph(gameId) {
|
|
1248
|
+
return this.client.get(`postgame/gold/${gameId}`);
|
|
1249
|
+
}
|
|
1250
|
+
/** `GET postgame/gold/mock` */
|
|
1251
|
+
async getMockGameGoldGraph() {
|
|
1252
|
+
return this.client.get("postgame/gold/mock");
|
|
1253
|
+
}
|
|
1254
|
+
/** `GET postgame/damage/{gameId}` */
|
|
1255
|
+
async getGameDamageGraph(gameId) {
|
|
1256
|
+
return this.client.get(`postgame/damage/${gameId}`);
|
|
1257
|
+
}
|
|
1258
|
+
/** `GET postgame/damage/mock` */
|
|
1259
|
+
async getMockGameDamageGraph() {
|
|
1260
|
+
return this.client.get("postgame/damage/mock");
|
|
1261
|
+
}
|
|
1262
|
+
/** `GET postgame/team/{matchId}` */
|
|
1263
|
+
async getTeamPostGameData(matchId) {
|
|
1264
|
+
return this.client.get(`postgame/team/${matchId}`);
|
|
1265
|
+
}
|
|
1266
|
+
/** `GET postgame/team/mock` */
|
|
1267
|
+
async getMockTeamPostGameData() {
|
|
1268
|
+
return this.client.get("postgame/team/mock");
|
|
1269
|
+
}
|
|
1270
|
+
/** `POST postgame/active/{componentType}/current` */
|
|
1271
|
+
async setActiveCurrentPostGameAnalysis(componentType, body) {
|
|
1272
|
+
return this.client.post(`postgame/active/${componentType}/current`, body);
|
|
1273
|
+
}
|
|
1274
|
+
/** `POST postgame/active/{componentType}/current/team/{teamSide}` */
|
|
1275
|
+
async setActiveCurrentPostGameAnalysisWithTeam(componentType, teamSide, body) {
|
|
1276
|
+
return this.client.post(`postgame/active/${componentType}/current/team/${teamSide}`, body);
|
|
1277
|
+
}
|
|
1278
|
+
/** `POST postgame/active/{componentType}/current/player/{playerIndex}` */
|
|
1279
|
+
async setActiveCurrentPostGameAnalysisWithPlayer(componentType, playerIndex, body) {
|
|
1280
|
+
return this.client.post(`postgame/active/${componentType}/current/player/${playerIndex}`, body);
|
|
1281
|
+
}
|
|
1282
|
+
/** `POST postgame/active/{componentType}/{gameId}` */
|
|
1283
|
+
async setActivePostGameAnalysis(componentType, gameId, body) {
|
|
1284
|
+
return this.client.post(`postgame/active/${componentType}/${gameId}`, body);
|
|
1285
|
+
}
|
|
1286
|
+
/** `POST postgame/active/{componentType}/match/{matchId}` */
|
|
1287
|
+
async setActivePostGameAnalysisWithMatch(componentType, matchId, body) {
|
|
1288
|
+
return this.client.post(`postgame/active/${componentType}/match/${matchId}`, body);
|
|
1289
|
+
}
|
|
1290
|
+
/** `POST postgame/active/{componentType}/{gameId}/team/{teamSide}` */
|
|
1291
|
+
async setActivePostGameAnalysisWithTeam(componentType, gameId, teamSide, body) {
|
|
1292
|
+
return this.client.post(`postgame/active/${componentType}/${gameId}/team/${teamSide}`, body);
|
|
1293
|
+
}
|
|
1294
|
+
/** `POST postgame/active/{componentType}/{gameId}/player/{playerIndex}` */
|
|
1295
|
+
async setActivePostGameAnalysisWithPlayer(componentType, gameId, playerIndex, body) {
|
|
1296
|
+
return this.client.post(`postgame/active/${componentType}/${gameId}/player/${playerIndex}`, body);
|
|
1297
|
+
}
|
|
1298
|
+
/** `POST postgame/active/{componentType}/{gameId}/player/{teamSide}/{lane}` */
|
|
1299
|
+
async setActivePostGameAnalysisWithPlayerTeamAndLane(componentType, gameId, teamSide, lane, body) {
|
|
1300
|
+
return this.client.post(`postgame/active/${componentType}/${gameId}/player/${teamSide}/${lane}`, body);
|
|
1301
|
+
}
|
|
1302
|
+
/** `GET postgame/active-component` */
|
|
1303
|
+
async getActivePostGameAnalysis() {
|
|
1304
|
+
return this.client.get("postgame/active-component");
|
|
1305
|
+
}
|
|
1306
|
+
/** `DELETE postgame/active-component` */
|
|
1307
|
+
async clearActivePostGameAnalysis() {
|
|
1308
|
+
return this.client.delete("postgame/active-component");
|
|
1309
|
+
}
|
|
1310
|
+
};
|
|
1311
|
+
|
|
1149
1312
|
// src/api/RestApi.ts
|
|
1150
1313
|
var RestApi = class {
|
|
1151
1314
|
constructor(baseUrl) {
|
|
@@ -1156,6 +1319,7 @@ var RestApi = class {
|
|
|
1156
1319
|
this.season = new SeasonApi(this.client);
|
|
1157
1320
|
this.preGame = new PreGameApi(this.client);
|
|
1158
1321
|
this.gameState = new GameStateApi(this.client);
|
|
1322
|
+
this.postGame = new PostGameApi(this.client);
|
|
1159
1323
|
}
|
|
1160
1324
|
/**
|
|
1161
1325
|
* Update the base URL for all API modules (e.g. after changing host/port).
|
|
@@ -1171,7 +1335,62 @@ var RestApi = class {
|
|
|
1171
1335
|
}
|
|
1172
1336
|
};
|
|
1173
1337
|
|
|
1338
|
+
// src/util/ingameTimerUtils.ts
|
|
1339
|
+
function getRemaining(readyAt, gameTime) {
|
|
1340
|
+
if (!readyAt || readyAt <= 0) return 0;
|
|
1341
|
+
return Math.max(0, readyAt - gameTime);
|
|
1342
|
+
}
|
|
1343
|
+
function isActive(readyAt, gameTime) {
|
|
1344
|
+
return getRemaining(readyAt, gameTime) > 0;
|
|
1345
|
+
}
|
|
1346
|
+
function getAbilityCooldownRemaining(ability, gameTime) {
|
|
1347
|
+
return getRemaining(ability?.readyAt, gameTime);
|
|
1348
|
+
}
|
|
1349
|
+
function isAbilityOnCooldown(ability, gameTime) {
|
|
1350
|
+
return getAbilityCooldownRemaining(ability, gameTime) > 0;
|
|
1351
|
+
}
|
|
1352
|
+
function getAbilityCooldownFraction(ability, gameTime) {
|
|
1353
|
+
if (!ability || !ability.totalCooldown || ability.totalCooldown <= 0)
|
|
1354
|
+
return 1;
|
|
1355
|
+
const remaining = getAbilityCooldownRemaining(ability, gameTime);
|
|
1356
|
+
if (remaining <= 0) return 1;
|
|
1357
|
+
return 1 - remaining / ability.totalCooldown;
|
|
1358
|
+
}
|
|
1359
|
+
function getItemCooldownRemaining(item, gameTime) {
|
|
1360
|
+
return getRemaining(item?.readyAt, gameTime);
|
|
1361
|
+
}
|
|
1362
|
+
function isItemOnCooldown(item, gameTime) {
|
|
1363
|
+
return getItemCooldownRemaining(item, gameTime) > 0;
|
|
1364
|
+
}
|
|
1365
|
+
function getItemCooldownFraction(item, gameTime) {
|
|
1366
|
+
if (!item?.maxCooldown || item.maxCooldown <= 0) return 1;
|
|
1367
|
+
const remaining = getItemCooldownRemaining(item, gameTime);
|
|
1368
|
+
if (remaining <= 0) return 1;
|
|
1369
|
+
return 1 - remaining / item.maxCooldown;
|
|
1370
|
+
}
|
|
1371
|
+
function getRespawnRemaining(player, gameTime) {
|
|
1372
|
+
return getRemaining(player?.respawnAt, gameTime);
|
|
1373
|
+
}
|
|
1374
|
+
function isPlayerDead(player, gameTime) {
|
|
1375
|
+
return getRespawnRemaining(player, gameTime) > 0;
|
|
1376
|
+
}
|
|
1377
|
+
function createIngameTimerUtils(getGameTime) {
|
|
1378
|
+
return {
|
|
1379
|
+
getRemaining: (readyAt) => getRemaining(readyAt, getGameTime()),
|
|
1380
|
+
isActive: (readyAt) => isActive(readyAt, getGameTime()),
|
|
1381
|
+
getAbilityCooldownRemaining: (ability) => getAbilityCooldownRemaining(ability, getGameTime()),
|
|
1382
|
+
isAbilityOnCooldown: (ability) => isAbilityOnCooldown(ability, getGameTime()),
|
|
1383
|
+
getAbilityCooldownFraction: (ability) => getAbilityCooldownFraction(ability, getGameTime()),
|
|
1384
|
+
getItemCooldownRemaining: (item) => getItemCooldownRemaining(item, getGameTime()),
|
|
1385
|
+
isItemOnCooldown: (item) => isItemOnCooldown(item, getGameTime()),
|
|
1386
|
+
getItemCooldownFraction: (item) => getItemCooldownFraction(item, getGameTime()),
|
|
1387
|
+
getRespawnRemaining: (player) => getRespawnRemaining(player, getGameTime()),
|
|
1388
|
+
isPlayerDead: (player) => isPlayerDead(player, getGameTime())
|
|
1389
|
+
};
|
|
1390
|
+
}
|
|
1391
|
+
|
|
1174
1392
|
// src/LeagueBroadcastClient.ts
|
|
1393
|
+
var _clockInterval = null;
|
|
1175
1394
|
var LeagueBroadcastClient = class {
|
|
1176
1395
|
constructor(config) {
|
|
1177
1396
|
this.gameState = 0 /* OutOfGame */;
|
|
@@ -1186,7 +1405,8 @@ var LeagueBroadcastClient = class {
|
|
|
1186
1405
|
onObjectiveEvent: /* @__PURE__ */ new Set(),
|
|
1187
1406
|
onFirstTowerEvent: /* @__PURE__ */ new Set(),
|
|
1188
1407
|
onAnnouncementEvent: /* @__PURE__ */ new Set(),
|
|
1189
|
-
onKillFeedEvent: /* @__PURE__ */ new Set()
|
|
1408
|
+
onKillFeedEvent: /* @__PURE__ */ new Set(),
|
|
1409
|
+
onSmiteReactionEvent: /* @__PURE__ */ new Set()
|
|
1190
1410
|
};
|
|
1191
1411
|
// -- Pre-game event handlers ------------------------------------------------
|
|
1192
1412
|
this.champSelectUpdateHandlers = /* @__PURE__ */ new Set();
|
|
@@ -1209,6 +1429,7 @@ var LeagueBroadcastClient = class {
|
|
|
1209
1429
|
const httpProtocol = this.config.useHttps ? "https" : "http";
|
|
1210
1430
|
const apiBaseUrl = `${httpProtocol}://${this.config.host}:${this.config.port}${this.config.apiRoute}`;
|
|
1211
1431
|
this.api = new RestApi(apiBaseUrl);
|
|
1432
|
+
this.timers = createIngameTimerUtils(() => this.gameData.gameTime);
|
|
1212
1433
|
this.ingameWs = new WebSocketManager();
|
|
1213
1434
|
this.gameData = new ingameFrontendData();
|
|
1214
1435
|
this.ingameStore = new GameStateStore(this.gameData, this.gameState);
|
|
@@ -1224,6 +1445,25 @@ var LeagueBroadcastClient = class {
|
|
|
1224
1445
|
}
|
|
1225
1446
|
}
|
|
1226
1447
|
// ===========================================================================
|
|
1448
|
+
// Internal clock management
|
|
1449
|
+
// ===========================================================================
|
|
1450
|
+
_startClock() {
|
|
1451
|
+
if (_clockInterval !== null) return;
|
|
1452
|
+
_clockInterval = setInterval(() => {
|
|
1453
|
+
if (this.gameState === 2 /* Running */ || this.gameState === 4 /* Mocking */) {
|
|
1454
|
+
this.gameData.gameTime += this.gameData.playbackSpeed ?? 1;
|
|
1455
|
+
this.stateUpdateHandlers.forEach((handler) => handler(this.gameData));
|
|
1456
|
+
this.ingameStore._setGameData(this.gameData);
|
|
1457
|
+
}
|
|
1458
|
+
}, 1e3);
|
|
1459
|
+
}
|
|
1460
|
+
_stopClock() {
|
|
1461
|
+
if (_clockInterval !== null) {
|
|
1462
|
+
clearInterval(_clockInterval);
|
|
1463
|
+
_clockInterval = null;
|
|
1464
|
+
}
|
|
1465
|
+
}
|
|
1466
|
+
// ===========================================================================
|
|
1227
1467
|
// Connection management
|
|
1228
1468
|
// ===========================================================================
|
|
1229
1469
|
/**
|
|
@@ -1457,7 +1697,7 @@ var LeagueBroadcastClient = class {
|
|
|
1457
1697
|
return `${protocol}://${this.config.host}:${this.config.port}${this.config.apiRoute}`;
|
|
1458
1698
|
}
|
|
1459
1699
|
/** Get the base URL for cache requests (optionally resolve a path). */
|
|
1460
|
-
getCacheUrl(path) {
|
|
1700
|
+
getCacheUrl(path, preventCacheBust = false) {
|
|
1461
1701
|
const protocol = this.config.useHttps ? "https" : "http";
|
|
1462
1702
|
const baseUrl = `${protocol}://${this.config.host}:${this.config.port}${this.config.cacheRoute}`;
|
|
1463
1703
|
if (!path) {
|
|
@@ -1476,6 +1716,10 @@ var LeagueBroadcastClient = class {
|
|
|
1476
1716
|
if (cleanPath.startsWith("/")) {
|
|
1477
1717
|
cleanPath = cleanPath.slice(1);
|
|
1478
1718
|
}
|
|
1719
|
+
if (preventCacheBust) {
|
|
1720
|
+
const cacheBust = `cb=${Date.now()}`;
|
|
1721
|
+
cleanPath = cleanPath.includes("?") ? `${cleanPath}&${cacheBust}` : `${cleanPath}?${cacheBust}`;
|
|
1722
|
+
}
|
|
1479
1723
|
return `${baseUrl}/${cleanPath}`;
|
|
1480
1724
|
}
|
|
1481
1725
|
// ===========================================================================
|
|
@@ -1504,10 +1748,23 @@ var LeagueBroadcastClient = class {
|
|
|
1504
1748
|
gameStatus: 0 /* OutOfGame */,
|
|
1505
1749
|
...state
|
|
1506
1750
|
};
|
|
1751
|
+
const snapshotAge = state.utcTime != null ? Math.max(0, (Date.now() - state.utcTime) / 1e3) : 0;
|
|
1752
|
+
const correctedGameTime = (state.gameTime ?? 0) + snapshotAge * (state.playbackSpeed ?? 1);
|
|
1753
|
+
if (Math.abs(correctedGameTime - (this.gameData.gameTime ?? 0)) > 2) {
|
|
1754
|
+
nextData.gameTime = correctedGameTime;
|
|
1755
|
+
} else {
|
|
1756
|
+
nextData.gameTime = this.gameData.gameTime ?? 0;
|
|
1757
|
+
}
|
|
1507
1758
|
this.gameData = structuralShare(this.gameData, nextData);
|
|
1508
1759
|
if (!state.gameTime || state.gameTime === 0) {
|
|
1509
1760
|
this.handleGameStatusUpdate(0 /* OutOfGame */, false);
|
|
1510
1761
|
}
|
|
1762
|
+
const shouldRun = state.gameStatus === 2 /* Running */ || state.gameStatus === 4 /* Mocking */;
|
|
1763
|
+
if (shouldRun) {
|
|
1764
|
+
this._startClock();
|
|
1765
|
+
} else {
|
|
1766
|
+
this._stopClock();
|
|
1767
|
+
}
|
|
1511
1768
|
this.ingameStore._setGameData(this.gameData);
|
|
1512
1769
|
this.stateUpdateHandlers.forEach((handler) => handler(this.gameData));
|
|
1513
1770
|
this.handleGameEvents(events);
|
|
@@ -1519,6 +1776,12 @@ var LeagueBroadcastClient = class {
|
|
|
1519
1776
|
return;
|
|
1520
1777
|
}
|
|
1521
1778
|
this.gameState = gameStatus;
|
|
1779
|
+
const shouldRun = gameStatus === 2 /* Running */ || gameStatus === 4 /* Mocking */;
|
|
1780
|
+
if (shouldRun) {
|
|
1781
|
+
this._startClock();
|
|
1782
|
+
} else {
|
|
1783
|
+
this._stopClock();
|
|
1784
|
+
}
|
|
1522
1785
|
this.ingameStore._setGameState(gameStatus);
|
|
1523
1786
|
this.gameStatusHandlers.forEach(
|
|
1524
1787
|
(handler) => handler(gameStatus, isTestingEnvironment)
|
|
@@ -1556,9 +1819,20 @@ var LeagueBroadcastClient = class {
|
|
|
1556
1819
|
(event) => this.ingameEventHandlers.onKillFeedEvent.forEach((h) => h(event))
|
|
1557
1820
|
);
|
|
1558
1821
|
}
|
|
1822
|
+
if (events.announcements) {
|
|
1823
|
+
events.announcements.forEach(
|
|
1824
|
+
(event) => this.ingameEventHandlers.onAnnouncementEvent.forEach((h) => h(event))
|
|
1825
|
+
);
|
|
1826
|
+
}
|
|
1827
|
+
if (events.smiteReaction !== void 0) {
|
|
1828
|
+
this.ingameEventHandlers.onSmiteReactionEvent.forEach(
|
|
1829
|
+
(h) => h(events.smiteReaction)
|
|
1830
|
+
);
|
|
1831
|
+
}
|
|
1559
1832
|
}
|
|
1560
1833
|
endGame() {
|
|
1561
1834
|
console.log("[LeagueBroadcastClient] Game ended, resetting data");
|
|
1835
|
+
this._stopClock();
|
|
1562
1836
|
this.gameData = new ingameFrontendData();
|
|
1563
1837
|
this.gameState = 0 /* OutOfGame */;
|
|
1564
1838
|
this._isTestingEnvironment = false;
|
|
@@ -1709,6 +1983,7 @@ var cloudSyncResult = class {
|
|
|
1709
1983
|
this.success = false;
|
|
1710
1984
|
this.styleSetsSynced = 0;
|
|
1711
1985
|
this.warnings = [];
|
|
1986
|
+
this.stubbed = false;
|
|
1712
1987
|
}
|
|
1713
1988
|
};
|
|
1714
1989
|
|
|
@@ -1730,6 +2005,55 @@ var localSyncState = class {
|
|
|
1730
2005
|
}
|
|
1731
2006
|
};
|
|
1732
2007
|
|
|
2008
|
+
// types/cloud/overlay/cloudOverlayDownloadResponse.ts
|
|
2009
|
+
var cloudOverlayDownloadResponse = class {
|
|
2010
|
+
constructor() {
|
|
2011
|
+
this.downloadUrl = "";
|
|
2012
|
+
this.expiresAt = /* @__PURE__ */ new Date();
|
|
2013
|
+
this.metadata = {};
|
|
2014
|
+
}
|
|
2015
|
+
};
|
|
2016
|
+
|
|
2017
|
+
// types/cloud/overlay/cloudOverlayMetadata.ts
|
|
2018
|
+
var cloudOverlayMetadata = class {
|
|
2019
|
+
constructor() {
|
|
2020
|
+
this.id = "";
|
|
2021
|
+
this.name = "";
|
|
2022
|
+
this.lastModified = /* @__PURE__ */ new Date();
|
|
2023
|
+
this.createdAt = /* @__PURE__ */ new Date();
|
|
2024
|
+
this.size = 0;
|
|
2025
|
+
this.fileCount = 0;
|
|
2026
|
+
this.isSyncedLocally = false;
|
|
2027
|
+
this.hasLocalChanges = false;
|
|
2028
|
+
}
|
|
2029
|
+
};
|
|
2030
|
+
|
|
2031
|
+
// types/cloud/overlay/cloudOverlaysResponse.ts
|
|
2032
|
+
var cloudOverlaysResponse = class {
|
|
2033
|
+
constructor() {
|
|
2034
|
+
this.overlays = [];
|
|
2035
|
+
}
|
|
2036
|
+
};
|
|
2037
|
+
|
|
2038
|
+
// types/cloud/overlay/cloudOverlayUploadRequest.ts
|
|
2039
|
+
var cloudOverlayUploadRequest = class {
|
|
2040
|
+
constructor() {
|
|
2041
|
+
this.name = "";
|
|
2042
|
+
this.contentHash = "";
|
|
2043
|
+
this.size = 0;
|
|
2044
|
+
this.fileCount = 0;
|
|
2045
|
+
}
|
|
2046
|
+
};
|
|
2047
|
+
|
|
2048
|
+
// types/cloud/overlay/cloudOverlayUploadResponse.ts
|
|
2049
|
+
var cloudOverlayUploadResponse = class {
|
|
2050
|
+
constructor() {
|
|
2051
|
+
this.id = "";
|
|
2052
|
+
this.uploadUrl = "";
|
|
2053
|
+
this.expiresAt = /* @__PURE__ */ new Date();
|
|
2054
|
+
}
|
|
2055
|
+
};
|
|
2056
|
+
|
|
1733
2057
|
// types/hotkey/casterModeConfigDto.ts
|
|
1734
2058
|
var casterModeConfigDto = class {
|
|
1735
2059
|
};
|
|
@@ -1748,20 +2072,10 @@ var Lane = /* @__PURE__ */ ((Lane2) => {
|
|
|
1748
2072
|
var playerHotkeyDto = class {
|
|
1749
2073
|
};
|
|
1750
2074
|
|
|
1751
|
-
// types/shared/style/set/tier.ts
|
|
1752
|
-
var Tier = /* @__PURE__ */ ((Tier2) => {
|
|
1753
|
-
Tier2[Tier2["Free"] = 0] = "Free";
|
|
1754
|
-
Tier2[Tier2["Basic"] = 1] = "Basic";
|
|
1755
|
-
Tier2[Tier2["Pro"] = 2] = "Pro";
|
|
1756
|
-
Tier2[Tier2["Enterprise"] = 3] = "Enterprise";
|
|
1757
|
-
return Tier2;
|
|
1758
|
-
})(Tier || {});
|
|
1759
|
-
|
|
1760
2075
|
// types/hotkey/singleIngameHotkeyConfigDto.ts
|
|
1761
2076
|
var singleIngameHotkeyConfigDto = class {
|
|
1762
2077
|
constructor() {
|
|
1763
|
-
this.
|
|
1764
|
-
this.overlayId = 0;
|
|
2078
|
+
this.buttonId = "";
|
|
1765
2079
|
this.name = "";
|
|
1766
2080
|
this.overlayName = "";
|
|
1767
2081
|
this.timePeriod = 0;
|
|
@@ -1769,14 +2083,12 @@ var singleIngameHotkeyConfigDto = class {
|
|
|
1769
2083
|
this.hasSettings = false;
|
|
1770
2084
|
this.allowSinglePlayers = false;
|
|
1771
2085
|
this.allowTimePeriod = false;
|
|
1772
|
-
this.overlaysToDisable = [];
|
|
1773
2086
|
}
|
|
1774
2087
|
};
|
|
1775
2088
|
|
|
1776
2089
|
// types/hotkey/singlePostgameHotkeyConfigDto.ts
|
|
1777
2090
|
var singlePostgameHotkeyConfigDto = class {
|
|
1778
2091
|
constructor() {
|
|
1779
|
-
this.minTier = 0 /* Free */;
|
|
1780
2092
|
this.id = 0;
|
|
1781
2093
|
this.name = "";
|
|
1782
2094
|
this.componentName = "";
|
|
@@ -1816,7 +2128,7 @@ var ingameAbilityInfo = class {
|
|
|
1816
2128
|
this.displayName = "";
|
|
1817
2129
|
this.slot = 0 /* Q */;
|
|
1818
2130
|
this.totalCooldown = 0;
|
|
1819
|
-
this.
|
|
2131
|
+
this.readyAt = 0;
|
|
1820
2132
|
this.level = 0;
|
|
1821
2133
|
this.charges = 0;
|
|
1822
2134
|
}
|
|
@@ -1838,6 +2150,7 @@ var ingameStateSettingsWrapper = class {
|
|
|
1838
2150
|
constructor() {
|
|
1839
2151
|
this.show = false;
|
|
1840
2152
|
this.overlaysToDisable = [];
|
|
2153
|
+
this.customSettings = {};
|
|
1841
2154
|
}
|
|
1842
2155
|
};
|
|
1843
2156
|
|
|
@@ -1852,6 +2165,7 @@ var itemWithAsset = class {
|
|
|
1852
2165
|
this.count = 0;
|
|
1853
2166
|
this.combineCost = 0;
|
|
1854
2167
|
this.stacks = 0;
|
|
2168
|
+
this.charges = 0;
|
|
1855
2169
|
}
|
|
1856
2170
|
};
|
|
1857
2171
|
|
|
@@ -1911,6 +2225,7 @@ var announcerEvent = class {
|
|
|
1911
2225
|
var damageCompositionPlayer = class {
|
|
1912
2226
|
constructor() {
|
|
1913
2227
|
this.name = "";
|
|
2228
|
+
this.displayName = "";
|
|
1914
2229
|
this.physical = 0;
|
|
1915
2230
|
this.magic = 0;
|
|
1916
2231
|
this.trueDamage = 0;
|
|
@@ -1961,7 +2276,9 @@ var damageEventHistoryEntry = class {
|
|
|
1961
2276
|
var damageFlowEdge = class {
|
|
1962
2277
|
constructor() {
|
|
1963
2278
|
this.sourceName = "";
|
|
2279
|
+
this.sourceDisplayName = "";
|
|
1964
2280
|
this.targetName = "";
|
|
2281
|
+
this.targetDisplayName = "";
|
|
1965
2282
|
this.totalDamage = 0;
|
|
1966
2283
|
this.damageByType = {};
|
|
1967
2284
|
}
|
|
@@ -1971,6 +2288,7 @@ var damageFlowEdge = class {
|
|
|
1971
2288
|
var damageFlowNode = class {
|
|
1972
2289
|
constructor() {
|
|
1973
2290
|
this.name = "";
|
|
2291
|
+
this.displayName = "";
|
|
1974
2292
|
this.totalDamageDealt = 0;
|
|
1975
2293
|
this.totalDamageReceived = 0;
|
|
1976
2294
|
}
|
|
@@ -1989,10 +2307,9 @@ var ingameDamageFlowData = class {
|
|
|
1989
2307
|
var damageGraphEntry = class {
|
|
1990
2308
|
constructor() {
|
|
1991
2309
|
this.name = "";
|
|
2310
|
+
this.displayName = "";
|
|
1992
2311
|
this.damageByType = {};
|
|
1993
2312
|
this.totalDamageDealt = 0;
|
|
1994
|
-
this.health = 0;
|
|
1995
|
-
this.maxHealth = 0;
|
|
1996
2313
|
this.role = "";
|
|
1997
2314
|
}
|
|
1998
2315
|
};
|
|
@@ -2008,6 +2325,7 @@ var ingameDamageGraphData = class {
|
|
|
2008
2325
|
var damageRecapEntry = class {
|
|
2009
2326
|
constructor() {
|
|
2010
2327
|
this.sourceName = "";
|
|
2328
|
+
this.sourceDisplayName = "";
|
|
2011
2329
|
this.spells = [];
|
|
2012
2330
|
this.totalDamage = 0;
|
|
2013
2331
|
this.damageByType = {};
|
|
@@ -2036,6 +2354,7 @@ var damageRecapTimelineEntry = class {
|
|
|
2036
2354
|
constructor() {
|
|
2037
2355
|
this.gameTime = 0;
|
|
2038
2356
|
this.sourceName = "";
|
|
2357
|
+
this.sourceDisplayName = "";
|
|
2039
2358
|
this.damage = 0;
|
|
2040
2359
|
this.damageType = 0 /* Physical */;
|
|
2041
2360
|
this.targetHealthBefore = 0;
|
|
@@ -2057,6 +2376,7 @@ var ObjectiveRecapDisplayMode = /* @__PURE__ */ ((ObjectiveRecapDisplayMode2) =>
|
|
|
2057
2376
|
var ingameDamageRecapData = class {
|
|
2058
2377
|
constructor() {
|
|
2059
2378
|
this.victimName = "";
|
|
2379
|
+
this.victimDisplayName = "";
|
|
2060
2380
|
this.deathTime = 0;
|
|
2061
2381
|
this.entries = [];
|
|
2062
2382
|
this.totalDamageReceived = 0;
|
|
@@ -2083,6 +2403,7 @@ var damageSplitSpellEntry = class {
|
|
|
2083
2403
|
var damageSplitTargetEntry = class {
|
|
2084
2404
|
constructor() {
|
|
2085
2405
|
this.targetName = "";
|
|
2406
|
+
this.targetDisplayName = "";
|
|
2086
2407
|
this.spells = [];
|
|
2087
2408
|
this.totalDamage = 0;
|
|
2088
2409
|
this.damageByType = {};
|
|
@@ -2094,6 +2415,7 @@ var ingameDamageSplitData = class {
|
|
|
2094
2415
|
constructor() {
|
|
2095
2416
|
this.mode = 0 /* Detail */;
|
|
2096
2417
|
this.sourceName = "";
|
|
2418
|
+
this.sourceDisplayName = "";
|
|
2097
2419
|
this.targets = [];
|
|
2098
2420
|
this.totalDamageDealt = 0;
|
|
2099
2421
|
this.damageByType = {};
|
|
@@ -2162,6 +2484,7 @@ var turretPlatingFallEvent = class {
|
|
|
2162
2484
|
var goldEfficiencyEntry = class {
|
|
2163
2485
|
constructor() {
|
|
2164
2486
|
this.name = "";
|
|
2487
|
+
this.displayName = "";
|
|
2165
2488
|
this.team = 0;
|
|
2166
2489
|
this.goldSpent = 0;
|
|
2167
2490
|
this.damageDealt = 0;
|
|
@@ -2242,7 +2565,9 @@ var ingameKillParticipationData = class {
|
|
|
2242
2565
|
var killParticipationLink = class {
|
|
2243
2566
|
constructor() {
|
|
2244
2567
|
this.killerName = "";
|
|
2568
|
+
this.killerDisplayName = "";
|
|
2245
2569
|
this.assisterName = "";
|
|
2570
|
+
this.assisterDisplayName = "";
|
|
2246
2571
|
this.count = 0;
|
|
2247
2572
|
}
|
|
2248
2573
|
};
|
|
@@ -2251,6 +2576,7 @@ var killParticipationLink = class {
|
|
|
2251
2576
|
var killParticipationPlayer = class {
|
|
2252
2577
|
constructor() {
|
|
2253
2578
|
this.name = "";
|
|
2579
|
+
this.displayName = "";
|
|
2254
2580
|
this.team = 0;
|
|
2255
2581
|
this.kills = 0;
|
|
2256
2582
|
this.deaths = 0;
|
|
@@ -2348,6 +2674,7 @@ var ingameSkinDisplayPlayerData = class {
|
|
|
2348
2674
|
constructor() {
|
|
2349
2675
|
this.name = "";
|
|
2350
2676
|
this.playerName = "";
|
|
2677
|
+
this.displayName = "";
|
|
2351
2678
|
this.skinName = "";
|
|
2352
2679
|
this.splashCenteredUrl = "";
|
|
2353
2680
|
this.splashUrl = "";
|
|
@@ -2368,6 +2695,7 @@ var ingameSkinDisplayTeamData = class {
|
|
|
2368
2695
|
var smiteReactionResult = class {
|
|
2369
2696
|
constructor() {
|
|
2370
2697
|
this.junglerName = "";
|
|
2698
|
+
this.junglerDisplayName = "";
|
|
2371
2699
|
this.junglerTeam = 0;
|
|
2372
2700
|
this.smiteDamage = 0;
|
|
2373
2701
|
this.thresholdReachedTime = 0;
|
|
@@ -3491,6 +3819,7 @@ var tabLevelUpStyle = class {
|
|
|
3491
3819
|
this.background = "";
|
|
3492
3820
|
this.text = {};
|
|
3493
3821
|
this.animationDuration = 0;
|
|
3822
|
+
this.showOnlyMajorLevelUps = false;
|
|
3494
3823
|
}
|
|
3495
3824
|
};
|
|
3496
3825
|
|
|
@@ -3903,6 +4232,9 @@ var IngameSideInfoPageType = /* @__PURE__ */ ((IngameSideInfoPageType2) => {
|
|
|
3903
4232
|
IngameSideInfoPageType2[IngameSideInfoPageType2["CreepScore"] = 4] = "CreepScore";
|
|
3904
4233
|
IngameSideInfoPageType2[IngameSideInfoPageType2["Damage"] = 8] = "Damage";
|
|
3905
4234
|
IngameSideInfoPageType2[IngameSideInfoPageType2["None"] = 16] = "None";
|
|
4235
|
+
IngameSideInfoPageType2[IngameSideInfoPageType2["SkinDisplay"] = 32] = "SkinDisplay";
|
|
4236
|
+
IngameSideInfoPageType2[IngameSideInfoPageType2["RoleQuest"] = 64] = "RoleQuest";
|
|
4237
|
+
IngameSideInfoPageType2[IngameSideInfoPageType2["TowerPlatings"] = 128] = "TowerPlatings";
|
|
3906
4238
|
return IngameSideInfoPageType2;
|
|
3907
4239
|
})(IngameSideInfoPageType || {});
|
|
3908
4240
|
|
|
@@ -3937,6 +4269,7 @@ var tabPlayer = class {
|
|
|
3937
4269
|
this.id = "";
|
|
3938
4270
|
this.playerName = "";
|
|
3939
4271
|
this.playerHashtag = "";
|
|
4272
|
+
this.displayName = "";
|
|
3940
4273
|
this.givenName = "";
|
|
3941
4274
|
this.familyName = "";
|
|
3942
4275
|
this.abilities = [];
|
|
@@ -3988,9 +4321,12 @@ var teamfightKillEvent = class {
|
|
|
3988
4321
|
constructor() {
|
|
3989
4322
|
this.gameTime = 0;
|
|
3990
4323
|
this.killerName = "";
|
|
4324
|
+
this.killerDisplayName = "";
|
|
3991
4325
|
this.victimName = "";
|
|
4326
|
+
this.victimDisplayName = "";
|
|
3992
4327
|
this.killerTeam = 0 /* None */;
|
|
3993
4328
|
this.assisterNames = [];
|
|
4329
|
+
this.assisterDisplayNames = [];
|
|
3994
4330
|
}
|
|
3995
4331
|
};
|
|
3996
4332
|
|
|
@@ -3998,6 +4334,7 @@ var teamfightKillEvent = class {
|
|
|
3998
4334
|
var teamfightTimelinePlayer = class {
|
|
3999
4335
|
constructor() {
|
|
4000
4336
|
this.name = "";
|
|
4337
|
+
this.displayName = "";
|
|
4001
4338
|
this.team = 0 /* None */;
|
|
4002
4339
|
this.totalDamage = 0;
|
|
4003
4340
|
this.died = false;
|
|
@@ -4067,6 +4404,7 @@ websocketMessageTypes.ingameTelemetry = "ingame-telemetry";
|
|
|
4067
4404
|
websocketMessageTypes.fontsChanged = "fonts-changed";
|
|
4068
4405
|
websocketMessageTypes.matchDatabaseUpdate = "match-database-update";
|
|
4069
4406
|
websocketMessageTypes.gameDatabaseUpdate = "game-database-update";
|
|
4407
|
+
websocketMessageTypes.gameTeamSidesSwapped = "game-team-sides-swapped";
|
|
4070
4408
|
websocketMessageTypes.teamDatabaseUpdate = "team-database-update";
|
|
4071
4409
|
websocketMessageTypes.seasonDatabaseUpdate = "season-database-update";
|
|
4072
4410
|
websocketMessageTypes.appNotification = "app-notification";
|
|
@@ -4094,8 +4432,149 @@ websocketMessageTypes.strokePropertiesUpdate = "stroke-properties-update";
|
|
|
4094
4432
|
websocketMessageTypes.hotkeyFired = "hotkey-fired";
|
|
4095
4433
|
websocketMessageTypes.activeComponentChanged = "active-component-changed";
|
|
4096
4434
|
websocketMessageTypes.disabledOverlaysUpdate = "disabled-overlays-update";
|
|
4097
|
-
websocketMessageTypes.
|
|
4435
|
+
websocketMessageTypes.userFeaturesUpdated = "user-features-updated";
|
|
4098
4436
|
websocketMessageTypes.damageEventHistoryUpdate = "damage-event-history-update";
|
|
4437
|
+
websocketMessageTypes.customOverlayUpdate = "custom-overlay-update";
|
|
4438
|
+
websocketMessageTypes.brushPresetsUpdate = "brush-presets-update";
|
|
4439
|
+
websocketMessageTypes.telestratorConfigUpdate = "telestrator-config-update";
|
|
4440
|
+
websocketMessageTypes.telestratorHotkeyFired = "telestrator-hotkey-fired";
|
|
4441
|
+
websocketMessageTypes.scriptEditorSwitch = "script-editor-switch";
|
|
4442
|
+
|
|
4443
|
+
// types/message/hub/authHelloMessage.ts
|
|
4444
|
+
var authHelloMessage = class {
|
|
4445
|
+
constructor() {
|
|
4446
|
+
this.type = "";
|
|
4447
|
+
this.clientType = "";
|
|
4448
|
+
this.protocolVersion = 0;
|
|
4449
|
+
}
|
|
4450
|
+
};
|
|
4451
|
+
|
|
4452
|
+
// types/message/hub/authHelloOkMessage.ts
|
|
4453
|
+
var authHelloOkMessage = class {
|
|
4454
|
+
constructor() {
|
|
4455
|
+
this.type = "";
|
|
4456
|
+
this.clientId = "";
|
|
4457
|
+
this.capabilities = [];
|
|
4458
|
+
this.serverVersion = "";
|
|
4459
|
+
}
|
|
4460
|
+
};
|
|
4461
|
+
|
|
4462
|
+
// types/message/hub/drawingEventMessage.ts
|
|
4463
|
+
var drawingEventMessage = class {
|
|
4464
|
+
constructor() {
|
|
4465
|
+
this.type = "";
|
|
4466
|
+
this.roomId = "";
|
|
4467
|
+
this.eventType = "";
|
|
4468
|
+
}
|
|
4469
|
+
};
|
|
4470
|
+
|
|
4471
|
+
// types/message/hub/drawingStateMessage.ts
|
|
4472
|
+
var drawingStateMessage = class {
|
|
4473
|
+
constructor() {
|
|
4474
|
+
this.type = "";
|
|
4475
|
+
this.roomId = "";
|
|
4476
|
+
this.targetClientId = "";
|
|
4477
|
+
this.strokes = [];
|
|
4478
|
+
}
|
|
4479
|
+
};
|
|
4480
|
+
|
|
4481
|
+
// types/message/hub/drawingStateRequestMessage.ts
|
|
4482
|
+
var drawingStateRequestMessage = class {
|
|
4483
|
+
constructor() {
|
|
4484
|
+
this.type = "";
|
|
4485
|
+
this.roomId = "";
|
|
4486
|
+
this.targetClientId = "";
|
|
4487
|
+
this.targetMemberId = "";
|
|
4488
|
+
}
|
|
4489
|
+
};
|
|
4490
|
+
|
|
4491
|
+
// types/message/hub/drawingStrokeDto.ts
|
|
4492
|
+
var drawingStrokeDto = class {
|
|
4493
|
+
constructor() {
|
|
4494
|
+
this.strokeId = "";
|
|
4495
|
+
this.color = "";
|
|
4496
|
+
this.width = 0;
|
|
4497
|
+
this.points = [];
|
|
4498
|
+
}
|
|
4499
|
+
};
|
|
4500
|
+
|
|
4501
|
+
// types/message/hub/hubErrorMessage.ts
|
|
4502
|
+
var hubErrorMessage = class {
|
|
4503
|
+
constructor() {
|
|
4504
|
+
this.type = "";
|
|
4505
|
+
this.code = 0;
|
|
4506
|
+
this.message = "";
|
|
4507
|
+
}
|
|
4508
|
+
};
|
|
4509
|
+
|
|
4510
|
+
// types/message/hub/hubMemberDto.ts
|
|
4511
|
+
var hubMemberDto = class {
|
|
4512
|
+
constructor() {
|
|
4513
|
+
this.id = "";
|
|
4514
|
+
this.clientType = "";
|
|
4515
|
+
}
|
|
4516
|
+
};
|
|
4517
|
+
|
|
4518
|
+
// types/message/hub/hubPingMessage.ts
|
|
4519
|
+
var hubPingMessage = class {
|
|
4520
|
+
constructor() {
|
|
4521
|
+
this.type = "";
|
|
4522
|
+
}
|
|
4523
|
+
};
|
|
4524
|
+
|
|
4525
|
+
// types/message/hub/hubPongMessage.ts
|
|
4526
|
+
var hubPongMessage = class {
|
|
4527
|
+
constructor() {
|
|
4528
|
+
this.type = "";
|
|
4529
|
+
}
|
|
4530
|
+
};
|
|
4531
|
+
|
|
4532
|
+
// types/message/hub/roomJoinedMessage.ts
|
|
4533
|
+
var roomJoinedMessage = class {
|
|
4534
|
+
constructor() {
|
|
4535
|
+
this.type = "";
|
|
4536
|
+
this.roomId = "";
|
|
4537
|
+
this.roomType = "";
|
|
4538
|
+
this.roomKey = "";
|
|
4539
|
+
this.memberId = "";
|
|
4540
|
+
this.members = [];
|
|
4541
|
+
}
|
|
4542
|
+
};
|
|
4543
|
+
|
|
4544
|
+
// types/message/hub/roomJoinMessage.ts
|
|
4545
|
+
var roomJoinMessage = class {
|
|
4546
|
+
constructor() {
|
|
4547
|
+
this.type = "";
|
|
4548
|
+
this.roomType = "";
|
|
4549
|
+
this.roomKey = "";
|
|
4550
|
+
}
|
|
4551
|
+
};
|
|
4552
|
+
|
|
4553
|
+
// types/message/hub/roomLeaveMessage.ts
|
|
4554
|
+
var roomLeaveMessage = class {
|
|
4555
|
+
constructor() {
|
|
4556
|
+
this.type = "";
|
|
4557
|
+
this.roomId = "";
|
|
4558
|
+
}
|
|
4559
|
+
};
|
|
4560
|
+
|
|
4561
|
+
// types/message/hub/roomMemberJoinedMessage.ts
|
|
4562
|
+
var roomMemberJoinedMessage = class {
|
|
4563
|
+
constructor() {
|
|
4564
|
+
this.type = "";
|
|
4565
|
+
this.roomId = "";
|
|
4566
|
+
this.member = {};
|
|
4567
|
+
}
|
|
4568
|
+
};
|
|
4569
|
+
|
|
4570
|
+
// types/message/hub/roomMemberLeftMessage.ts
|
|
4571
|
+
var roomMemberLeftMessage = class {
|
|
4572
|
+
constructor() {
|
|
4573
|
+
this.type = "";
|
|
4574
|
+
this.roomId = "";
|
|
4575
|
+
this.memberId = "";
|
|
4576
|
+
}
|
|
4577
|
+
};
|
|
4099
4578
|
|
|
4100
4579
|
// types/message/ingame/ingameRewindMessage.ts
|
|
4101
4580
|
var ingameRewindMessage = class {
|
|
@@ -4195,6 +4674,14 @@ var AssetType = /* @__PURE__ */ ((AssetType2) => {
|
|
|
4195
4674
|
return AssetType2;
|
|
4196
4675
|
})(AssetType || {});
|
|
4197
4676
|
|
|
4677
|
+
// types/message/ui/brushPresetsChangedMessage.ts
|
|
4678
|
+
var brushPresetsChangedMessage = class {
|
|
4679
|
+
constructor() {
|
|
4680
|
+
this.type = "";
|
|
4681
|
+
this.presets = [];
|
|
4682
|
+
}
|
|
4683
|
+
};
|
|
4684
|
+
|
|
4198
4685
|
// types/message/ui/cacheOperation.ts
|
|
4199
4686
|
var CacheOperation = /* @__PURE__ */ ((CacheOperation2) => {
|
|
4200
4687
|
CacheOperation2[CacheOperation2["Starting"] = 0] = "Starting";
|
|
@@ -4257,6 +4744,14 @@ var communityDragonV2StatusMessage = class {
|
|
|
4257
4744
|
}
|
|
4258
4745
|
};
|
|
4259
4746
|
|
|
4747
|
+
// types/message/ui/customOverlayUpdateMessage.ts
|
|
4748
|
+
var customOverlayUpdateMessage = class {
|
|
4749
|
+
constructor() {
|
|
4750
|
+
this.type = "";
|
|
4751
|
+
this.overlays = [];
|
|
4752
|
+
}
|
|
4753
|
+
};
|
|
4754
|
+
|
|
4260
4755
|
// types/message/ui/damageEventHistoryUpdateMessage.ts
|
|
4261
4756
|
var damageEventHistoryUpdateMessage = class {
|
|
4262
4757
|
constructor() {
|
|
@@ -4300,11 +4795,20 @@ var gameStatusMessage = class {
|
|
|
4300
4795
|
}
|
|
4301
4796
|
};
|
|
4302
4797
|
|
|
4798
|
+
// types/message/ui/gameTeamSidesSwappedMessage.ts
|
|
4799
|
+
var gameTeamSidesSwappedMessage = class {
|
|
4800
|
+
constructor() {
|
|
4801
|
+
this.type = "";
|
|
4802
|
+
this.game = {};
|
|
4803
|
+
}
|
|
4804
|
+
};
|
|
4805
|
+
|
|
4303
4806
|
// types/message/ui/hotkeyFiredMessage.ts
|
|
4304
4807
|
var hotkeyFiredMessage = class {
|
|
4305
4808
|
constructor() {
|
|
4306
4809
|
this.type = "";
|
|
4307
|
-
this.
|
|
4810
|
+
this.activatedButtonId = "";
|
|
4811
|
+
this.activatedOverlayName = "";
|
|
4308
4812
|
this.toggle = false;
|
|
4309
4813
|
}
|
|
4310
4814
|
};
|
|
@@ -4410,12 +4914,31 @@ var teamDatabaseUpdateMessage = class {
|
|
|
4410
4914
|
}
|
|
4411
4915
|
};
|
|
4412
4916
|
|
|
4917
|
+
// types/message/ui/tier.ts
|
|
4918
|
+
var Tier = /* @__PURE__ */ ((Tier2) => {
|
|
4919
|
+
Tier2[Tier2["Free"] = 0] = "Free";
|
|
4920
|
+
Tier2[Tier2["Basic"] = 1] = "Basic";
|
|
4921
|
+
Tier2[Tier2["Pro"] = 2] = "Pro";
|
|
4922
|
+
Tier2[Tier2["Enterprise"] = 3] = "Enterprise";
|
|
4923
|
+
return Tier2;
|
|
4924
|
+
})(Tier || {});
|
|
4925
|
+
|
|
4926
|
+
// types/message/ui/userFeaturesUpdatedMessage.ts
|
|
4927
|
+
var userFeaturesUpdatedMessage = class {
|
|
4928
|
+
constructor() {
|
|
4929
|
+
this.type = "";
|
|
4930
|
+
this.isStartup = false;
|
|
4931
|
+
this.features = [];
|
|
4932
|
+
}
|
|
4933
|
+
};
|
|
4934
|
+
|
|
4413
4935
|
// types/message/ui/userTierUpdatedMessage.ts
|
|
4414
4936
|
var userTierUpdatedMessage = class {
|
|
4415
4937
|
constructor() {
|
|
4416
4938
|
this.type = "";
|
|
4417
4939
|
this.tier = 0 /* Free */;
|
|
4418
4940
|
this.isStartup = false;
|
|
4941
|
+
this.features = [];
|
|
4419
4942
|
}
|
|
4420
4943
|
};
|
|
4421
4944
|
|
|
@@ -4523,6 +5046,7 @@ var postGamePlayerPage = class {
|
|
|
4523
5046
|
constructor() {
|
|
4524
5047
|
this.champion = {};
|
|
4525
5048
|
this.nameWithTag = "";
|
|
5049
|
+
this.displayName = "";
|
|
4526
5050
|
}
|
|
4527
5051
|
};
|
|
4528
5052
|
|
|
@@ -4533,6 +5057,7 @@ var postGamePlayerRunesAndItems = class {
|
|
|
4533
5057
|
this.items = [];
|
|
4534
5058
|
this.champion = {};
|
|
4535
5059
|
this.nameWithTag = "";
|
|
5060
|
+
this.displayName = "";
|
|
4536
5061
|
}
|
|
4537
5062
|
};
|
|
4538
5063
|
|
|
@@ -4542,6 +5067,7 @@ var postGamePlayerStats = class {
|
|
|
4542
5067
|
this.infoRows = [];
|
|
4543
5068
|
this.champion = {};
|
|
4544
5069
|
this.nameWithTag = "";
|
|
5070
|
+
this.displayName = "";
|
|
4545
5071
|
}
|
|
4546
5072
|
};
|
|
4547
5073
|
|
|
@@ -5544,6 +6070,7 @@ var playerSlotStyle = class {
|
|
|
5544
6070
|
this.backgroundColor = "";
|
|
5545
6071
|
this.textStyle = {};
|
|
5546
6072
|
this.layout = {};
|
|
6073
|
+
this.useVideoBackground = false;
|
|
5547
6074
|
}
|
|
5548
6075
|
};
|
|
5549
6076
|
|
|
@@ -5674,11 +6201,29 @@ var legacyPickBanStyle = class {
|
|
|
5674
6201
|
}
|
|
5675
6202
|
};
|
|
5676
6203
|
|
|
6204
|
+
// types/rest/account/changeEmailRequest.ts
|
|
6205
|
+
var changeEmailRequest = class {
|
|
6206
|
+
constructor() {
|
|
6207
|
+
this.newEmail = "";
|
|
6208
|
+
}
|
|
6209
|
+
};
|
|
6210
|
+
|
|
6211
|
+
// types/rest/account/changeEmailResponse.ts
|
|
6212
|
+
var changeEmailResponse = class {
|
|
6213
|
+
};
|
|
6214
|
+
|
|
6215
|
+
// types/rest/account/changePasswordRequest.ts
|
|
6216
|
+
var changePasswordRequest = class {
|
|
6217
|
+
constructor() {
|
|
6218
|
+
this.oldPassword = "";
|
|
6219
|
+
this.newPassword = "";
|
|
6220
|
+
}
|
|
6221
|
+
};
|
|
6222
|
+
|
|
5677
6223
|
// types/rest/account/checkoutCompleteResponse.ts
|
|
5678
6224
|
var checkoutCompleteResponse = class {
|
|
5679
6225
|
constructor() {
|
|
5680
6226
|
this.redirect = false;
|
|
5681
|
-
this.tier = 0 /* Free */;
|
|
5682
6227
|
}
|
|
5683
6228
|
};
|
|
5684
6229
|
|
|
@@ -5692,11 +6237,58 @@ var PaymentInterval = /* @__PURE__ */ ((PaymentInterval2) => {
|
|
|
5692
6237
|
// types/rest/account/checkoutRequestDTO.ts
|
|
5693
6238
|
var checkoutRequestDTO = class {
|
|
5694
6239
|
constructor() {
|
|
5695
|
-
this.
|
|
6240
|
+
this.plan = "";
|
|
5696
6241
|
this.interval = 0 /* Monthly */;
|
|
5697
6242
|
}
|
|
5698
6243
|
};
|
|
5699
6244
|
|
|
6245
|
+
// types/rest/account/emailConfirmRequest.ts
|
|
6246
|
+
var emailConfirmRequest = class {
|
|
6247
|
+
constructor() {
|
|
6248
|
+
this.email = "";
|
|
6249
|
+
this.code = "";
|
|
6250
|
+
}
|
|
6251
|
+
};
|
|
6252
|
+
|
|
6253
|
+
// types/rest/account/emailForgotPasswordRequest.ts
|
|
6254
|
+
var emailForgotPasswordRequest = class {
|
|
6255
|
+
constructor() {
|
|
6256
|
+
this.email = "";
|
|
6257
|
+
}
|
|
6258
|
+
};
|
|
6259
|
+
|
|
6260
|
+
// types/rest/account/emailLoginRequest.ts
|
|
6261
|
+
var emailLoginRequest = class {
|
|
6262
|
+
constructor() {
|
|
6263
|
+
this.email = "";
|
|
6264
|
+
this.password = "";
|
|
6265
|
+
}
|
|
6266
|
+
};
|
|
6267
|
+
|
|
6268
|
+
// types/rest/account/emailResendCodeRequest.ts
|
|
6269
|
+
var emailResendCodeRequest = class {
|
|
6270
|
+
constructor() {
|
|
6271
|
+
this.email = "";
|
|
6272
|
+
}
|
|
6273
|
+
};
|
|
6274
|
+
|
|
6275
|
+
// types/rest/account/emailResetPasswordRequest.ts
|
|
6276
|
+
var emailResetPasswordRequest = class {
|
|
6277
|
+
constructor() {
|
|
6278
|
+
this.email = "";
|
|
6279
|
+
this.code = "";
|
|
6280
|
+
this.newPassword = "";
|
|
6281
|
+
}
|
|
6282
|
+
};
|
|
6283
|
+
|
|
6284
|
+
// types/rest/account/emailSignUpRequest.ts
|
|
6285
|
+
var emailSignUpRequest = class {
|
|
6286
|
+
constructor() {
|
|
6287
|
+
this.email = "";
|
|
6288
|
+
this.password = "";
|
|
6289
|
+
}
|
|
6290
|
+
};
|
|
6291
|
+
|
|
5700
6292
|
// types/rest/account/localizedPriceData.ts
|
|
5701
6293
|
var localizedPriceData = class {
|
|
5702
6294
|
constructor() {
|
|
@@ -5705,6 +6297,15 @@ var localizedPriceData = class {
|
|
|
5705
6297
|
}
|
|
5706
6298
|
};
|
|
5707
6299
|
|
|
6300
|
+
// types/rest/account/planDescriptorRecord.ts
|
|
6301
|
+
var planDescriptorRecord = class {
|
|
6302
|
+
constructor() {
|
|
6303
|
+
this.plan = "";
|
|
6304
|
+
this.hidden = false;
|
|
6305
|
+
this.features = [];
|
|
6306
|
+
}
|
|
6307
|
+
};
|
|
6308
|
+
|
|
5708
6309
|
// types/rest/account/planDetails.ts
|
|
5709
6310
|
var planDetails = class {
|
|
5710
6311
|
constructor() {
|
|
@@ -5712,6 +6313,7 @@ var planDetails = class {
|
|
|
5712
6313
|
this.cost = "";
|
|
5713
6314
|
this.currency = "";
|
|
5714
6315
|
this.status = "";
|
|
6316
|
+
this.features = [];
|
|
5715
6317
|
}
|
|
5716
6318
|
};
|
|
5717
6319
|
|
|
@@ -5722,6 +6324,15 @@ var portalSessionResponse = class {
|
|
|
5722
6324
|
}
|
|
5723
6325
|
};
|
|
5724
6326
|
|
|
6327
|
+
// types/rest/account/profileResponse.ts
|
|
6328
|
+
var profileResponse = class {
|
|
6329
|
+
constructor() {
|
|
6330
|
+
this.authProvider = "";
|
|
6331
|
+
this.canEditProfile = false;
|
|
6332
|
+
this.canChangePassword = false;
|
|
6333
|
+
}
|
|
6334
|
+
};
|
|
6335
|
+
|
|
5725
6336
|
// types/rest/account/startCheckoutResponse.ts
|
|
5726
6337
|
var startCheckoutResponse = class {
|
|
5727
6338
|
constructor() {
|
|
@@ -5730,6 +6341,21 @@ var startCheckoutResponse = class {
|
|
|
5730
6341
|
}
|
|
5731
6342
|
};
|
|
5732
6343
|
|
|
6344
|
+
// types/rest/account/updateNameRequest.ts
|
|
6345
|
+
var updateNameRequest = class {
|
|
6346
|
+
constructor() {
|
|
6347
|
+
this.firstName = "";
|
|
6348
|
+
this.lastName = "";
|
|
6349
|
+
}
|
|
6350
|
+
};
|
|
6351
|
+
|
|
6352
|
+
// types/rest/account/verifyEmailRequest.ts
|
|
6353
|
+
var verifyEmailRequest = class {
|
|
6354
|
+
constructor() {
|
|
6355
|
+
this.code = "";
|
|
6356
|
+
}
|
|
6357
|
+
};
|
|
6358
|
+
|
|
5733
6359
|
// types/rest/billing_cycle/billingCycle.ts
|
|
5734
6360
|
var billingCycle = class {
|
|
5735
6361
|
constructor() {
|
|
@@ -5747,6 +6373,32 @@ var Interval = /* @__PURE__ */ ((Interval2) => {
|
|
|
5747
6373
|
return Interval2;
|
|
5748
6374
|
})(Interval || {});
|
|
5749
6375
|
|
|
6376
|
+
// types/shared/customoverlay/customOverlayMode.ts
|
|
6377
|
+
var CustomOverlayMode = /* @__PURE__ */ ((CustomOverlayMode2) => {
|
|
6378
|
+
CustomOverlayMode2[CustomOverlayMode2["Static"] = 0] = "Static";
|
|
6379
|
+
CustomOverlayMode2[CustomOverlayMode2["Dev"] = 1] = "Dev";
|
|
6380
|
+
return CustomOverlayMode2;
|
|
6381
|
+
})(CustomOverlayMode || {});
|
|
6382
|
+
|
|
6383
|
+
// types/rest/customoverlay/registerOverlayRequest.ts
|
|
6384
|
+
var registerOverlayRequest = class {
|
|
6385
|
+
constructor() {
|
|
6386
|
+
this.name = "";
|
|
6387
|
+
this.mode = 0 /* Static */;
|
|
6388
|
+
this.sourcePath = "";
|
|
6389
|
+
this.devScript = "";
|
|
6390
|
+
this.version = "";
|
|
6391
|
+
}
|
|
6392
|
+
};
|
|
6393
|
+
|
|
6394
|
+
// types/rest/customoverlay/updateOverlayRequest.ts
|
|
6395
|
+
var updateOverlayRequest = class {
|
|
6396
|
+
};
|
|
6397
|
+
|
|
6398
|
+
// types/rest/game/optionalGameData.ts
|
|
6399
|
+
var optionalGameData = class {
|
|
6400
|
+
};
|
|
6401
|
+
|
|
5750
6402
|
// types/rest/match/addMatchRequestArgs.ts
|
|
5751
6403
|
var addMatchRequestArgs = class {
|
|
5752
6404
|
constructor() {
|
|
@@ -6014,6 +6666,53 @@ var teamWithMembers = class {
|
|
|
6014
6666
|
}
|
|
6015
6667
|
};
|
|
6016
6668
|
|
|
6669
|
+
// types/shared/customoverlay/customOverlay.ts
|
|
6670
|
+
var customOverlay = class {
|
|
6671
|
+
constructor() {
|
|
6672
|
+
this.id = "";
|
|
6673
|
+
this.name = "";
|
|
6674
|
+
this.description = "";
|
|
6675
|
+
this.mode = 0 /* Static */;
|
|
6676
|
+
this.sourcePath = "";
|
|
6677
|
+
this.devScript = "";
|
|
6678
|
+
this.slug = "";
|
|
6679
|
+
this.version = "";
|
|
6680
|
+
this.isManagedPackage = false;
|
|
6681
|
+
this.createdAt = /* @__PURE__ */ new Date();
|
|
6682
|
+
this.updatedAt = /* @__PURE__ */ new Date();
|
|
6683
|
+
}
|
|
6684
|
+
};
|
|
6685
|
+
|
|
6686
|
+
// types/shared/customoverlay/customOverlayDescriptor.ts
|
|
6687
|
+
var customOverlayDescriptor = class {
|
|
6688
|
+
constructor() {
|
|
6689
|
+
this.id = "";
|
|
6690
|
+
this.name = "";
|
|
6691
|
+
this.description = "";
|
|
6692
|
+
this.mode = 0 /* Static */;
|
|
6693
|
+
this.slug = "";
|
|
6694
|
+
this.version = "";
|
|
6695
|
+
this.createdAt = /* @__PURE__ */ new Date();
|
|
6696
|
+
this.updatedAt = /* @__PURE__ */ new Date();
|
|
6697
|
+
}
|
|
6698
|
+
};
|
|
6699
|
+
|
|
6700
|
+
// types/shared/customoverlay/devServerStatus.ts
|
|
6701
|
+
var DevServerStatus = /* @__PURE__ */ ((DevServerStatus2) => {
|
|
6702
|
+
DevServerStatus2[DevServerStatus2["Stopped"] = 0] = "Stopped";
|
|
6703
|
+
DevServerStatus2[DevServerStatus2["Starting"] = 1] = "Starting";
|
|
6704
|
+
DevServerStatus2[DevServerStatus2["Running"] = 2] = "Running";
|
|
6705
|
+
DevServerStatus2[DevServerStatus2["Error"] = 3] = "Error";
|
|
6706
|
+
return DevServerStatus2;
|
|
6707
|
+
})(DevServerStatus || {});
|
|
6708
|
+
|
|
6709
|
+
// types/shared/customoverlay/devServerState.ts
|
|
6710
|
+
var devServerState = class {
|
|
6711
|
+
constructor() {
|
|
6712
|
+
this.status = 0 /* Stopped */;
|
|
6713
|
+
}
|
|
6714
|
+
};
|
|
6715
|
+
|
|
6017
6716
|
// types/shared/style/borderStyle.ts
|
|
6018
6717
|
var borderStyle = class {
|
|
6019
6718
|
constructor() {
|
|
@@ -6222,6 +6921,17 @@ var textStyle = class {
|
|
|
6222
6921
|
}
|
|
6223
6922
|
};
|
|
6224
6923
|
|
|
6924
|
+
// types/shared/style/set/feature.ts
|
|
6925
|
+
var Feature = /* @__PURE__ */ ((Feature2) => {
|
|
6926
|
+
Feature2[Feature2["BasicTier"] = 0] = "BasicTier";
|
|
6927
|
+
Feature2[Feature2["ProTier"] = 1] = "ProTier";
|
|
6928
|
+
Feature2[Feature2["EnterpriseTier"] = 2] = "EnterpriseTier";
|
|
6929
|
+
Feature2[Feature2["Decals"] = 3] = "Decals";
|
|
6930
|
+
Feature2[Feature2["Models"] = 4] = "Models";
|
|
6931
|
+
Feature2[Feature2["Strokes"] = 5] = "Strokes";
|
|
6932
|
+
return Feature2;
|
|
6933
|
+
})(Feature || {});
|
|
6934
|
+
|
|
6225
6935
|
// types/shared/style/set/globalStyleProperties.ts
|
|
6226
6936
|
var globalStyleProperties = class {
|
|
6227
6937
|
constructor() {
|
|
@@ -6274,9 +6984,47 @@ var WindowType = /* @__PURE__ */ ((WindowType2) => {
|
|
|
6274
6984
|
WindowType2[WindowType2["Login"] = 2] = "Login";
|
|
6275
6985
|
WindowType2[WindowType2["Settings"] = 3] = "Settings";
|
|
6276
6986
|
WindowType2[WindowType2["Drawing"] = 4] = "Drawing";
|
|
6987
|
+
WindowType2[WindowType2["ScriptEditor"] = 5] = "ScriptEditor";
|
|
6277
6988
|
return WindowType2;
|
|
6278
6989
|
})(WindowType || {});
|
|
6279
6990
|
|
|
6991
|
+
// types/twitch/pollChoice.ts
|
|
6992
|
+
var pollChoice = class {
|
|
6993
|
+
constructor() {
|
|
6994
|
+
this.votes = 0;
|
|
6995
|
+
this.channel_points_votes = 0;
|
|
6996
|
+
this.bits_votes = 0;
|
|
6997
|
+
}
|
|
6998
|
+
};
|
|
6999
|
+
|
|
7000
|
+
// types/twitch/predictionOutcome.ts
|
|
7001
|
+
var predictionOutcome = class {
|
|
7002
|
+
constructor() {
|
|
7003
|
+
this.users = 0;
|
|
7004
|
+
this.channel_points = 0;
|
|
7005
|
+
}
|
|
7006
|
+
};
|
|
7007
|
+
|
|
7008
|
+
// types/twitch/twitchPollDto.ts
|
|
7009
|
+
var twitchPollDto = class {
|
|
7010
|
+
constructor() {
|
|
7011
|
+
this.bits_voting_enabled = false;
|
|
7012
|
+
this.bits_per_vote = 0;
|
|
7013
|
+
this.channel_points_voting_enabled = false;
|
|
7014
|
+
this.channel_points_per_vote = 0;
|
|
7015
|
+
this.duration = 0;
|
|
7016
|
+
this.started_at = /* @__PURE__ */ new Date();
|
|
7017
|
+
}
|
|
7018
|
+
};
|
|
7019
|
+
|
|
7020
|
+
// types/twitch/twitchPredictionDto.ts
|
|
7021
|
+
var twitchPredictionDto = class {
|
|
7022
|
+
constructor() {
|
|
7023
|
+
this.prediction_window = 0;
|
|
7024
|
+
this.created_at = /* @__PURE__ */ new Date();
|
|
7025
|
+
}
|
|
7026
|
+
};
|
|
7027
|
+
|
|
6280
7028
|
// types/twitch/chatVoteResult/chatVoteOption.ts
|
|
6281
7029
|
var chatVoteOption = class {
|
|
6282
7030
|
constructor() {
|
|
@@ -6504,6 +7252,6 @@ function normalizeDamageEntries(entries, limit = 5) {
|
|
|
6504
7252
|
return [...grouped.values()].sort((a, b) => b.totalDamage - a.totalDamage).slice(0, limit);
|
|
6505
7253
|
}
|
|
6506
7254
|
|
|
6507
|
-
export { ActionSubType, ActionType, AnnouncementType, ApiClient, ApiError, AppTheme, AssetType, BestOfType, CacheOperation, CampLocation, ChampSelectStateStore, ChampionIconType, CombinedViewTransitionType, ContentAlign, DamageEventType, DamageSplitMode, DamageType, DatabaseUpdateType, GameApi, GameState, GameStateApi, GameStateStore, GradientType, HeroStatsDisplayMode, IngameApi, IngameObjectiveType, IngameSideInfoPageType, Interval, Lane, LeagueBroadcastClient, MAGIC_COLOR, MatchApi, MatchRuleSet, ObjectFit, ObjectiveEventType, ObjectiveRecapDisplayMode, PHYS_COLOR, PaymentInterval, PickBanPhase, PostGameDataType, damageBarStyle2 as PostgameDamageBarStyle, PreGameApi, divider2 as PregameDivider, ResourceType, RestApi, ScoreDisplayMode, ScoreDotBorderMode, SeasonApi, SetPhaseType, SpellClassification, SpellSlotIndex, StrokeLayer, StrokeLineStyle, StrokeTipStyle, TRUE_COLOR, Team, TeamColorType, TeamMemberRole, TextOrientation, Tier, TimeLineActionType, TransitionType, WebSocketManager, WindowType, WritingMode, activeComponentChangedEventArgs, activeComponentChangedMessage, addMatchRequestArgs, aggregateSpellEntries, announcementParameter, announcerColors, announcerEvent, announcerUniversalStyle, applicationLifetimeMessage, applicationNotificationCompletedMessage, applicationNotificationMessage, banSlot, banSlotLayoutStyling, banStyle, barStyle, billingCycle, borderStyle, bottomRowPickBanStyle, bottomRowSizeStyle, bottomRowTeamStyle, bottomRowTournamentData, cDragonPerkInfo, casterModeConfigDto, centerContent, centerContentLayoutStyling, centerContentStyling, champSelectActionMessage, champSelectStateData, champSelectStateMessage, champSelectStateMetaData, champSelectStatePerformanceData, championAbilityData, championContainer, championData, championIamgeStyle, championIconStyle, championImage, championImageStyle, championSelectEUStyle, championSelectTeam, championSkinInfo, championSlot, championStackStyle, championStatistics, championStats, championStatsContainer, championStatusStyle, championTabContainerStyle, championTabNameStyle, championTabsStyle, championUltimateStyle, championsSlot, changeDetectionResponse, chatVoteOption, chatVoteResultDto, checkoutCompleteResponse, checkoutRequestDTO, choiceBar, choiceTitel, choiceVotes, cloudStyleSetDownloadResponse, cloudStyleSetMetadata, cloudStyleSetUploadRequest, cloudStyleSetUploadResponse, cloudStyleSetsResponse, cloudSyncConfig, cloudSyncResult, coachSlot, colorByDamageType, colorComponentStyling, colorGradientData, colorImageData, colorRGBA, colorStop, colorStyle, colorStyling, combinedViewStyle, combinedViewTransitionStyle, communityDragonCacheProgressMessage, communityDragonV2ProgressMessage, communityDragonV2StatusMessage, componentStyle, contentContainerStyle, createChoice, createPollDto, createPredictionDto, creepScore, curveStyle, damageBarSegments, damageBarStyle, damageCompositionBarStyle, damageCompositionColors, damageCompositionDonutStyle, damageCompositionPlayer, damageCompositionStyle, damageCompositionTeam, damageDealtStyle, damageEventHistoryEntry, damageEventHistoryUpdateMessage, damageFlow, damageFlowEdge, damageFlowNode, damageFlowNodeStyle, damageFlowRibbonStyle, damageGraphEntry, damageGraphSide, damageRecapDamageBarStyle, damageRecapEntry, damageRecapEntryStyle, damageRecapSpellEntry, damageRecapStyle, damageRecapTimelineEntry, damageSplitBarStyle, damageSplitEntryStyle, damageSplitSpellEntry, damageSplitStyle, damageSplitTargetEntry, damageStatsStyle, displayColorData, divider, dmgTypeColor, endPollDto, endPredictionDto, fearLessByGame, fearLessSingleRow, fearlessChampionImage, fearlessDraftStyle, fearlessDraftStylePregame, fearlessTree, fearlessTreeBanRowStyle, fearlessTreeConnectorStyle, fearlessTreeGameNodeStyle, fearlessTreeHeaderStyle, fontsChangedMessage, formatDamage, frontendRouteUpdateMessage, fullPlayerScoreboardSlots, gameAnalysis, gameDatabaseUpdateMessage, gameInfoRotation, gameStatusMessage, gameTimer, gameTimerStyle, gameWithTeams, getDamageByType, getRoleQuest, getSortedInventory, getTrinket, globalPosition, globalScoreboard, globalScoreboardBooleanIndicator, globalScoreboardSection, globalStyleProperties, goldAdvantage, goldEfficiencyEntry, goldEfficiencyHeaderStyle, goldEfficiencyHeatStyle, goldEfficiencyPlayerRowStyle, goldEfficiencyStyle, goldGraph, goldGraphStyle, gridLineStyle, headline, healthBarStyle, hotkeyFiredMessage, imageComponentStyle, imageStyle, infoContentColorStyling, infoContentLayoutStyling, infoContentTextStyle, infoRow, ingameAbilityInfo, ingameDamageCompositionData, ingameDamageFlowData, ingameDamageGraphData, ingameDamageRecapData, ingameDamageSplitData, ingameExperienceData, ingameFrontendData, ingameGoldEfficiencyData, ingameGoldGraphData, ingameHealthData, ingameKillParticipationData, ingameObjectiveDpsData, ingameObjectiveEvent, ingameObjectivePowerPlay, ingameResourceData, ingameRewindMessage, ingameRuneData, ingameScoreboardBottomData, ingameScoreboardBottomPlayerData, ingameScoreboardBottomTeamData, ingameScoreboardData, ingameScoreboardTeamData, ingameSideInfoPage, ingameSideInfoPageDisplayData, ingameSideInfoPageRow, ingameSingleRuneData, ingameSkinDisplayData, ingameSkinDisplayPlayerData, ingameSkinDisplayTeamData, ingameStateMessage, ingameStateSettingsWrapper, ingameTeamfightTimelineData, ingameTelemetry, ingameTelemetryMessage, inhibitorRespawnData, inhibitorTimer, inhibitorTimerContainer, inhibitorTimerDual, inhibitorTimerIconContainer, inhibitorTimerSingle, inhibitorTimerTimerContainer, itemAsset, itemIcon, itemSlot, itemStats, itemWithAsset, killFeed, killFeedAssistersStyle, killFeedContainerStyle, killFeedEntryStyle, killFeedEvent, killFeedIconStyle, killFeedKillIconStyle, killParticipationLink, killParticipationPlayer, killParticipationStyle, lFrameRotation, laneIconStyle, laneRowLayoutStyle, layoutComponentStyling, layoutStyle, legacyPickBanStyle, levelXpTrackerStyle, lineStyle, localSyncState, localizedPriceData, matchCardStyle, matchData, matchDatabaseUpdateMessage, matchOverviewData, matchOverviewGameSummary, matchOverviewTeamSummary, matchSummaryStyle, matchWithGamesAndTeams, matchupGridStyle, matchupHeaderStyle, matchupOverview, matchupOverviewGameRowStyle, matchupOverviewHeaderStyle, matchupOverviewTeamBarStyle, matchupScoreStyle, matchupTable, matchupTableContentStyle, matchupVersusStyle, normalizeDamageEntries, numberContainerStyle, objectiveDamagePerTeamStyle, objectiveDpsBarStyle, objectiveDpsHeaderStyle, objectiveDpsSample, objectiveDpsSmiteStrip, objectiveDpsTeamNumbersStyle, objectiveList, objectiveRecapCardStyle, objectiveRecapHeaderStyle, objectiveRecapSmiteBarStyle, objectiveRecapStyle, objectiveTimer, optionBar, optionTitel, optionVotes, optionalMatchData, optionalTextStyle, partialStrokeProperties, perkData, perkInfoV2, perkStyleInfoV2, phaseTimer, phaseTimerColorStyling, phaseTimerLayoutStyling, pickBanActionEventArgs, pickBanTimer, pickBans, pickSlot, planDetails, playerDeath, playerHotkeyDto, playerKDA, playerScoreboard, playerScoreboardContainer, playerScoreboardGoldComparison, playerScoreboardSlot, playerSlot, playerSlotColorStyling, playerSlotLayoutStyling, playerSlotPickingStyle, playerSlotStyle, playerUpdateEvent, playerXpLevelStyle, pollWrapper, portalSessionResponse, postGameDamageGraph, postGameDamageGraphByTeam, postGameDamageGraphEntry, postGameGoldGraph, postGameOverview, postGamePlayerInfo, postGamePlayerPage, postGamePlayerRunesAndItems, postGamePlayerStats, postGameTeamInfo, postGameTeamOverview, predictionBar, predictionOutcomeRequest, predictionPoints, predictionWrapper, progressBarStyle, respawnTimer, roleQuestSlot, runeContainer, runeDisplayPerkStyle, runeDisplayStyle, runeDisplayTeamStyle, runeIcon, runeStyle, scoreStyle, scoreboardChampionSlot, scoreboardDamageGraphStyle, seasonData, seasonDatabaseUpdateMessage, shallowEqual, simpleChampionData, singleGameGoldGraph, singleGameGoldGraphData, singleIngameHotkeyConfigDto, singlePostgameHotkeyConfigDto, skinDisplayInfoStyle, skinDisplayPoweredByStyle, skinDisplayRoleIconStyle, skinDisplayStyle, smiteReactionBadgeStyle, smiteReactionPoweredByStyle, smiteReactionResult, smiteReactionRingStyle, smiteReactionStyle, smiteReactionTextStyle, spawnTimer, spawnTimerIconContainerStyle, spawnTimerInfoContainerStyle, spawnTimerStyle, startChatVoteDto, startCheckoutResponse, strokePropertiesChangedMessage, styleSet, styleSetEntry, styleSetNameCollection, styleSetUpdatedMessage, styleVariantUpdateMessage, styleVariantUpdatedEventArgs, summonerSpellData, summonerSpellInfoV2, tabLevelUpStyle, tabPlayer, tabTeam, tabsStyle, teamColorStyling, teamDamageStyle, teamData, teamDatabaseUpdateMessage, teamFightDamageStyle, teamIconStyle, teamInfo, teamInfoStyle, teamInhibitorData, teamLayoutStyling, teamMember, teamName, teamScore, teamScores, teamSummaryStyle, teamTextStyle, teamUpdateResults, teamWithMembers, teamfightDamageEntryStyle, teamfightDeathIconStyle, teamfightKillEvent, teamfightTimelinePlayer, teamfightTimelineSample, teamfightTimelineStyle, teamsAndTimerStyle, textComponentStyling, textContentWithStyle, textOutline, textStyle, textStyleWithBorder, textWithContent, timelineEntry, timerBadgePoll, timerBadgePrediction, timerBarStyle, timerTeamStyle, totalBadge, totalVotes, tournamentData, tournamentLogo, transitionEvents, transitionStyle, turretPlatingFallEvent, twitchChatVote, twitchPoll, twitchPrediction, twitchStatusDTO, ultiAbilityStyle, userTierUpdatedMessage, vector3, voteWrapper, websocketMessageTypes };
|
|
7255
|
+
export { ActionSubType, ActionType, AnnouncementType, ApiClient, ApiError, AppTheme, AssetType, BestOfType, CacheOperation, CampLocation, ChampSelectStateStore, ChampionIconType, CombinedViewTransitionType, ContentAlign, CustomOverlayMode, DamageEventType, DamageSplitMode, DamageType, DatabaseUpdateType, DevServerStatus, Feature, GameApi, GameState, GameStateApi, GameStateStore, GradientType, HeroStatsDisplayMode, IngameApi, IngameObjectiveType, IngameSideInfoPageType, Interval, Lane, LeagueBroadcastClient, MAGIC_COLOR, MatchApi, MatchRuleSet, ObjectFit, ObjectiveEventType, ObjectiveRecapDisplayMode, PHYS_COLOR, PaymentInterval, PickBanPhase, PostGameApi, PostGameDataType, damageBarStyle2 as PostgameDamageBarStyle, PreGameApi, divider2 as PregameDivider, ResourceType, RestApi, ScoreDisplayMode, ScoreDotBorderMode, SeasonApi, SetPhaseType, SpellClassification, SpellSlotIndex, StrokeLayer, StrokeLineStyle, StrokeTipStyle, TRUE_COLOR, Team, TeamColorType, TeamMemberRole, TextOrientation, Tier, TimeLineActionType, TransitionType, WebSocketManager, WindowType, WritingMode, activeComponentChangedEventArgs, activeComponentChangedMessage, addMatchRequestArgs, aggregateSpellEntries, announcementParameter, announcerColors, announcerEvent, announcerUniversalStyle, applicationLifetimeMessage, applicationNotificationCompletedMessage, applicationNotificationMessage, authHelloMessage, authHelloOkMessage, banSlot, banSlotLayoutStyling, banStyle, barStyle, billingCycle, borderStyle, bottomRowPickBanStyle, bottomRowSizeStyle, bottomRowTeamStyle, bottomRowTournamentData, brushPresetsChangedMessage, cDragonPerkInfo, casterModeConfigDto, centerContent, centerContentLayoutStyling, centerContentStyling, champSelectActionMessage, champSelectStateData, champSelectStateMessage, champSelectStateMetaData, champSelectStatePerformanceData, championAbilityData, championContainer, championData, championIamgeStyle, championIconStyle, championImage, championImageStyle, championSelectEUStyle, championSelectTeam, championSkinInfo, championSlot, championStackStyle, championStatistics, championStats, championStatsContainer, championStatusStyle, championTabContainerStyle, championTabNameStyle, championTabsStyle, championUltimateStyle, championsSlot, changeDetectionResponse, changeEmailRequest, changeEmailResponse, changePasswordRequest, chatVoteOption, chatVoteResultDto, checkoutCompleteResponse, checkoutRequestDTO, choiceBar, choiceTitel, choiceVotes, cloudOverlayDownloadResponse, cloudOverlayMetadata, cloudOverlayUploadRequest, cloudOverlayUploadResponse, cloudOverlaysResponse, cloudStyleSetDownloadResponse, cloudStyleSetMetadata, cloudStyleSetUploadRequest, cloudStyleSetUploadResponse, cloudStyleSetsResponse, cloudSyncConfig, cloudSyncResult, coachSlot, colorByDamageType, colorComponentStyling, colorGradientData, colorImageData, colorRGBA, colorStop, colorStyle, colorStyling, combinedViewStyle, combinedViewTransitionStyle, communityDragonCacheProgressMessage, communityDragonV2ProgressMessage, communityDragonV2StatusMessage, componentStyle, contentContainerStyle, createChoice, createIngameTimerUtils, createPollDto, createPredictionDto, creepScore, curveStyle, customOverlay, customOverlayDescriptor, customOverlayUpdateMessage, damageBarSegments, damageBarStyle, damageCompositionBarStyle, damageCompositionColors, damageCompositionDonutStyle, damageCompositionPlayer, damageCompositionStyle, damageCompositionTeam, damageDealtStyle, damageEventHistoryEntry, damageEventHistoryUpdateMessage, damageFlow, damageFlowEdge, damageFlowNode, damageFlowNodeStyle, damageFlowRibbonStyle, damageGraphEntry, damageGraphSide, damageRecapDamageBarStyle, damageRecapEntry, damageRecapEntryStyle, damageRecapSpellEntry, damageRecapStyle, damageRecapTimelineEntry, damageSplitBarStyle, damageSplitEntryStyle, damageSplitSpellEntry, damageSplitStyle, damageSplitTargetEntry, damageStatsStyle, devServerState, displayColorData, divider, dmgTypeColor, drawingEventMessage, drawingStateMessage, drawingStateRequestMessage, drawingStrokeDto, emailConfirmRequest, emailForgotPasswordRequest, emailLoginRequest, emailResendCodeRequest, emailResetPasswordRequest, emailSignUpRequest, endPollDto, endPredictionDto, fearLessByGame, fearLessSingleRow, fearlessChampionImage, fearlessDraftStyle, fearlessDraftStylePregame, fearlessTree, fearlessTreeBanRowStyle, fearlessTreeConnectorStyle, fearlessTreeGameNodeStyle, fearlessTreeHeaderStyle, fontsChangedMessage, formatDamage, frontendRouteUpdateMessage, fullPlayerScoreboardSlots, gameAnalysis, gameDatabaseUpdateMessage, gameInfoRotation, gameStatusMessage, gameTeamSidesSwappedMessage, gameTimer, gameTimerStyle, gameWithTeams, getAbilityCooldownFraction, getAbilityCooldownRemaining, getDamageByType, getItemCooldownFraction, getItemCooldownRemaining, getRemaining, getRespawnRemaining, getRoleQuest, getSortedInventory, getTrinket, globalPosition, globalScoreboard, globalScoreboardBooleanIndicator, globalScoreboardSection, globalStyleProperties, goldAdvantage, goldEfficiencyEntry, goldEfficiencyHeaderStyle, goldEfficiencyHeatStyle, goldEfficiencyPlayerRowStyle, goldEfficiencyStyle, goldGraph, goldGraphStyle, gridLineStyle, headline, healthBarStyle, hotkeyFiredMessage, hubErrorMessage, hubMemberDto, hubPingMessage, hubPongMessage, imageComponentStyle, imageStyle, infoContentColorStyling, infoContentLayoutStyling, infoContentTextStyle, infoRow, ingameAbilityInfo, ingameDamageCompositionData, ingameDamageFlowData, ingameDamageGraphData, ingameDamageRecapData, ingameDamageSplitData, ingameExperienceData, ingameFrontendData, ingameGoldEfficiencyData, ingameGoldGraphData, ingameHealthData, ingameKillParticipationData, ingameObjectiveDpsData, ingameObjectiveEvent, ingameObjectivePowerPlay, ingameResourceData, ingameRewindMessage, ingameRuneData, ingameScoreboardBottomData, ingameScoreboardBottomPlayerData, ingameScoreboardBottomTeamData, ingameScoreboardData, ingameScoreboardTeamData, ingameSideInfoPage, ingameSideInfoPageDisplayData, ingameSideInfoPageRow, ingameSingleRuneData, ingameSkinDisplayData, ingameSkinDisplayPlayerData, ingameSkinDisplayTeamData, ingameStateMessage, ingameStateSettingsWrapper, ingameTeamfightTimelineData, ingameTelemetry, ingameTelemetryMessage, inhibitorRespawnData, inhibitorTimer, inhibitorTimerContainer, inhibitorTimerDual, inhibitorTimerIconContainer, inhibitorTimerSingle, inhibitorTimerTimerContainer, isAbilityOnCooldown, isActive, isItemOnCooldown, isPlayerDead, itemAsset, itemIcon, itemSlot, itemStats, itemWithAsset, killFeed, killFeedAssistersStyle, killFeedContainerStyle, killFeedEntryStyle, killFeedEvent, killFeedIconStyle, killFeedKillIconStyle, killParticipationLink, killParticipationPlayer, killParticipationStyle, lFrameRotation, laneIconStyle, laneRowLayoutStyle, layoutComponentStyling, layoutStyle, legacyPickBanStyle, levelXpTrackerStyle, lineStyle, localSyncState, localizedPriceData, matchCardStyle, matchData, matchDatabaseUpdateMessage, matchOverviewData, matchOverviewGameSummary, matchOverviewTeamSummary, matchSummaryStyle, matchWithGamesAndTeams, matchupGridStyle, matchupHeaderStyle, matchupOverview, matchupOverviewGameRowStyle, matchupOverviewHeaderStyle, matchupOverviewTeamBarStyle, matchupScoreStyle, matchupTable, matchupTableContentStyle, matchupVersusStyle, normalizeDamageEntries, numberContainerStyle, objectiveDamagePerTeamStyle, objectiveDpsBarStyle, objectiveDpsHeaderStyle, objectiveDpsSample, objectiveDpsSmiteStrip, objectiveDpsTeamNumbersStyle, objectiveList, objectiveRecapCardStyle, objectiveRecapHeaderStyle, objectiveRecapSmiteBarStyle, objectiveRecapStyle, objectiveTimer, optionBar, optionTitel, optionVotes, optionalGameData, optionalMatchData, optionalTextStyle, partialStrokeProperties, perkData, perkInfoV2, perkStyleInfoV2, phaseTimer, phaseTimerColorStyling, phaseTimerLayoutStyling, pickBanActionEventArgs, pickBanTimer, pickBans, pickSlot, planDescriptorRecord, planDetails, playerDeath, playerHotkeyDto, playerKDA, playerScoreboard, playerScoreboardContainer, playerScoreboardGoldComparison, playerScoreboardSlot, playerSlot, playerSlotColorStyling, playerSlotLayoutStyling, playerSlotPickingStyle, playerSlotStyle, playerUpdateEvent, playerXpLevelStyle, pollChoice, pollWrapper, portalSessionResponse, postGameDamageGraph, postGameDamageGraphByTeam, postGameDamageGraphEntry, postGameGoldGraph, postGameOverview, postGamePlayerInfo, postGamePlayerPage, postGamePlayerRunesAndItems, postGamePlayerStats, postGameTeamInfo, postGameTeamOverview, predictionBar, predictionOutcome, predictionOutcomeRequest, predictionPoints, predictionWrapper, profileResponse, progressBarStyle, registerOverlayRequest, respawnTimer, roleQuestSlot, roomJoinMessage, roomJoinedMessage, roomLeaveMessage, roomMemberJoinedMessage, roomMemberLeftMessage, runeContainer, runeDisplayPerkStyle, runeDisplayStyle, runeDisplayTeamStyle, runeIcon, runeStyle, scoreStyle, scoreboardChampionSlot, scoreboardDamageGraphStyle, seasonData, seasonDatabaseUpdateMessage, shallowEqual, simpleChampionData, singleGameGoldGraph, singleGameGoldGraphData, singleIngameHotkeyConfigDto, singlePostgameHotkeyConfigDto, skinDisplayInfoStyle, skinDisplayPoweredByStyle, skinDisplayRoleIconStyle, skinDisplayStyle, smiteReactionBadgeStyle, smiteReactionPoweredByStyle, smiteReactionResult, smiteReactionRingStyle, smiteReactionStyle, smiteReactionTextStyle, spawnTimer, spawnTimerIconContainerStyle, spawnTimerInfoContainerStyle, spawnTimerStyle, startChatVoteDto, startCheckoutResponse, strokePropertiesChangedMessage, styleSet, styleSetEntry, styleSetNameCollection, styleSetUpdatedMessage, styleVariantUpdateMessage, styleVariantUpdatedEventArgs, summonerSpellData, summonerSpellInfoV2, tabLevelUpStyle, tabPlayer, tabTeam, tabsStyle, teamColorStyling, teamDamageStyle, teamData, teamDatabaseUpdateMessage, teamFightDamageStyle, teamIconStyle, teamInfo, teamInfoStyle, teamInhibitorData, teamLayoutStyling, teamMember, teamName, teamScore, teamScores, teamSummaryStyle, teamTextStyle, teamUpdateResults, teamWithMembers, teamfightDamageEntryStyle, teamfightDeathIconStyle, teamfightKillEvent, teamfightTimelinePlayer, teamfightTimelineSample, teamfightTimelineStyle, teamsAndTimerStyle, textComponentStyling, textContentWithStyle, textOutline, textStyle, textStyleWithBorder, textWithContent, timelineEntry, timerBadgePoll, timerBadgePrediction, timerBarStyle, timerTeamStyle, totalBadge, totalVotes, tournamentData, tournamentLogo, transitionEvents, transitionStyle, turretPlatingFallEvent, twitchChatVote, twitchPoll, twitchPollDto, twitchPrediction, twitchPredictionDto, twitchStatusDTO, ultiAbilityStyle, updateNameRequest, updateOverlayRequest, userFeaturesUpdatedMessage, userTierUpdatedMessage, vector3, verifyEmailRequest, voteWrapper, websocketMessageTypes };
|
|
6508
7256
|
//# sourceMappingURL=index.js.map
|
|
6509
7257
|
//# sourceMappingURL=index.js.map
|