251 lines
5.5 KiB
TypeScript
251 lines
5.5 KiB
TypeScript
// Metro module 11576 (f11577).
|
|
import { GameServerProviderType } from "../../../../_bundle/Module4079";
|
|
import { GameServerStatus } from "../../../../_bundle/Module11577";
|
|
function $mk87662() {
|
|
return (a0) => a0.cost;
|
|
}
|
|
const plans = [{
|
|
id: "1",
|
|
name: "GameServer #1",
|
|
cost: 3,
|
|
specifications: [{
|
|
title: "2",
|
|
description: "GB"
|
|
}, {
|
|
title: "1",
|
|
description: "vCPU"
|
|
}, {
|
|
title: "25",
|
|
description: "GB"
|
|
}]
|
|
}, {
|
|
id: "2",
|
|
name: "GameServer #2",
|
|
cost: 6,
|
|
specifications: [{
|
|
title: "2",
|
|
description: "GB"
|
|
}, {
|
|
title: "1",
|
|
description: "vCPU"
|
|
}, {
|
|
title: "25",
|
|
description: "GB"
|
|
}]
|
|
}, {
|
|
id: "3",
|
|
name: "GameServer #3",
|
|
cost: 12,
|
|
specifications: [{
|
|
title: "2",
|
|
description: "GB"
|
|
}, {
|
|
title: "1",
|
|
description: "vCPU"
|
|
}, {
|
|
title: "25",
|
|
description: "GB"
|
|
}]
|
|
}];
|
|
const r11 = Math;
|
|
const r38 = {
|
|
id: "1",
|
|
name: "GameServer Test #1",
|
|
provider: GameServerProviderType.SHOCKBYTE,
|
|
plans,
|
|
baseCost: r11.min.apply(r11, [...plans.map($mk87662())]),
|
|
gameId: "1"
|
|
};
|
|
const r52 = Math;
|
|
const r51 = {
|
|
id: "2",
|
|
name: "GameServer Test #2",
|
|
provider: GameServerProviderType.SHOCKBYTE,
|
|
plans,
|
|
baseCost: r52.min.apply(r52, [...plans.map($mk87662())]),
|
|
gameId: "1"
|
|
};
|
|
const r69 = Math;
|
|
const r68 = {
|
|
id: "3",
|
|
name: "GameServer Test #3",
|
|
provider: GameServerProviderType.SHOCKBYTE,
|
|
plans,
|
|
baseCost: r69.min.apply(r69, [...plans.map($mk87662())]),
|
|
gameId: "1"
|
|
};
|
|
const r87 = Math;
|
|
const r86 = {
|
|
id: "4",
|
|
name: "GameServer Test #4",
|
|
provider: GameServerProviderType.SHOCKBYTE,
|
|
plans,
|
|
baseCost: r87.min.apply(r87, [...plans.map($mk87662())]),
|
|
gameId: "1"
|
|
};
|
|
const r105 = Math;
|
|
const r104 = {
|
|
id: "5",
|
|
name: "GameServer Test #5",
|
|
provider: GameServerProviderType.SHOCKBYTE,
|
|
plans,
|
|
baseCost: r105.min.apply(r105, [...plans.map($mk87662())]),
|
|
gameId: "1"
|
|
};
|
|
const r123 = Math;
|
|
const r122 = {
|
|
id: "6",
|
|
name: "GameServer Test #6",
|
|
provider: GameServerProviderType.SHOCKBYTE,
|
|
plans,
|
|
baseCost: r123.min.apply(r123, [...plans.map($mk87662())]),
|
|
gameId: "1"
|
|
};
|
|
const r141 = Math;
|
|
const r140 = {
|
|
id: "7",
|
|
name: "GameServer Test #7",
|
|
provider: GameServerProviderType.SHOCKBYTE,
|
|
plans,
|
|
baseCost: r141.min.apply(r141, [...plans.map($mk87662())]),
|
|
gameId: "1"
|
|
};
|
|
const r159 = Math;
|
|
const r158 = {
|
|
id: "8",
|
|
name: "GameServer Test #8",
|
|
provider: GameServerProviderType.SHOCKBYTE,
|
|
plans,
|
|
baseCost: r159.min.apply(r159, [...plans.map($mk87662())]),
|
|
gameId: "1"
|
|
};
|
|
const r177 = Math;
|
|
const r176 = {
|
|
id: "9",
|
|
name: "GameServer Test #9",
|
|
provider: GameServerProviderType.SHOCKBYTE,
|
|
plans,
|
|
baseCost: r177.min.apply(r177, [...plans.map($mk87662())]),
|
|
gameId: "1"
|
|
};
|
|
const r195 = Math;
|
|
const r194 = {
|
|
id: "10",
|
|
name: "GameServer Test #10",
|
|
provider: GameServerProviderType.SHOCKBYTE,
|
|
plans,
|
|
baseCost: r195.min.apply(r195, [...plans.map($mk87662())]),
|
|
gameId: "1"
|
|
};
|
|
const r213 = Math;
|
|
const r212 = {
|
|
id: "11",
|
|
name: "GameServer Test #11",
|
|
provider: GameServerProviderType.SHOCKBYTE,
|
|
plans,
|
|
baseCost: r213.min.apply(r213, [...plans.map($mk87662())]),
|
|
gameId: "1"
|
|
};
|
|
const r231 = Math;
|
|
const r46 = [r38, r51, r68, r86, r104, r122, r140, r158, r176, r194, r212, {
|
|
id: "12",
|
|
name: "GameServer Test #12",
|
|
provider: GameServerProviderType.SHOCKBYTE,
|
|
plans,
|
|
baseCost: r231.min.apply(r231, [...plans.map($mk87662())]),
|
|
gameId: "1"
|
|
}];
|
|
const r252 = [{
|
|
id: "1",
|
|
gameId: "1",
|
|
name: "GameServer Test #1",
|
|
port: "25565",
|
|
regionId: "us-east",
|
|
regionName: "US East",
|
|
planId: plans[1].id,
|
|
planName: plans[1].name,
|
|
onlineConnectionsCount: 0,
|
|
maxConnectionsCount: 10,
|
|
status: GameServerStatus.ONLINE,
|
|
serverIP: "127.0.0.1",
|
|
gameServerPanelUrl: "https://google.com",
|
|
entitlementId: "1"
|
|
}, {
|
|
id: "2",
|
|
gameId: "2",
|
|
name: "GameServer Test #2",
|
|
port: "25565",
|
|
regionId: "us-east",
|
|
regionName: "US East",
|
|
planId: plans[1].id,
|
|
planName: plans[1].name,
|
|
onlineConnectionsCount: 0,
|
|
maxConnectionsCount: 10,
|
|
status: GameServerStatus.ONLINE,
|
|
serverIP: "127.0.0.1",
|
|
gameServerPanelUrl: "https://google.com",
|
|
entitlementId: "2"
|
|
}, {
|
|
id: "3",
|
|
gameId: "3",
|
|
name: "GameServer Test #3",
|
|
port: "25565",
|
|
regionId: "us-east",
|
|
regionName: "US East",
|
|
planId: plans[1].id,
|
|
planName: plans[1].name,
|
|
onlineConnectionsCount: 0,
|
|
maxConnectionsCount: 10,
|
|
status: GameServerStatus.ONLINE,
|
|
serverIP: "127.0.0.1",
|
|
gameServerPanelUrl: "https://google.com",
|
|
entitlementId: "3"
|
|
}, {
|
|
id: "4",
|
|
gameId: "4",
|
|
name: "GameServer Test #4",
|
|
port: "25565",
|
|
regionId: "us-east",
|
|
regionName: "US East",
|
|
planId: plans[1].id,
|
|
planName: plans[1].name,
|
|
onlineConnectionsCount: 0,
|
|
maxConnectionsCount: 10,
|
|
status: GameServerStatus.ONLINE,
|
|
serverIP: "127.0.0.1",
|
|
gameServerPanelUrl: "https://google.com",
|
|
entitlementId: "4"
|
|
}, {
|
|
id: "5",
|
|
gameId: "5",
|
|
name: "GameServer Test #5",
|
|
port: "25565",
|
|
regionId: "us-east",
|
|
regionName: "US East",
|
|
planId: plans[1].id,
|
|
planName: plans[1].name,
|
|
onlineConnectionsCount: 0,
|
|
maxConnectionsCount: 10,
|
|
status: GameServerStatus.ONLINE,
|
|
serverIP: "127.0.0.1",
|
|
gameServerPanelUrl: "https://google.com",
|
|
entitlementId: "5"
|
|
}, {
|
|
id: "6",
|
|
gameId: "6",
|
|
name: "GameServer Test #6",
|
|
port: "25565",
|
|
regionId: "us-east",
|
|
regionName: "US East",
|
|
planId: plans[1].id,
|
|
planName: plans[1].name,
|
|
onlineConnectionsCount: 0,
|
|
maxConnectionsCount: 10,
|
|
status: GameServerStatus.ONLINE,
|
|
serverIP: "127.0.0.1",
|
|
gameServerPanelUrl: "https://google.com",
|
|
entitlementId: "6"
|
|
}];
|
|
export { r46 as GAME_SERVER_GAME_MOCKS };
|
|
export { r252 as GAME_SERVER_INSTANCE_MOCKS };
|