hive-bedrock-api 3.0.0-alpha.13 → 3.0.0-alpha.14
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/lib/helpers/fetchEndpoint.d.ts +3 -0
- package/lib/helpers/fetchEndpoint.js +88 -0
- package/lib/helpers/isGame.d.ts +2 -0
- package/lib/helpers/isGame.js +7 -0
- package/lib/helpers/toPoint.d.ts +1 -0
- package/lib/helpers/toPoint.js +10 -0
- package/lib/methods/getAllTimeLeaderboard.d.ts +4 -0
- package/lib/methods/getAllTimeLeaderboard.js +85 -0
- package/lib/methods/getAllTimeStatistics.d.ts +10 -0
- package/lib/methods/getAllTimeStatistics.js +126 -0
- package/lib/methods/getGlobalStatistics.d.ts +3 -0
- package/lib/methods/getGlobalStatistics.js +56 -0
- package/lib/methods/getMaps.d.ts +3 -0
- package/lib/methods/getMaps.js +81 -0
- package/lib/methods/getMetadata.d.ts +3 -0
- package/lib/methods/getMetadata.js +81 -0
- package/lib/methods/getMonthlyLeaderboard.d.ts +11 -0
- package/lib/methods/getMonthlyLeaderboard.js +88 -0
- package/lib/methods/getMonthlyStatistics.d.ts +10 -0
- package/lib/methods/getMonthlyStatistics.js +132 -0
- package/lib/methods/getPlayerInfomation.d.ts +3 -0
- package/lib/methods/getPlayerInfomation.js +72 -0
- package/lib/methods/getSeasonLeaderboard.d.ts +10 -0
- package/lib/methods/getSeasonLeaderboard.js +87 -0
- package/lib/methods/getSeasonStatistics.d.ts +10 -0
- package/lib/methods/getSeasonStatistics.js +87 -0
- package/lib/processors/bed.d.ts +19 -0
- package/lib/processors/bed.js +35 -0
- package/lib/processors/bridge.d.ts +24 -0
- package/lib/processors/bridge.js +40 -0
- package/lib/processors/build.d.ts +19 -0
- package/lib/processors/build.js +35 -0
- package/lib/processors/ctf.d.ts +19 -0
- package/lib/processors/ctf.js +35 -0
- package/lib/processors/dr.d.ts +19 -0
- package/lib/processors/dr.js +35 -0
- package/lib/processors/drop.d.ts +17 -0
- package/lib/processors/drop.js +34 -0
- package/lib/processors/grav.d.ts +17 -0
- package/lib/processors/grav.js +34 -0
- package/lib/processors/ground.d.ts +19 -0
- package/lib/processors/ground.js +35 -0
- package/lib/processors/helpers/processBuildRatings.d.ts +8 -0
- package/lib/processors/helpers/processBuildRatings.js +23 -0
- package/lib/processors/helpers/processGameAndXP.d.ts +6 -0
- package/lib/processors/helpers/processGameAndXP.js +10 -0
- package/lib/processors/helpers/processHiderKillsAndDeaths.d.ts +5 -0
- package/lib/processors/helpers/processHiderKillsAndDeaths.js +13 -0
- package/lib/processors/helpers/processKillsAndDeaths.d.ts +5 -0
- package/lib/processors/helpers/processKillsAndDeaths.js +13 -0
- package/lib/processors/helpers/processMurdersAndDeaths.d.ts +5 -0
- package/lib/processors/helpers/processMurdersAndDeaths.js +13 -0
- package/lib/processors/helpers/processPlayedAndVictories.d.ts +6 -0
- package/lib/processors/helpers/processPlayedAndVictories.js +12 -0
- package/lib/processors/hide.d.ts +19 -0
- package/lib/processors/hide.js +35 -0
- package/lib/processors/index.d.ts +12 -0
- package/lib/processors/index.js +73 -0
- package/lib/processors/murder.d.ts +19 -0
- package/lib/processors/murder.js +35 -0
- package/lib/processors/parkour.d.ts +5 -0
- package/lib/processors/parkour.js +99 -0
- package/lib/processors/party.d.ts +17 -0
- package/lib/processors/party.js +34 -0
- package/lib/processors/sg.d.ts +19 -0
- package/lib/processors/sg.js +35 -0
- package/lib/processors/sky.d.ts +19 -0
- package/lib/processors/sky.js +35 -0
- package/lib/processors/wars.d.ts +19 -0
- package/lib/processors/wars.js +35 -0
- package/lib/types/output.d.ts +62 -0
- package/lib/types/output.js +3 -0
- package/lib/types/types.d.ts +24 -0
- package/lib/types/types.js +2 -0
- package/package.json +1 -1
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Game, Statistics, Timeframe } from "hive-bedrock-data";
|
|
2
|
+
import { OmittedSpecialStatistics } from "../types/types";
|
|
3
|
+
export interface Processed_JustBuild_AllTimeStatistics extends OmittedSpecialStatistics<Game.JustBuild, Timeframe.AllTime> {
|
|
4
|
+
id: Game.JustBuild;
|
|
5
|
+
level: number;
|
|
6
|
+
losses: number;
|
|
7
|
+
win_percentage: number;
|
|
8
|
+
total_ratings: number;
|
|
9
|
+
first_played: number | null;
|
|
10
|
+
}
|
|
11
|
+
export interface Processed_JustBuild_MonthlyStatistics extends Statistics<Game.JustBuild, Timeframe.Monthly> {
|
|
12
|
+
id: Game.JustBuild;
|
|
13
|
+
level: number;
|
|
14
|
+
total_ratings: number;
|
|
15
|
+
losses: number;
|
|
16
|
+
win_percentage: number;
|
|
17
|
+
}
|
|
18
|
+
export declare function processAllTime_BUILD(statistics: Partial<Statistics<Game.JustBuild, Timeframe.AllTime>>): Processed_JustBuild_AllTimeStatistics | null;
|
|
19
|
+
export declare function processMonthly_BUILD(statistics: Partial<Statistics<Game.JustBuild, Timeframe.Monthly>>): Processed_JustBuild_MonthlyStatistics | null;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __assign = (this && this.__assign) || function () {
|
|
3
|
+
__assign = Object.assign || function(t) {
|
|
4
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
+
s = arguments[i];
|
|
6
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
+
t[p] = s[p];
|
|
8
|
+
}
|
|
9
|
+
return t;
|
|
10
|
+
};
|
|
11
|
+
return __assign.apply(this, arguments);
|
|
12
|
+
};
|
|
13
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
14
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
exports.processAllTime_BUILD = processAllTime_BUILD;
|
|
18
|
+
exports.processMonthly_BUILD = processMonthly_BUILD;
|
|
19
|
+
var hive_bedrock_data_1 = require("hive-bedrock-data");
|
|
20
|
+
var processGameAndXP_1 = __importDefault(require("./helpers/processGameAndXP"));
|
|
21
|
+
var processPlayedAndVictories_1 = __importDefault(require("./helpers/processPlayedAndVictories"));
|
|
22
|
+
var processBuildRatings_1 = __importDefault(require("./helpers/processBuildRatings"));
|
|
23
|
+
function processAllTime_BUILD(statistics) {
|
|
24
|
+
var _a;
|
|
25
|
+
if (!statistics || Array.isArray(statistics))
|
|
26
|
+
return null;
|
|
27
|
+
return __assign(__assign(__assign(__assign({ UUID: statistics.UUID }, (0, processGameAndXP_1.default)(hive_bedrock_data_1.Game.JustBuild, statistics.xp)), (0, processPlayedAndVictories_1.default)(statistics.played, statistics.victories)), (0, processBuildRatings_1.default)(statistics.rating_love_received, statistics.rating_great_received, statistics.rating_good_received, statistics.rating_okay_received, statistics.rating_meh_received)), { first_played: (_a = statistics.first_played) !== null && _a !== void 0 ? _a : null });
|
|
28
|
+
}
|
|
29
|
+
function processMonthly_BUILD(statistics) {
|
|
30
|
+
var _a, _b;
|
|
31
|
+
if (!statistics || Array.isArray(statistics))
|
|
32
|
+
return null;
|
|
33
|
+
var index = (_a = statistics.index) !== null && _a !== void 0 ? _a : 0;
|
|
34
|
+
return __assign(__assign(__assign({ index: (_b = statistics.index) !== null && _b !== void 0 ? _b : 0, human_index: index + 1, username: statistics.username }, (0, processGameAndXP_1.default)(hive_bedrock_data_1.Game.JustBuild, statistics.xp)), (0, processPlayedAndVictories_1.default)(statistics.played, statistics.victories)), (0, processBuildRatings_1.default)(statistics.rating_love_received, statistics.rating_great_received, statistics.rating_good_received, statistics.rating_okay_received, statistics.rating_meh_received));
|
|
35
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Game, Statistics, Timeframe } from "hive-bedrock-data";
|
|
2
|
+
import { OmittedSpecialStatistics } from "../types/types";
|
|
3
|
+
export interface Processed_CaptureTheFlag_AllTimeStatistics extends OmittedSpecialStatistics<Game.CaptureTheFlag, Timeframe.AllTime> {
|
|
4
|
+
id: Game.CaptureTheFlag;
|
|
5
|
+
level: number;
|
|
6
|
+
losses: number;
|
|
7
|
+
win_percentage: number;
|
|
8
|
+
kdr: number;
|
|
9
|
+
first_played: number | null;
|
|
10
|
+
}
|
|
11
|
+
export interface Processed_CaptureTheFlag_MonthlyStatistics extends Statistics<Game.CaptureTheFlag, Timeframe.Monthly> {
|
|
12
|
+
id: Game.CaptureTheFlag;
|
|
13
|
+
level: number;
|
|
14
|
+
losses: number;
|
|
15
|
+
win_percentage: number;
|
|
16
|
+
kdr: number;
|
|
17
|
+
}
|
|
18
|
+
export declare function processAllTime_CTF(statistics: Partial<Statistics<Game.CaptureTheFlag, Timeframe.AllTime>>): Processed_CaptureTheFlag_AllTimeStatistics | null;
|
|
19
|
+
export declare function processMonthly_CTF(statistics: Partial<Statistics<Game.CaptureTheFlag, Timeframe.Monthly>>): Processed_CaptureTheFlag_MonthlyStatistics | null;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __assign = (this && this.__assign) || function () {
|
|
3
|
+
__assign = Object.assign || function(t) {
|
|
4
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
+
s = arguments[i];
|
|
6
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
+
t[p] = s[p];
|
|
8
|
+
}
|
|
9
|
+
return t;
|
|
10
|
+
};
|
|
11
|
+
return __assign.apply(this, arguments);
|
|
12
|
+
};
|
|
13
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
14
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
exports.processAllTime_CTF = processAllTime_CTF;
|
|
18
|
+
exports.processMonthly_CTF = processMonthly_CTF;
|
|
19
|
+
var hive_bedrock_data_1 = require("hive-bedrock-data");
|
|
20
|
+
var processGameAndXP_1 = __importDefault(require("./helpers/processGameAndXP"));
|
|
21
|
+
var processPlayedAndVictories_1 = __importDefault(require("./helpers/processPlayedAndVictories"));
|
|
22
|
+
var processKillsAndDeaths_1 = __importDefault(require("./helpers/processKillsAndDeaths"));
|
|
23
|
+
function processAllTime_CTF(statistics) {
|
|
24
|
+
var _a, _b, _c, _d;
|
|
25
|
+
if (!statistics || Array.isArray(statistics))
|
|
26
|
+
return null;
|
|
27
|
+
return __assign(__assign(__assign(__assign({ UUID: statistics.UUID }, (0, processGameAndXP_1.default)(hive_bedrock_data_1.Game.CaptureTheFlag, statistics.xp)), (0, processPlayedAndVictories_1.default)(statistics.played, statistics.victories)), (0, processKillsAndDeaths_1.default)(statistics.kills, statistics.deaths)), { assists: (_a = statistics.assists) !== null && _a !== void 0 ? _a : 0, flags_captured: (_b = statistics.flags_captured) !== null && _b !== void 0 ? _b : 0, flags_returned: (_c = statistics.flags_returned) !== null && _c !== void 0 ? _c : 0, first_played: (_d = statistics.first_played) !== null && _d !== void 0 ? _d : null });
|
|
28
|
+
}
|
|
29
|
+
function processMonthly_CTF(statistics) {
|
|
30
|
+
var _a, _b, _c, _d, _e;
|
|
31
|
+
if (!statistics || Array.isArray(statistics))
|
|
32
|
+
return null;
|
|
33
|
+
var index = (_a = statistics.index) !== null && _a !== void 0 ? _a : 0;
|
|
34
|
+
return __assign(__assign(__assign(__assign({ index: (_b = statistics.index) !== null && _b !== void 0 ? _b : 0, human_index: index + 1, username: statistics.username }, (0, processGameAndXP_1.default)(hive_bedrock_data_1.Game.CaptureTheFlag, statistics.xp)), (0, processPlayedAndVictories_1.default)(statistics.played, statistics.victories)), (0, processKillsAndDeaths_1.default)(statistics.kills, statistics.deaths)), { assists: (_c = statistics.assists) !== null && _c !== void 0 ? _c : 0, flags_captured: (_d = statistics.flags_captured) !== null && _d !== void 0 ? _d : 0, flags_returned: (_e = statistics.flags_returned) !== null && _e !== void 0 ? _e : 0 });
|
|
35
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Game, Statistics, Timeframe } from "hive-bedrock-data";
|
|
2
|
+
import { OmittedSpecialStatistics } from "../types/types";
|
|
3
|
+
export interface Processed_DeathRun_AllTimeStatistics extends OmittedSpecialStatistics<Game.DeathRun, Timeframe.AllTime> {
|
|
4
|
+
id: Game.DeathRun;
|
|
5
|
+
level: number;
|
|
6
|
+
losses: number;
|
|
7
|
+
win_percentage: number;
|
|
8
|
+
kdr: number;
|
|
9
|
+
first_played: number | null;
|
|
10
|
+
}
|
|
11
|
+
export interface Processed_DeathRun_MonthlyStatistics extends Statistics<Game.DeathRun, Timeframe.Monthly> {
|
|
12
|
+
id: Game.DeathRun;
|
|
13
|
+
level: number;
|
|
14
|
+
losses: number;
|
|
15
|
+
win_percentage: number;
|
|
16
|
+
kdr: number;
|
|
17
|
+
}
|
|
18
|
+
export declare function processAllTime_DR(statistics: Partial<Statistics<Game.DeathRun, Timeframe.AllTime>>): Processed_DeathRun_AllTimeStatistics | null;
|
|
19
|
+
export declare function processMonthly_DR(statistics: Partial<Statistics<Game.DeathRun, Timeframe.Monthly>>): Processed_DeathRun_MonthlyStatistics | null;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __assign = (this && this.__assign) || function () {
|
|
3
|
+
__assign = Object.assign || function(t) {
|
|
4
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
+
s = arguments[i];
|
|
6
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
+
t[p] = s[p];
|
|
8
|
+
}
|
|
9
|
+
return t;
|
|
10
|
+
};
|
|
11
|
+
return __assign.apply(this, arguments);
|
|
12
|
+
};
|
|
13
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
14
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
exports.processAllTime_DR = processAllTime_DR;
|
|
18
|
+
exports.processMonthly_DR = processMonthly_DR;
|
|
19
|
+
var hive_bedrock_data_1 = require("hive-bedrock-data");
|
|
20
|
+
var processGameAndXP_1 = __importDefault(require("./helpers/processGameAndXP"));
|
|
21
|
+
var processPlayedAndVictories_1 = __importDefault(require("./helpers/processPlayedAndVictories"));
|
|
22
|
+
var processKillsAndDeaths_1 = __importDefault(require("./helpers/processKillsAndDeaths"));
|
|
23
|
+
function processAllTime_DR(statistics) {
|
|
24
|
+
var _a, _b, _c;
|
|
25
|
+
if (!statistics || Array.isArray(statistics))
|
|
26
|
+
return null;
|
|
27
|
+
return __assign(__assign(__assign(__assign({ UUID: statistics.UUID }, (0, processGameAndXP_1.default)(hive_bedrock_data_1.Game.DeathRun, statistics.xp)), (0, processPlayedAndVictories_1.default)(statistics.played, statistics.victories)), (0, processKillsAndDeaths_1.default)(statistics.kills, statistics.deaths)), { activated: (_a = statistics.activated) !== null && _a !== void 0 ? _a : 0, checkpoints: (_b = statistics.checkpoints) !== null && _b !== void 0 ? _b : 0, first_played: (_c = statistics.first_played) !== null && _c !== void 0 ? _c : null });
|
|
28
|
+
}
|
|
29
|
+
function processMonthly_DR(statistics) {
|
|
30
|
+
var _a, _b, _c, _d;
|
|
31
|
+
if (!statistics || Array.isArray(statistics))
|
|
32
|
+
return null;
|
|
33
|
+
var index = (_a = statistics.index) !== null && _a !== void 0 ? _a : 0;
|
|
34
|
+
return __assign(__assign(__assign(__assign({ index: (_b = statistics.index) !== null && _b !== void 0 ? _b : 0, human_index: index + 1, username: statistics.username }, (0, processGameAndXP_1.default)(hive_bedrock_data_1.Game.DeathRun, statistics.xp)), (0, processPlayedAndVictories_1.default)(statistics.played, statistics.victories)), (0, processKillsAndDeaths_1.default)(statistics.kills, statistics.deaths)), { activated: (_c = statistics.activated) !== null && _c !== void 0 ? _c : 0, checkpoints: (_d = statistics.checkpoints) !== null && _d !== void 0 ? _d : 0 });
|
|
35
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Game, Statistics, Timeframe } from "hive-bedrock-data";
|
|
2
|
+
import { OmittedSpecialStatistics } from "../types/types";
|
|
3
|
+
export interface Processed_BlockDrop_AllTimeStatistics extends OmittedSpecialStatistics<Game.BlockDrop, Timeframe.AllTime> {
|
|
4
|
+
id: Game.BlockDrop;
|
|
5
|
+
level: number;
|
|
6
|
+
losses: number;
|
|
7
|
+
win_percentage: number;
|
|
8
|
+
first_played: number | null;
|
|
9
|
+
}
|
|
10
|
+
export interface Processed_BlockDrop_MonthlyStatistics extends Statistics<Game.BlockDrop, Timeframe.Monthly> {
|
|
11
|
+
id: Game.BlockDrop;
|
|
12
|
+
level: number;
|
|
13
|
+
losses: number;
|
|
14
|
+
win_percentage: number;
|
|
15
|
+
}
|
|
16
|
+
export declare function processAllTime_DROP(statistics: Partial<Statistics<Game.BlockDrop, Timeframe.AllTime>>): Processed_BlockDrop_AllTimeStatistics | null;
|
|
17
|
+
export declare function processMonthly_DROP(statistics: Partial<Statistics<Game.BlockDrop, Timeframe.Monthly>>): Processed_BlockDrop_MonthlyStatistics | null;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __assign = (this && this.__assign) || function () {
|
|
3
|
+
__assign = Object.assign || function(t) {
|
|
4
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
+
s = arguments[i];
|
|
6
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
+
t[p] = s[p];
|
|
8
|
+
}
|
|
9
|
+
return t;
|
|
10
|
+
};
|
|
11
|
+
return __assign.apply(this, arguments);
|
|
12
|
+
};
|
|
13
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
14
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
exports.processAllTime_DROP = processAllTime_DROP;
|
|
18
|
+
exports.processMonthly_DROP = processMonthly_DROP;
|
|
19
|
+
var hive_bedrock_data_1 = require("hive-bedrock-data");
|
|
20
|
+
var processGameAndXP_1 = __importDefault(require("./helpers/processGameAndXP"));
|
|
21
|
+
var processPlayedAndVictories_1 = __importDefault(require("./helpers/processPlayedAndVictories"));
|
|
22
|
+
function processAllTime_DROP(statistics) {
|
|
23
|
+
var _a, _b, _c, _d, _e;
|
|
24
|
+
if (!statistics || Array.isArray(statistics))
|
|
25
|
+
return null;
|
|
26
|
+
return __assign(__assign(__assign({ UUID: statistics.UUID }, (0, processGameAndXP_1.default)(hive_bedrock_data_1.Game.BlockDrop, statistics.xp)), (0, processPlayedAndVictories_1.default)(statistics.played, statistics.victories)), { deaths: (_a = statistics.deaths) !== null && _a !== void 0 ? _a : 0, blocks_destroyed: (_b = statistics.blocks_destroyed) !== null && _b !== void 0 ? _b : 0, powerups_collected: (_c = statistics.powerups_collected) !== null && _c !== void 0 ? _c : 0, vaults_used: (_d = statistics.vaults_used) !== null && _d !== void 0 ? _d : 0, first_played: (_e = statistics.first_played) !== null && _e !== void 0 ? _e : null });
|
|
27
|
+
}
|
|
28
|
+
function processMonthly_DROP(statistics) {
|
|
29
|
+
var _a, _b, _c, _d, _e, _f;
|
|
30
|
+
if (!statistics || Array.isArray(statistics))
|
|
31
|
+
return null;
|
|
32
|
+
var index = (_a = statistics.index) !== null && _a !== void 0 ? _a : 0;
|
|
33
|
+
return __assign(__assign(__assign({ index: (_b = statistics.index) !== null && _b !== void 0 ? _b : 0, human_index: index + 1, username: statistics.username }, (0, processGameAndXP_1.default)(hive_bedrock_data_1.Game.BlockDrop, statistics.xp)), (0, processPlayedAndVictories_1.default)(statistics.played, statistics.victories)), { deaths: (_c = statistics.deaths) !== null && _c !== void 0 ? _c : 0, blocks_destroyed: (_d = statistics.blocks_destroyed) !== null && _d !== void 0 ? _d : 0, powerups_collected: (_e = statistics.powerups_collected) !== null && _e !== void 0 ? _e : 0, vaults_used: (_f = statistics.vaults_used) !== null && _f !== void 0 ? _f : 0 });
|
|
34
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Game, Statistics, Timeframe } from "hive-bedrock-data";
|
|
2
|
+
import { OmittedSpecialStatistics } from "../types/types";
|
|
3
|
+
export interface Processed_Gravity_AllTimeStatistics extends OmittedSpecialStatistics<Game.Gravity, Timeframe.AllTime> {
|
|
4
|
+
id: Game.Gravity;
|
|
5
|
+
level: number;
|
|
6
|
+
losses: number;
|
|
7
|
+
win_percentage: number;
|
|
8
|
+
first_played: number | null;
|
|
9
|
+
}
|
|
10
|
+
export interface Processed_Gravity_MonthlyStatistics extends Statistics<Game.Gravity, Timeframe.Monthly> {
|
|
11
|
+
id: Game.Gravity;
|
|
12
|
+
level: number;
|
|
13
|
+
losses: number;
|
|
14
|
+
win_percentage: number;
|
|
15
|
+
}
|
|
16
|
+
export declare function processAllTime_GRAV(statistics: Partial<Statistics<Game.Gravity, Timeframe.AllTime>>): Processed_Gravity_AllTimeStatistics | null;
|
|
17
|
+
export declare function processMonthly_GRAV(statistics: Partial<Statistics<Game.Gravity, Timeframe.Monthly>>): Processed_Gravity_MonthlyStatistics | null;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __assign = (this && this.__assign) || function () {
|
|
3
|
+
__assign = Object.assign || function(t) {
|
|
4
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
+
s = arguments[i];
|
|
6
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
+
t[p] = s[p];
|
|
8
|
+
}
|
|
9
|
+
return t;
|
|
10
|
+
};
|
|
11
|
+
return __assign.apply(this, arguments);
|
|
12
|
+
};
|
|
13
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
14
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
exports.processAllTime_GRAV = processAllTime_GRAV;
|
|
18
|
+
exports.processMonthly_GRAV = processMonthly_GRAV;
|
|
19
|
+
var hive_bedrock_data_1 = require("hive-bedrock-data");
|
|
20
|
+
var processGameAndXP_1 = __importDefault(require("./helpers/processGameAndXP"));
|
|
21
|
+
var processPlayedAndVictories_1 = __importDefault(require("./helpers/processPlayedAndVictories"));
|
|
22
|
+
function processAllTime_GRAV(statistics) {
|
|
23
|
+
var _a, _b, _c, _d;
|
|
24
|
+
if (!statistics || Array.isArray(statistics))
|
|
25
|
+
return null;
|
|
26
|
+
return __assign(__assign(__assign({ UUID: statistics.UUID }, (0, processGameAndXP_1.default)(hive_bedrock_data_1.Game.Gravity, statistics.xp)), (0, processPlayedAndVictories_1.default)(statistics.played, statistics.victories)), { deaths: (_a = statistics.deaths) !== null && _a !== void 0 ? _a : 0, maps_completed: (_b = statistics.maps_completed) !== null && _b !== void 0 ? _b : 0, maps_completed_without_dying: (_c = statistics.maps_completed_without_dying) !== null && _c !== void 0 ? _c : 0, first_played: (_d = statistics.first_played) !== null && _d !== void 0 ? _d : null });
|
|
27
|
+
}
|
|
28
|
+
function processMonthly_GRAV(statistics) {
|
|
29
|
+
var _a, _b, _c, _d, _e;
|
|
30
|
+
if (!statistics || Array.isArray(statistics))
|
|
31
|
+
return null;
|
|
32
|
+
var index = (_a = statistics.index) !== null && _a !== void 0 ? _a : 0;
|
|
33
|
+
return __assign(__assign(__assign({ index: (_b = statistics.index) !== null && _b !== void 0 ? _b : 0, human_index: index + 1, username: statistics.username }, (0, processGameAndXP_1.default)(hive_bedrock_data_1.Game.Gravity, statistics.xp)), (0, processPlayedAndVictories_1.default)(statistics.played, statistics.victories)), { deaths: (_c = statistics.deaths) !== null && _c !== void 0 ? _c : 0, maps_completed: (_d = statistics.maps_completed) !== null && _d !== void 0 ? _d : 0, maps_completed_without_dying: (_e = statistics.maps_completed_without_dying) !== null && _e !== void 0 ? _e : 0 });
|
|
34
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Game, Statistics, Timeframe } from "hive-bedrock-data";
|
|
2
|
+
import { OmittedSpecialStatistics } from "../types/types";
|
|
3
|
+
export interface Processed_GroundWars_AllTimeStatistics extends OmittedSpecialStatistics<Game.GroundWars, Timeframe.AllTime> {
|
|
4
|
+
id: Game.GroundWars;
|
|
5
|
+
level: number;
|
|
6
|
+
losses: number;
|
|
7
|
+
win_percentage: number;
|
|
8
|
+
kdr: number;
|
|
9
|
+
first_played: number | null;
|
|
10
|
+
}
|
|
11
|
+
export interface Processed_GroundWars_MonthlyStatistics extends Statistics<Game.GroundWars, Timeframe.Monthly> {
|
|
12
|
+
id: Game.GroundWars;
|
|
13
|
+
level: number;
|
|
14
|
+
losses: number;
|
|
15
|
+
win_percentage: number;
|
|
16
|
+
kdr: number;
|
|
17
|
+
}
|
|
18
|
+
export declare function processAllTime_GROUND(statistics: Partial<Statistics<Game.GroundWars, Timeframe.AllTime>>): Processed_GroundWars_AllTimeStatistics | null;
|
|
19
|
+
export declare function processMonthly_GROUND(statistics: Partial<Statistics<Game.GroundWars, Timeframe.Monthly>>): Processed_GroundWars_MonthlyStatistics | null;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __assign = (this && this.__assign) || function () {
|
|
3
|
+
__assign = Object.assign || function(t) {
|
|
4
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
+
s = arguments[i];
|
|
6
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
+
t[p] = s[p];
|
|
8
|
+
}
|
|
9
|
+
return t;
|
|
10
|
+
};
|
|
11
|
+
return __assign.apply(this, arguments);
|
|
12
|
+
};
|
|
13
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
14
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
exports.processAllTime_GROUND = processAllTime_GROUND;
|
|
18
|
+
exports.processMonthly_GROUND = processMonthly_GROUND;
|
|
19
|
+
var hive_bedrock_data_1 = require("hive-bedrock-data");
|
|
20
|
+
var processGameAndXP_1 = __importDefault(require("./helpers/processGameAndXP"));
|
|
21
|
+
var processPlayedAndVictories_1 = __importDefault(require("./helpers/processPlayedAndVictories"));
|
|
22
|
+
var processKillsAndDeaths_1 = __importDefault(require("./helpers/processKillsAndDeaths"));
|
|
23
|
+
function processAllTime_GROUND(statistics) {
|
|
24
|
+
var _a, _b, _c, _d;
|
|
25
|
+
if (!statistics || Array.isArray(statistics))
|
|
26
|
+
return null;
|
|
27
|
+
return __assign(__assign(__assign(__assign({ UUID: statistics.UUID }, (0, processGameAndXP_1.default)(hive_bedrock_data_1.Game.GroundWars, statistics.xp)), (0, processPlayedAndVictories_1.default)(statistics.played, statistics.victories)), (0, processKillsAndDeaths_1.default)(statistics.kills, statistics.deaths)), { blocks_placed: (_a = statistics.blocks_placed) !== null && _a !== void 0 ? _a : 0, blocks_destroyed: (_b = statistics.blocks_destroyed) !== null && _b !== void 0 ? _b : 0, projectiles_fired: (_c = statistics.projectiles_fired) !== null && _c !== void 0 ? _c : 0, first_played: (_d = statistics.first_played) !== null && _d !== void 0 ? _d : null });
|
|
28
|
+
}
|
|
29
|
+
function processMonthly_GROUND(statistics) {
|
|
30
|
+
var _a, _b, _c, _d, _e;
|
|
31
|
+
if (!statistics || Array.isArray(statistics))
|
|
32
|
+
return null;
|
|
33
|
+
var index = (_a = statistics.index) !== null && _a !== void 0 ? _a : 0;
|
|
34
|
+
return __assign(__assign(__assign(__assign({ index: (_b = statistics.index) !== null && _b !== void 0 ? _b : 0, human_index: index + 1, username: statistics.username }, (0, processGameAndXP_1.default)(hive_bedrock_data_1.Game.GroundWars, statistics.xp)), (0, processPlayedAndVictories_1.default)(statistics.played, statistics.victories)), (0, processKillsAndDeaths_1.default)(statistics.kills, statistics.deaths)), { blocks_placed: (_c = statistics.blocks_placed) !== null && _c !== void 0 ? _c : 0, blocks_destroyed: (_d = statistics.blocks_destroyed) !== null && _d !== void 0 ? _d : 0, projectiles_fired: (_e = statistics.projectiles_fired) !== null && _e !== void 0 ? _e : 0 });
|
|
35
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export default function processBuildRatings(rating_love_received?: number, rating_great_received?: number, rating_good_received?: number, rating_okay_received?: number, rating_meh_received?: number): {
|
|
2
|
+
total_ratings: number;
|
|
3
|
+
rating_love_received: number;
|
|
4
|
+
rating_great_received: number;
|
|
5
|
+
rating_good_received: number;
|
|
6
|
+
rating_okay_received: number;
|
|
7
|
+
rating_meh_received: number;
|
|
8
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.default = processBuildRatings;
|
|
4
|
+
function processBuildRatings(rating_love_received, rating_great_received, rating_good_received, rating_okay_received, rating_meh_received) {
|
|
5
|
+
rating_love_received !== null && rating_love_received !== void 0 ? rating_love_received : (rating_love_received = 0);
|
|
6
|
+
rating_great_received !== null && rating_great_received !== void 0 ? rating_great_received : (rating_great_received = 0);
|
|
7
|
+
rating_good_received !== null && rating_good_received !== void 0 ? rating_good_received : (rating_good_received = 0);
|
|
8
|
+
rating_okay_received !== null && rating_okay_received !== void 0 ? rating_okay_received : (rating_okay_received = 0);
|
|
9
|
+
rating_meh_received !== null && rating_meh_received !== void 0 ? rating_meh_received : (rating_meh_received = 0);
|
|
10
|
+
var total_ratings = rating_love_received +
|
|
11
|
+
rating_great_received +
|
|
12
|
+
rating_good_received +
|
|
13
|
+
rating_okay_received +
|
|
14
|
+
rating_meh_received;
|
|
15
|
+
return {
|
|
16
|
+
total_ratings: total_ratings,
|
|
17
|
+
rating_love_received: rating_love_received,
|
|
18
|
+
rating_great_received: rating_great_received,
|
|
19
|
+
rating_good_received: rating_good_received,
|
|
20
|
+
rating_okay_received: rating_okay_received,
|
|
21
|
+
rating_meh_received: rating_meh_received,
|
|
22
|
+
};
|
|
23
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.default = processGameAndXP;
|
|
4
|
+
var hive_bedrock_data_1 = require("hive-bedrock-data");
|
|
5
|
+
function processGameAndXP(game, xp) {
|
|
6
|
+
var _a;
|
|
7
|
+
xp !== null && xp !== void 0 ? xp : (xp = 0);
|
|
8
|
+
var level = (_a = (0, hive_bedrock_data_1.calculateLevelFromXP)(xp, game)) !== null && _a !== void 0 ? _a : 1;
|
|
9
|
+
return { id: game, xp: xp, level: level };
|
|
10
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.default = processHiderKillsAndDeaths;
|
|
7
|
+
var toPoint_1 = __importDefault(require("../../helpers/toPoint"));
|
|
8
|
+
function processHiderKillsAndDeaths(hider_kills, deaths) {
|
|
9
|
+
hider_kills !== null && hider_kills !== void 0 ? hider_kills : (hider_kills = 0);
|
|
10
|
+
deaths !== null && deaths !== void 0 ? deaths : (deaths = 0);
|
|
11
|
+
var kdr = (0, toPoint_1.default)(hider_kills / deaths, 2);
|
|
12
|
+
return { hider_kills: hider_kills, deaths: deaths, kdr: kdr };
|
|
13
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.default = processKillsAndDeaths;
|
|
7
|
+
var toPoint_1 = __importDefault(require("../../helpers/toPoint"));
|
|
8
|
+
function processKillsAndDeaths(kills, deaths) {
|
|
9
|
+
kills !== null && kills !== void 0 ? kills : (kills = 0);
|
|
10
|
+
deaths !== null && deaths !== void 0 ? deaths : (deaths = 0);
|
|
11
|
+
var kdr = (0, toPoint_1.default)(kills / deaths, 2);
|
|
12
|
+
return { kills: kills, deaths: deaths, kdr: kdr };
|
|
13
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.default = processMurdersAndDeaths;
|
|
7
|
+
var toPoint_1 = __importDefault(require("../../helpers/toPoint"));
|
|
8
|
+
function processMurdersAndDeaths(murders, deaths) {
|
|
9
|
+
murders !== null && murders !== void 0 ? murders : (murders = 0);
|
|
10
|
+
deaths !== null && deaths !== void 0 ? deaths : (deaths = 0);
|
|
11
|
+
var kdr = (0, toPoint_1.default)(murders / deaths, 2);
|
|
12
|
+
return { murders: murders, deaths: deaths, kdr: kdr };
|
|
13
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.default = processPlayedAndVictories;
|
|
4
|
+
function processPlayedAndVictories(played, victories) {
|
|
5
|
+
played !== null && played !== void 0 ? played : (played = 0);
|
|
6
|
+
victories !== null && victories !== void 0 ? victories : (victories = 0);
|
|
7
|
+
var losses = played - victories;
|
|
8
|
+
var win_percentage = victories / played;
|
|
9
|
+
if (isNaN(win_percentage))
|
|
10
|
+
win_percentage = 0;
|
|
11
|
+
return { played: played, victories: victories, losses: losses, win_percentage: win_percentage };
|
|
12
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Game, Statistics, Timeframe } from "hive-bedrock-data";
|
|
2
|
+
import { OmittedSpecialStatistics } from "../types/types";
|
|
3
|
+
export interface Processed_HideAndSeek_AllTimeStatistics extends OmittedSpecialStatistics<Game.HideAndSeek, Timeframe.AllTime> {
|
|
4
|
+
id: Game.HideAndSeek;
|
|
5
|
+
level: number;
|
|
6
|
+
losses: number;
|
|
7
|
+
win_percentage: number;
|
|
8
|
+
kdr: number;
|
|
9
|
+
first_played: number | null;
|
|
10
|
+
}
|
|
11
|
+
export interface Processed_HideAndSeek_MonthlyStatistics extends Statistics<Game.HideAndSeek, Timeframe.Monthly> {
|
|
12
|
+
id: Game.HideAndSeek;
|
|
13
|
+
level: number;
|
|
14
|
+
losses: number;
|
|
15
|
+
win_percentage: number;
|
|
16
|
+
kdr: number;
|
|
17
|
+
}
|
|
18
|
+
export declare function processAllTime_HIDE(statistics: Partial<Statistics<Game.HideAndSeek, Timeframe.AllTime>>): Processed_HideAndSeek_AllTimeStatistics | null;
|
|
19
|
+
export declare function processMonthly_HIDE(statistics: Partial<Statistics<Game.HideAndSeek, Timeframe.Monthly>>): Processed_HideAndSeek_MonthlyStatistics | null;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __assign = (this && this.__assign) || function () {
|
|
3
|
+
__assign = Object.assign || function(t) {
|
|
4
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
+
s = arguments[i];
|
|
6
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
+
t[p] = s[p];
|
|
8
|
+
}
|
|
9
|
+
return t;
|
|
10
|
+
};
|
|
11
|
+
return __assign.apply(this, arguments);
|
|
12
|
+
};
|
|
13
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
14
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
exports.processAllTime_HIDE = processAllTime_HIDE;
|
|
18
|
+
exports.processMonthly_HIDE = processMonthly_HIDE;
|
|
19
|
+
var hive_bedrock_data_1 = require("hive-bedrock-data");
|
|
20
|
+
var processGameAndXP_1 = __importDefault(require("./helpers/processGameAndXP"));
|
|
21
|
+
var processPlayedAndVictories_1 = __importDefault(require("./helpers/processPlayedAndVictories"));
|
|
22
|
+
var processHiderKillsAndDeaths_1 = __importDefault(require("./helpers/processHiderKillsAndDeaths"));
|
|
23
|
+
function processAllTime_HIDE(statistics) {
|
|
24
|
+
var _a, _b;
|
|
25
|
+
if (!statistics || Array.isArray(statistics))
|
|
26
|
+
return null;
|
|
27
|
+
return __assign(__assign(__assign(__assign({ UUID: statistics.UUID }, (0, processGameAndXP_1.default)(hive_bedrock_data_1.Game.HideAndSeek, statistics.xp)), (0, processPlayedAndVictories_1.default)(statistics.played, statistics.victories)), (0, processHiderKillsAndDeaths_1.default)(statistics.hider_kills, statistics.deaths)), { seeker_kills: (_a = statistics.seeker_kills) !== null && _a !== void 0 ? _a : 0, first_played: (_b = statistics.first_played) !== null && _b !== void 0 ? _b : null });
|
|
28
|
+
}
|
|
29
|
+
function processMonthly_HIDE(statistics) {
|
|
30
|
+
var _a, _b, _c;
|
|
31
|
+
if (!statistics || Array.isArray(statistics))
|
|
32
|
+
return null;
|
|
33
|
+
var index = (_a = statistics.index) !== null && _a !== void 0 ? _a : 0;
|
|
34
|
+
return __assign(__assign(__assign(__assign({ index: (_b = statistics.index) !== null && _b !== void 0 ? _b : 0, human_index: index + 1, username: statistics.username }, (0, processGameAndXP_1.default)(hive_bedrock_data_1.Game.HideAndSeek, statistics.xp)), (0, processPlayedAndVictories_1.default)(statistics.played, statistics.victories)), (0, processHiderKillsAndDeaths_1.default)(statistics.hider_kills, statistics.deaths)), { seeker_kills: (_c = statistics.seeker_kills) !== null && _c !== void 0 ? _c : 0 });
|
|
35
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Game, Timeframe } from "hive-bedrock-data";
|
|
2
|
+
import { PlayerProcessorType, Processor } from "../types/output";
|
|
3
|
+
export declare const AllTimeProcessors: {
|
|
4
|
+
[G in Game]: Processor<G, Timeframe.AllTime>;
|
|
5
|
+
};
|
|
6
|
+
export declare const MonthlyProcessors: {
|
|
7
|
+
[G in Game]: G extends Game.ParkourWorlds ? never : Processor<G, Timeframe.Monthly>;
|
|
8
|
+
};
|
|
9
|
+
export declare const LeaderboardProcessors: {
|
|
10
|
+
[G in Game]: G extends Game.ParkourWorlds ? never : Processor<G, Timeframe.Monthly>;
|
|
11
|
+
};
|
|
12
|
+
export declare const PlayerProcessor: PlayerProcessorType;
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var _a, _b, _c;
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.PlayerProcessor = exports.LeaderboardProcessors = exports.MonthlyProcessors = exports.AllTimeProcessors = void 0;
|
|
5
|
+
var hive_bedrock_data_1 = require("hive-bedrock-data");
|
|
6
|
+
var bed_1 = require("./bed");
|
|
7
|
+
var drop_1 = require("./drop");
|
|
8
|
+
var party_1 = require("./party");
|
|
9
|
+
var ctf_1 = require("./ctf");
|
|
10
|
+
var dr_1 = require("./dr");
|
|
11
|
+
var grav_1 = require("./grav");
|
|
12
|
+
var ground_1 = require("./ground");
|
|
13
|
+
var hide_1 = require("./hide");
|
|
14
|
+
var build_1 = require("./build");
|
|
15
|
+
var murder_1 = require("./murder");
|
|
16
|
+
var parkour_1 = require("./parkour");
|
|
17
|
+
var sky_1 = require("./sky");
|
|
18
|
+
var sg_1 = require("./sg");
|
|
19
|
+
var bridge_1 = require("./bridge");
|
|
20
|
+
var wars_1 = require("./wars");
|
|
21
|
+
var player_1 = require("./player");
|
|
22
|
+
exports.AllTimeProcessors = (_a = {},
|
|
23
|
+
_a[hive_bedrock_data_1.Game.BedWars] = bed_1.processAllTime_BED,
|
|
24
|
+
_a[hive_bedrock_data_1.Game.BlockDrop] = drop_1.processAllTime_DROP,
|
|
25
|
+
_a[hive_bedrock_data_1.Game.BlockParty] = party_1.processAllTime_PARTY,
|
|
26
|
+
_a[hive_bedrock_data_1.Game.CaptureTheFlag] = ctf_1.processAllTime_CTF,
|
|
27
|
+
_a[hive_bedrock_data_1.Game.DeathRun] = dr_1.processAllTime_DR,
|
|
28
|
+
_a[hive_bedrock_data_1.Game.Gravity] = grav_1.processAllTime_GRAV,
|
|
29
|
+
_a[hive_bedrock_data_1.Game.GroundWars] = ground_1.processAllTime_GROUND,
|
|
30
|
+
_a[hive_bedrock_data_1.Game.HideAndSeek] = hide_1.processAllTime_HIDE,
|
|
31
|
+
_a[hive_bedrock_data_1.Game.JustBuild] = build_1.processAllTime_BUILD,
|
|
32
|
+
_a[hive_bedrock_data_1.Game.MurderMystery] = murder_1.processAllTime_MURDER,
|
|
33
|
+
_a[hive_bedrock_data_1.Game.ParkourWorlds] = parkour_1.processAllTime_PARKOUR,
|
|
34
|
+
_a[hive_bedrock_data_1.Game.Skywars] = sky_1.processAllTime_SKY,
|
|
35
|
+
_a[hive_bedrock_data_1.Game.SurvivalGames] = sg_1.processAllTime_SG,
|
|
36
|
+
_a[hive_bedrock_data_1.Game.TheBridge] = bridge_1.processAllTime_BRIDGE,
|
|
37
|
+
_a[hive_bedrock_data_1.Game.TreasureWars] = wars_1.processAllTime_WARS,
|
|
38
|
+
_a);
|
|
39
|
+
exports.MonthlyProcessors = (_b = {},
|
|
40
|
+
_b[hive_bedrock_data_1.Game.BedWars] = bed_1.processMonthly_BED,
|
|
41
|
+
_b[hive_bedrock_data_1.Game.BlockDrop] = drop_1.processMonthly_DROP,
|
|
42
|
+
_b[hive_bedrock_data_1.Game.BlockParty] = party_1.processMonthly_PARTY,
|
|
43
|
+
_b[hive_bedrock_data_1.Game.CaptureTheFlag] = ctf_1.processMonthly_CTF,
|
|
44
|
+
_b[hive_bedrock_data_1.Game.DeathRun] = dr_1.processMonthly_DR,
|
|
45
|
+
_b[hive_bedrock_data_1.Game.Gravity] = grav_1.processMonthly_GRAV,
|
|
46
|
+
_b[hive_bedrock_data_1.Game.GroundWars] = ground_1.processMonthly_GROUND,
|
|
47
|
+
_b[hive_bedrock_data_1.Game.HideAndSeek] = hide_1.processMonthly_HIDE,
|
|
48
|
+
_b[hive_bedrock_data_1.Game.JustBuild] = build_1.processMonthly_BUILD,
|
|
49
|
+
_b[hive_bedrock_data_1.Game.MurderMystery] = murder_1.processMonthly_MURDER,
|
|
50
|
+
_b[hive_bedrock_data_1.Game.Skywars] = sky_1.processMonthly_SKY,
|
|
51
|
+
_b[hive_bedrock_data_1.Game.SurvivalGames] = sg_1.processMonthly_SG,
|
|
52
|
+
_b[hive_bedrock_data_1.Game.TheBridge] = bridge_1.processMonthly_BRIDGE,
|
|
53
|
+
_b[hive_bedrock_data_1.Game.TreasureWars] = wars_1.processMonthly_WARS,
|
|
54
|
+
_b[hive_bedrock_data_1.Game.ParkourWorlds] = null,
|
|
55
|
+
_b);
|
|
56
|
+
exports.LeaderboardProcessors = (_c = {},
|
|
57
|
+
_c[hive_bedrock_data_1.Game.BedWars] = bed_1.processMonthly_BED,
|
|
58
|
+
_c[hive_bedrock_data_1.Game.BlockDrop] = drop_1.processMonthly_DROP,
|
|
59
|
+
_c[hive_bedrock_data_1.Game.BlockParty] = party_1.processMonthly_PARTY,
|
|
60
|
+
_c[hive_bedrock_data_1.Game.CaptureTheFlag] = ctf_1.processMonthly_CTF,
|
|
61
|
+
_c[hive_bedrock_data_1.Game.DeathRun] = dr_1.processMonthly_DR,
|
|
62
|
+
_c[hive_bedrock_data_1.Game.Gravity] = grav_1.processMonthly_GRAV,
|
|
63
|
+
_c[hive_bedrock_data_1.Game.GroundWars] = ground_1.processMonthly_GROUND,
|
|
64
|
+
_c[hive_bedrock_data_1.Game.HideAndSeek] = hide_1.processMonthly_HIDE,
|
|
65
|
+
_c[hive_bedrock_data_1.Game.JustBuild] = build_1.processMonthly_BUILD,
|
|
66
|
+
_c[hive_bedrock_data_1.Game.MurderMystery] = murder_1.processMonthly_MURDER,
|
|
67
|
+
_c[hive_bedrock_data_1.Game.Skywars] = sky_1.processMonthly_SKY,
|
|
68
|
+
_c[hive_bedrock_data_1.Game.SurvivalGames] = sg_1.processMonthly_SG,
|
|
69
|
+
_c[hive_bedrock_data_1.Game.TheBridge] = bridge_1.processMonthly_BRIDGE,
|
|
70
|
+
_c[hive_bedrock_data_1.Game.TreasureWars] = wars_1.processMonthly_WARS,
|
|
71
|
+
_c[hive_bedrock_data_1.Game.ParkourWorlds] = null,
|
|
72
|
+
_c);
|
|
73
|
+
exports.PlayerProcessor = player_1.process_PLAYER;
|