Files
discord-decomp/modules/premium/game_server/GameServerConstants.tsx
T
2026-11-01 12:12:55 +02:00

75 lines
3.0 KiB
TypeScript

// Metro module 4078 (f4079).
import { Environments } from "../../user/UserStoreConstants";
import { GameServerProviderType } from "../../../_bundle/Module4079";
const r12 = {
SELECT_GAME: "select-game",
SERVER_SETTINGS: "server-settings"
};
const steps = {};
steps[r12.SELECT_GAME] = {
onBack: {
type: "close"
},
onNext: {
type: "go-to-step",
step: r12.SERVER_SETTINGS
}
};
steps[r12.SERVER_SETTINGS] = {
onBack: {
type: "go-to-step",
step: r12.SELECT_GAME
},
onNext: {
type: "save"
}
};
const r11 = {
steps
};
const r10 = window.GLOBAL_ENV.PROJECT_ENV !== "production" ? window.GLOBAL_ENV.PROJECT_ENV === "staging" ? "1415044199572832256" : "1415025086791942144" : "1425215263548117002";
const r43 = window.GLOBAL_ENV.PROJECT_ENV === "production" ? "1361763069696675961" : "1486428380437020672";
const r47 = window.GLOBAL_ENV.PROJECT_ENV !== "production" ? window.GLOBAL_ENV.PROJECT_ENV === "staging" ? "356875570916753438" : "1" : "1402418491272986635";
const r56 = window.GLOBAL_ENV.PROJECT_ENV !== "production" ? window.GLOBAL_ENV.PROJECT_ENV === "staging" ? "1458563423670501376" : "2" : "1458530944955973852";
export class NewGamesCoachmarkContent {
constructor() {
return {
__proto__: new.target.prototype
};
}
}
NewGamesCoachmarkContent.prototype;
NewGamesCoachmarkContent.FEATURED_PRODUCT_ID = window.GLOBAL_ENV.PROJECT_ENV === "production" ? "1497100850261131334" : "1497097140001046528";
NewGamesCoachmarkContent.FEATURED_GAME_ID = window.GLOBAL_ENV.PROJECT_ENV === "production" ? "1440133627899023452" : "1497095960202051584";
NewGamesCoachmarkContent.FEATURED_GAME_NAME = "Windrose";
NewGamesCoachmarkContent.SECOND_GAME_NAME = "Factorio";
NewGamesCoachmarkContent.THIRD_GAME_NAME = "V Rising";
const r74 = {
SHOCKBYTE: 0,
0: "SHOCKBYTE"
};
const SHOCKBYTE = GameServerProviderType.SHOCKBYTE;
const r84 = window.GLOBAL_ENV.RELEASE_CHANNEL === Environments.STAGING ? "https://purple-prod.shockbyte.dev/support" : "https://discord.shockbyte.com/support";
const r85 = {};
r85[SHOCKBYTE] = r84;
const r86 = {};
r86[GameServerProviderType.SHOCKBYTE] = "https://shockbyte.com/legal/acceptable-use-policy";
export { r12 as GameServerSetupStep };
export { r11 as GAME_SERVER_DEFAULT_STEP_CONFIG };
export const GAME_SERVER_SLIDE_PADDING = 24;
export const GAME_SERVER_SLIDE_WIDTH = 680;
export const GAME_SERVER_SLIDE_CONTENT_WIDTH = 632;
export const GAME_SERVER_MAX_INSTANCES = 10;
export const GAME_SERVER_MAX_SERVERS_PER_USER = 5;
export const GAME_SERVER_MAX_NAME_LENGTH = 32;
export const GAME_SERVER_MIN_DELAY_TIME_MS = 1000;
export { r10 as GAME_SERVER_COLLECTION_ID };
export { r43 as RUNESCAPE_GAME_ID };
export { r47 as MINECRAFT_GAME_ID };
export { r56 as HYTALE_GAME_ID };
export { r74 as GameServerGameProvider };
export { r85 as GAME_SERVER_SUPPORT_URLS };
export { r86 as GAME_SERVER_TOS };
export const GAME_SERVER_SURVEY_URL = (a0, a1) => `https://discord.sjc1.qualtrics.com/jfe/form/SV_2h34PnQLPTCjTTM?user_id=${a0}&guild_id=${a1}`;
export const GAME_SERVER_POWERUP_SKU_ID = "0";