decord/source/modules/game_server/hooks/useGameServerFeaturedGameNames.tsx
github-actions 67d978d9fb chore: update source for alpha 346.0
Skipped 1 file(s) >100MB (GitHub limit): source/__vendor/09xxx/9672_m.js (378.6 MB)
2026-09-07 16:44:02 +00:00

36 lines
981 B
TypeScript

// Module ID: 12581
// Function ID: 12582
// Name: useGameServerFeaturedGameNames
// Dependencies: [4451, 7309, 2]
// Exports: default
// Module 12581 (useGameServerFeaturedGameNames)
import set from "set" /* 2 */;
import importDefaultResult1 from "importDefaultResult1" /* 7309 */;
import str11 from "str11" /* 4451 */;
({ MINECRAFT_GAME_ID: obj1, HYTALE_GAME_ID: c3 } = str11);
const result = set.fileFinishedImporting("modules/game_server/hooks/useGameServerFeaturedGameNames.tsx");
export default function useGameServerFeaturedGameNames() {
let obj = importDefaultResult1;
const data = obj.useGame(closure_2).data;
const data2 = importDefaultResult1.useGame(closure_3).data;
let str;
if (data != null) {
str = data.name;
}
if (str == null) {
str = "Minecraft";
}
obj = { gameName: str, gameName2: null };
let str2;
if (data2 != null) {
str2 = data2.name;
}
if (str2 == null) {
str2 = "Hytale";
}
obj[1] = str2;
return obj;
};