decord/source/modules/guild_rooms/GuildRoomConstants.tsx

329 lines
14 KiB
TypeScript
Raw Normal View History

2026-07-30 10:14:41 +00:00
// Module ID: 16192
// Function ID: 16193
2026-07-24 07:16:23 +00:00
// Name: getName
2026-07-30 10:14:41 +00:00
// Dependencies: [16193, 1236, 2157, 16194, 16195, 2]
2026-07-20 16:05:17 +00:00
// Exports: getSeatName
2026-07-30 10:14:41 +00:00
// Module 16192 (getName)
2026-07-29 08:29:29 +00:00
import { ytIYuY as IE3e0y } from "messagesProxy";
import { ytIYuY as IE3e0y } from "messagesProxy";
import { ytIYuY as IE3e0y } from "messagesProxy";
import { p7JgFM as IE3e0y } from "messagesProxy";
import { YpJ7QS } from "messagesProxy";
import { p7JgFM as IE3e0y } from "messagesProxy";
import { wxkoLF as YpJ7QS } from "messagesProxy";
import { p7JgFM as IE3e0y } from "messagesProxy";
import { Qt29nt as YpJ7QS } from "messagesProxy";
import { wjBOG8 as IE3e0y } from "messagesProxy";
import { lQKxC5 as YpJ7QS } from "messagesProxy";
import { wjBOG8 as IE3e0y } from "messagesProxy";
import { WMBV4i as YpJ7QS } from "messagesProxy";
import { wjBOG8 as IE3e0y } from "messagesProxy";
import { "\"yG+xS0\"" as YpJ7QS } from "messagesProxy";
import { wjBOG8 as IE3e0y } from "messagesProxy";
import { "\"5ZigwU\"" as YpJ7QS } from "messagesProxy";
import { wjBOG8 as IE3e0y } from "messagesProxy";
import { iVfA9i as YpJ7QS } from "messagesProxy";
import { "\"C+LGlh\"" as IE3e0y } from "messagesProxy";
import { "\"C+LGlh\"" as IE3e0y } from "messagesProxy";
import { "\"C+LGlh\"" as IE3e0y } from "messagesProxy";
import { "\"C+LGlh\"" as IE3e0y } from "messagesProxy";
import { Qt29nt as YpJ7QS } from "messagesProxy";
import { lkzfot as IE3e0y } from "messagesProxy";
import { lkzfot as IE3e0y } from "messagesProxy";
import { lkzfot as IE3e0y } from "messagesProxy";
import { IE3e0y } from "messagesProxy";
import { IE3e0y } from "messagesProxy";
import { IE3e0y } from "messagesProxy";
let IE3e0y = arg1;
let YpJ7QS = importDefault;
2026-07-20 16:05:17 +00:00
let obj = {};
2026-07-29 08:29:29 +00:00
obj = { background: null, aspectRatio: 1.375514403292181, getName: null, seats: null, plants: null };
obj[0] = require("metadata");
obj[2] = function getName() {
const intl = IE3e0y(1236).intl;
return intl.string(v3(2157)["4KcB5R"]);
};
obj = { name: "PC_SEAT_1", getLabel: null, position: null };
YpJ7QS = 1;
obj[1] = () => {
const intl = IE3e0y(1236).intl;
const obj = { seatType: null, number: null };
const intl2 = IE3e0y(1236).intl;
obj[0] = intl2.string(IE3e0y);
obj[1] = v3;
return intl.formatToPlainString(v3(2157).crFI7e, obj);
2026-07-24 07:16:23 +00:00
};
2026-07-29 08:29:29 +00:00
obj[2] = require("GUILD_ROOM_BACKGROUND_POSITIONS").GUILD_ROOM_BACKGROUND_POSITIONS[require("GuildRoomBackgrounds").GuildRoomBackgrounds.DEFAULT][0];
2026-07-20 16:05:17 +00:00
const items = [obj, , , , , , , , , , , , , , , , , , , , ];
2026-07-29 08:29:29 +00:00
const obj1 = { name: "PC_SEAT_2", getLabel: null, position: null };
YpJ7QS = 2;
obj1[1] = () => {
const intl = IE3e0y(1236).intl;
const obj = { seatType: null, number: null };
const intl2 = IE3e0y(1236).intl;
obj[0] = intl2.string(IE3e0y);
obj[1] = v3;
return intl.formatToPlainString(v3(2157).crFI7e, obj);
};
obj1[2] = require("GUILD_ROOM_BACKGROUND_POSITIONS").GUILD_ROOM_BACKGROUND_POSITIONS[require("GuildRoomBackgrounds").GuildRoomBackgrounds.DEFAULT][1];
2026-07-20 16:05:17 +00:00
items[1] = obj1;
2026-07-29 08:29:29 +00:00
const obj2 = { name: "PC_SEAT_3", getLabel: null, position: null };
YpJ7QS = 3;
obj2[1] = () => {
const intl = IE3e0y(1236).intl;
const obj = { seatType: null, number: null };
const intl2 = IE3e0y(1236).intl;
obj[0] = intl2.string(IE3e0y);
obj[1] = v3;
return intl.formatToPlainString(v3(2157).crFI7e, obj);
};
obj2[2] = require("GUILD_ROOM_BACKGROUND_POSITIONS").GUILD_ROOM_BACKGROUND_POSITIONS[require("GuildRoomBackgrounds").GuildRoomBackgrounds.DEFAULT][2];
2026-07-20 16:05:17 +00:00
items[2] = obj2;
2026-07-29 08:29:29 +00:00
const obj3 = { name: "DUO_SEAT_1", getLabel: null, position: null };
obj3[1] = () => {
const intl = IE3e0y(1236).intl;
const obj = { seatType: null, position: null };
const intl2 = IE3e0y(1236).intl;
obj[0] = intl2.string(IE3e0y);
const intl3 = IE3e0y(1236).intl;
obj[1] = intl3.string(v3);
return intl.formatToPlainString(v3(2157).LFdLjz, obj);
};
obj3[2] = require("GUILD_ROOM_BACKGROUND_POSITIONS").GUILD_ROOM_BACKGROUND_POSITIONS[require("GuildRoomBackgrounds").GuildRoomBackgrounds.DEFAULT][3];
2026-07-20 16:05:17 +00:00
items[3] = obj3;
2026-07-29 08:29:29 +00:00
const obj4 = { name: "DUO_SEAT_2", getLabel: null, position: null };
obj4[1] = () => {
const intl = IE3e0y(1236).intl;
const obj = { seatType: null, position: null };
const intl2 = IE3e0y(1236).intl;
obj[0] = intl2.string(IE3e0y);
const intl3 = IE3e0y(1236).intl;
obj[1] = intl3.string(v3);
return intl.formatToPlainString(v3(2157).LFdLjz, obj);
};
obj4[2] = require("GUILD_ROOM_BACKGROUND_POSITIONS").GUILD_ROOM_BACKGROUND_POSITIONS[require("GuildRoomBackgrounds").GuildRoomBackgrounds.DEFAULT][4];
2026-07-20 16:05:17 +00:00
items[4] = obj4;
2026-07-29 08:29:29 +00:00
const obj5 = { name: "DUO_SEAT_STANDING_1", getLabel: null, position: null };
obj5[1] = () => {
const intl = IE3e0y(1236).intl;
const obj = { seatType: null, position: null };
const intl2 = IE3e0y(1236).intl;
obj[0] = intl2.string(IE3e0y);
const intl3 = IE3e0y(1236).intl;
obj[1] = intl3.string(v3);
return intl.formatToPlainString(v3(2157).LFdLjz, obj);
};
obj5[2] = require("GUILD_ROOM_BACKGROUND_POSITIONS").GUILD_ROOM_BACKGROUND_POSITIONS[require("GuildRoomBackgrounds").GuildRoomBackgrounds.DEFAULT][5];
2026-07-20 16:05:17 +00:00
items[5] = obj5;
2026-07-29 08:29:29 +00:00
const obj6 = { name: "MAIN_COUCH_SEAT_1", getLabel: null, position: null };
obj6[1] = () => {
const intl = IE3e0y(1236).intl;
const obj = { seatType: null, position: null };
const intl2 = IE3e0y(1236).intl;
obj[0] = intl2.string(IE3e0y);
const intl3 = IE3e0y(1236).intl;
obj[1] = intl3.string(v3);
return intl.formatToPlainString(v3(2157).LFdLjz, obj);
};
obj6[2] = require("GUILD_ROOM_BACKGROUND_POSITIONS").GUILD_ROOM_BACKGROUND_POSITIONS[require("GuildRoomBackgrounds").GuildRoomBackgrounds.DEFAULT][6];
2026-07-20 16:05:17 +00:00
items[6] = obj6;
2026-07-29 08:29:29 +00:00
const obj7 = { name: "MAIN_COUCH_SEAT_2", getLabel: null, position: null };
obj7[1] = () => {
const intl = IE3e0y(1236).intl;
const obj = { seatType: null, position: null };
const intl2 = IE3e0y(1236).intl;
obj[0] = intl2.string(IE3e0y);
const intl3 = IE3e0y(1236).intl;
obj[1] = intl3.string(v3);
return intl.formatToPlainString(v3(2157).LFdLjz, obj);
};
obj7[2] = require("GUILD_ROOM_BACKGROUND_POSITIONS").GUILD_ROOM_BACKGROUND_POSITIONS[require("GuildRoomBackgrounds").GuildRoomBackgrounds.DEFAULT][7];
2026-07-20 16:05:17 +00:00
items[7] = obj7;
2026-07-29 08:29:29 +00:00
const obj8 = { name: "MAIN_COUCH_SEAT_3", getLabel: null, position: null };
obj8[1] = () => {
const intl = IE3e0y(1236).intl;
const obj = { seatType: null, position: null };
const intl2 = IE3e0y(1236).intl;
obj[0] = intl2.string(IE3e0y);
const intl3 = IE3e0y(1236).intl;
obj[1] = intl3.string(v3);
return intl.formatToPlainString(v3(2157).LFdLjz, obj);
};
obj8[2] = require("GUILD_ROOM_BACKGROUND_POSITIONS").GUILD_ROOM_BACKGROUND_POSITIONS[require("GuildRoomBackgrounds").GuildRoomBackgrounds.DEFAULT][8];
2026-07-20 16:05:17 +00:00
items[8] = obj8;
2026-07-29 08:29:29 +00:00
const obj9 = { name: "MAIN_COUCH_SEAT_4", getLabel: null, position: null };
obj9[1] = () => {
const intl = IE3e0y(1236).intl;
const obj = { seatType: null, position: null };
const intl2 = IE3e0y(1236).intl;
obj[0] = intl2.string(IE3e0y);
const intl3 = IE3e0y(1236).intl;
obj[1] = intl3.string(v3);
return intl.formatToPlainString(v3(2157).LFdLjz, obj);
};
obj9[2] = require("GUILD_ROOM_BACKGROUND_POSITIONS").GUILD_ROOM_BACKGROUND_POSITIONS[require("GuildRoomBackgrounds").GuildRoomBackgrounds.DEFAULT][9];
2026-07-20 16:05:17 +00:00
items[9] = obj9;
2026-07-29 08:29:29 +00:00
const obj10 = { name: "MAIN_COUCH_SEAT_5", getLabel: null, position: null };
obj10[1] = () => {
const intl = IE3e0y(1236).intl;
const obj = { seatType: null, position: null };
const intl2 = IE3e0y(1236).intl;
obj[0] = intl2.string(IE3e0y);
const intl3 = IE3e0y(1236).intl;
obj[1] = intl3.string(v3);
return intl.formatToPlainString(v3(2157).LFdLjz, obj);
};
obj10[2] = require("GUILD_ROOM_BACKGROUND_POSITIONS").GUILD_ROOM_BACKGROUND_POSITIONS[require("GuildRoomBackgrounds").GuildRoomBackgrounds.DEFAULT][10];
2026-07-20 16:05:17 +00:00
items[10] = obj10;
2026-07-29 08:29:29 +00:00
const obj11 = { name: "SIDE_GROUP_SEAT_1", getLabel: null, position: null };
YpJ7QS = 1;
obj11[1] = () => {
const intl = IE3e0y(1236).intl;
const obj = { seatType: null, number: null };
const intl2 = IE3e0y(1236).intl;
obj[0] = intl2.string(IE3e0y);
obj[1] = v3;
return intl.formatToPlainString(v3(2157).crFI7e, obj);
};
obj11[2] = require("GUILD_ROOM_BACKGROUND_POSITIONS").GUILD_ROOM_BACKGROUND_POSITIONS[require("GuildRoomBackgrounds").GuildRoomBackgrounds.DEFAULT][11];
2026-07-20 16:05:17 +00:00
items[11] = obj11;
2026-07-29 08:29:29 +00:00
const obj12 = { name: "SIDE_GROUP_SEAT_2", getLabel: null, position: null };
YpJ7QS = 2;
obj12[1] = () => {
const intl = IE3e0y(1236).intl;
const obj = { seatType: null, number: null };
const intl2 = IE3e0y(1236).intl;
obj[0] = intl2.string(IE3e0y);
obj[1] = v3;
return intl.formatToPlainString(v3(2157).crFI7e, obj);
};
obj12[2] = require("GUILD_ROOM_BACKGROUND_POSITIONS").GUILD_ROOM_BACKGROUND_POSITIONS[require("GuildRoomBackgrounds").GuildRoomBackgrounds.DEFAULT][12];
2026-07-20 16:05:17 +00:00
items[12] = obj12;
2026-07-29 08:29:29 +00:00
const obj13 = { name: "SIDE_GROUP_SEAT_3", getLabel: null, position: null };
YpJ7QS = 3;
obj13[1] = () => {
const intl = IE3e0y(1236).intl;
const obj = { seatType: null, number: null };
const intl2 = IE3e0y(1236).intl;
obj[0] = intl2.string(IE3e0y);
obj[1] = v3;
return intl.formatToPlainString(v3(2157).crFI7e, obj);
};
obj13[2] = require("GUILD_ROOM_BACKGROUND_POSITIONS").GUILD_ROOM_BACKGROUND_POSITIONS[require("GuildRoomBackgrounds").GuildRoomBackgrounds.DEFAULT][13];
2026-07-20 16:05:17 +00:00
items[13] = obj13;
2026-07-29 08:29:29 +00:00
const obj14 = { name: "SIDE_GROUP_SEAT_STANDING_1", getLabel: null, position: null };
obj14[1] = () => {
const intl = IE3e0y(1236).intl;
const obj = { seatType: null, position: null };
const intl2 = IE3e0y(1236).intl;
obj[0] = intl2.string(IE3e0y);
const intl3 = IE3e0y(1236).intl;
obj[1] = intl3.string(v3);
return intl.formatToPlainString(v3(2157).LFdLjz, obj);
};
obj14[2] = require("GUILD_ROOM_BACKGROUND_POSITIONS").GUILD_ROOM_BACKGROUND_POSITIONS[require("GuildRoomBackgrounds").GuildRoomBackgrounds.DEFAULT][14];
2026-07-20 16:05:17 +00:00
items[14] = obj14;
2026-07-29 08:29:29 +00:00
const obj15 = { name: "BACKROOM_SEAT_1", getLabel: null, position: null, dim: true };
YpJ7QS = 1;
obj15[1] = () => {
const intl = IE3e0y(1236).intl;
const obj = { seatType: null, number: null };
const intl2 = IE3e0y(1236).intl;
obj[0] = intl2.string(IE3e0y);
obj[1] = v3;
return intl.formatToPlainString(v3(2157).crFI7e, obj);
};
obj15[2] = require("GUILD_ROOM_BACKGROUND_POSITIONS").GUILD_ROOM_BACKGROUND_POSITIONS[require("GuildRoomBackgrounds").GuildRoomBackgrounds.DEFAULT][15];
2026-07-20 16:05:17 +00:00
items[15] = obj15;
2026-07-29 08:29:29 +00:00
const obj16 = { name: "BACKROOM_SEAT_2", getLabel: null, position: null, dim: true };
YpJ7QS = 2;
obj16[1] = () => {
const intl = IE3e0y(1236).intl;
const obj = { seatType: null, number: null };
const intl2 = IE3e0y(1236).intl;
obj[0] = intl2.string(IE3e0y);
obj[1] = v3;
return intl.formatToPlainString(v3(2157).crFI7e, obj);
};
obj16[2] = require("GUILD_ROOM_BACKGROUND_POSITIONS").GUILD_ROOM_BACKGROUND_POSITIONS[require("GuildRoomBackgrounds").GuildRoomBackgrounds.DEFAULT][16];
2026-07-20 16:05:17 +00:00
items[16] = obj16;
2026-07-29 08:29:29 +00:00
const obj17 = { name: "BACKROOM_SEAT_3", getLabel: null, position: null, dim: true };
YpJ7QS = 3;
obj17[1] = () => {
const intl = IE3e0y(1236).intl;
const obj = { seatType: null, number: null };
const intl2 = IE3e0y(1236).intl;
obj[0] = intl2.string(IE3e0y);
obj[1] = v3;
return intl.formatToPlainString(v3(2157).crFI7e, obj);
};
obj17[2] = require("GUILD_ROOM_BACKGROUND_POSITIONS").GUILD_ROOM_BACKGROUND_POSITIONS[require("GuildRoomBackgrounds").GuildRoomBackgrounds.DEFAULT][17];
2026-07-20 16:05:17 +00:00
items[17] = obj17;
2026-07-29 08:29:29 +00:00
const obj18 = { name: "RAFTERS_SEAT_1", getLabel: null, position: null };
YpJ7QS = 1;
obj18[1] = () => {
const intl = IE3e0y(1236).intl;
const obj = { seatType: null, number: null };
const intl2 = IE3e0y(1236).intl;
obj[0] = intl2.string(IE3e0y);
obj[1] = v3;
return intl.formatToPlainString(v3(2157).crFI7e, obj);
};
obj18[2] = require("GUILD_ROOM_BACKGROUND_POSITIONS").GUILD_ROOM_BACKGROUND_POSITIONS[require("GuildRoomBackgrounds").GuildRoomBackgrounds.DEFAULT][18];
2026-07-20 16:05:17 +00:00
items[18] = obj18;
2026-07-29 08:29:29 +00:00
const obj19 = { name: "RAFTERS_SEAT_2", getLabel: null, position: null };
YpJ7QS = 2;
obj19[1] = () => {
const intl = IE3e0y(1236).intl;
const obj = { seatType: null, number: null };
const intl2 = IE3e0y(1236).intl;
obj[0] = intl2.string(IE3e0y);
obj[1] = v3;
return intl.formatToPlainString(v3(2157).crFI7e, obj);
};
obj19[2] = require("GUILD_ROOM_BACKGROUND_POSITIONS").GUILD_ROOM_BACKGROUND_POSITIONS[require("GuildRoomBackgrounds").GuildRoomBackgrounds.DEFAULT][19];
2026-07-20 16:05:17 +00:00
items[19] = obj19;
2026-07-29 08:29:29 +00:00
const obj20 = { name: "RAFTERS_SEAT_3", getLabel: null, position: null };
YpJ7QS = 3;
obj20[1] = () => {
const intl = IE3e0y(1236).intl;
const obj = { seatType: null, number: null };
const intl2 = IE3e0y(1236).intl;
obj[0] = intl2.string(IE3e0y);
obj[1] = v3;
return intl.formatToPlainString(v3(2157).crFI7e, obj);
};
obj20[2] = require("GUILD_ROOM_BACKGROUND_POSITIONS").GUILD_ROOM_BACKGROUND_POSITIONS[require("GuildRoomBackgrounds").GuildRoomBackgrounds.DEFAULT][20];
2026-07-20 16:05:17 +00:00
items[20] = obj20;
2026-07-29 08:29:29 +00:00
obj[3] = items;
2026-07-23 10:11:24 +00:00
const items1 = [{ x: 45.57, y: 50.62 }];
2026-07-29 08:29:29 +00:00
obj[4] = items1;
2026-07-23 10:11:24 +00:00
obj[require("GuildRoomBackgrounds").GuildRoomBackgrounds.DEFAULT] = obj;
2026-07-29 08:29:29 +00:00
const result = require("messagesProxy").fileFinishedImporting("modules/guild_rooms/GuildRoomConstants.tsx");
2026-07-20 16:05:17 +00:00
export const GUILD_ROOM_SPATIAL_AUDIO_MODE = "guild-room";
2026-07-23 10:11:24 +00:00
export const DEFAULT_BACKGROUND_POSITION = { imageOffsetX: 0, imageOffsetY: 0, imageWidth: 0, imageHeight: 0 };
2026-07-20 16:05:17 +00:00
export const getSeatName = function getSeatName(arg0, arg1) {
2026-07-29 08:29:29 +00:00
const IE3e0y = arg0;
2026-07-24 07:16:23 +00:00
let closure_1 = arg1;
2026-07-30 10:14:41 +00:00
const seats = obj[IE3e0y(undefined, 16193).GuildRoomBackgrounds.DEFAULT].seats;
2026-07-20 16:05:17 +00:00
const found = seats.find((position) => {
2026-07-23 10:11:24 +00:00
let tmp = position.position.x === closure_0;
2026-07-20 16:05:17 +00:00
if (tmp) {
2026-07-23 10:11:24 +00:00
tmp = position.position.y === closure_1;
2026-07-20 16:05:17 +00:00
}
return tmp;
});
2026-07-29 08:29:29 +00:00
let str;
if (found != null) {
str = found.name;
2026-07-20 16:05:17 +00:00
}
2026-07-29 08:29:29 +00:00
if (str == null) {
str = "";
2026-07-20 16:05:17 +00:00
}
return str;
};
export const GUILD_ROOM_BACKGROUND_CONFIG = obj;