280 lines
6.8 KiB
TypeScript
280 lines
6.8 KiB
TypeScript
// Metro module 16198 (f16199).
|
|
import { GuildRoomBackgrounds } from "../../_bundle/Module16199";
|
|
import { intl } from "../../intl/index.native";
|
|
import GuildRooms_messages from "./GuildRooms.messages";
|
|
import Module16200 from "../../_bundle/Module16200";
|
|
import { GUILD_ROOM_BACKGROUND_POSITIONS } from "../../_bundle/Module16201";
|
|
function $mk98950($env) {
|
|
return () => {
|
|
const r6 = $env;
|
|
const r2 = $env.$parent;
|
|
const r8 = r2[0];
|
|
const r7 = r2[2];
|
|
return r8(r7[1]).intl.formatToPlainString((0, r2[1])(r7[2]).crFI7e, {
|
|
seatType: r8(r7[1]).intl.string(r6[0]),
|
|
number: r6[1]
|
|
});
|
|
};
|
|
}
|
|
function $mk98951($env) {
|
|
return () => {
|
|
const r5 = $env;
|
|
const r1 = $env.$parent;
|
|
const r7 = r1[0];
|
|
const r6 = r1[2];
|
|
return r7(r6[1]).intl.formatToPlainString((0, r1[1])(r6[2]).LFdLjz, {
|
|
seatType: r7(r6[1]).intl.string(r5[0]),
|
|
position: r7(r6[1]).intl.string(r5[1])
|
|
});
|
|
};
|
|
}
|
|
let c11616_1, c11617_1, c11618_1, c11624_1, c11625_1, c11627_0, c11627_1, c11628_0, c11628_1, c11629_0, c11629_1, c11630_0, c11631_1, c11632_1, c11633_1, c11634_1, c11635_1, c11636_1, c11615_3;
|
|
let env11615;
|
|
let env11616;
|
|
let env11617;
|
|
let env11618;
|
|
let env11619;
|
|
let env11620;
|
|
let env11621;
|
|
let env11622;
|
|
let env11623;
|
|
let env11624;
|
|
let env11625;
|
|
let env11626;
|
|
let env11627;
|
|
let env11628;
|
|
let env11629;
|
|
let env11630;
|
|
let env11631;
|
|
let env11632;
|
|
let env11633;
|
|
let env11634;
|
|
let env11635;
|
|
let env11636;
|
|
const r6 = env11615 = {};
|
|
const r19 = {};
|
|
const DEFAULT = GuildRoomBackgrounds.DEFAULT;
|
|
const r26 = {
|
|
background: Module16200,
|
|
aspectRatio: 1.375514403292181,
|
|
getName: () => intl.string(GuildRooms_messages["4KcB5R"]),
|
|
seats: null,
|
|
plants: null
|
|
};
|
|
const r30 = env11616 = {
|
|
$parent: r6
|
|
};
|
|
c11616_1 = 1;
|
|
const r12 = {
|
|
name: "PC_SEAT_1",
|
|
getLabel: $mk98950(r30),
|
|
position: GUILD_ROOM_BACKGROUND_POSITIONS[GuildRoomBackgrounds.DEFAULT][0]
|
|
};
|
|
const r44 = env11617 = {
|
|
$parent: r6
|
|
};
|
|
c11617_1 = 2;
|
|
const r46 = {
|
|
name: "PC_SEAT_2",
|
|
getLabel: $mk98950(r44),
|
|
position: GUILD_ROOM_BACKGROUND_POSITIONS[GuildRoomBackgrounds.DEFAULT][1]
|
|
};
|
|
const r59 = env11618 = {
|
|
$parent: r6
|
|
};
|
|
c11618_1 = 3;
|
|
const r61 = {
|
|
name: "PC_SEAT_3",
|
|
getLabel: $mk98950(r59),
|
|
position: GUILD_ROOM_BACKGROUND_POSITIONS[GuildRoomBackgrounds.DEFAULT][2]
|
|
};
|
|
const r76 = env11619 = {
|
|
$parent: r6
|
|
};
|
|
const r78 = {
|
|
name: "DUO_SEAT_1",
|
|
getLabel: $mk98951(r76),
|
|
position: GUILD_ROOM_BACKGROUND_POSITIONS[GuildRoomBackgrounds.DEFAULT][3]
|
|
};
|
|
const r94 = env11620 = {
|
|
$parent: r6
|
|
};
|
|
const r96 = {
|
|
name: "DUO_SEAT_2",
|
|
getLabel: $mk98951(r94),
|
|
position: GUILD_ROOM_BACKGROUND_POSITIONS[GuildRoomBackgrounds.DEFAULT][4]
|
|
};
|
|
const r112 = env11621 = {
|
|
$parent: r6
|
|
};
|
|
const r114 = {
|
|
name: "DUO_SEAT_STANDING_1",
|
|
getLabel: $mk98951(r112),
|
|
position: GUILD_ROOM_BACKGROUND_POSITIONS[GuildRoomBackgrounds.DEFAULT][5]
|
|
};
|
|
const r130 = env11622 = {
|
|
$parent: r6
|
|
};
|
|
const r132 = {
|
|
name: "MAIN_COUCH_SEAT_1",
|
|
getLabel: $mk98951(r130),
|
|
position: GUILD_ROOM_BACKGROUND_POSITIONS[GuildRoomBackgrounds.DEFAULT][6]
|
|
};
|
|
const r148 = env11623 = {
|
|
$parent: r6
|
|
};
|
|
const r150 = {
|
|
name: "MAIN_COUCH_SEAT_2",
|
|
getLabel: $mk98951(r148),
|
|
position: GUILD_ROOM_BACKGROUND_POSITIONS[GuildRoomBackgrounds.DEFAULT][7]
|
|
};
|
|
const r165 = GuildRooms_messages["yG+xS0"];
|
|
const r166 = env11624 = {
|
|
$parent: r6
|
|
};
|
|
c11624_1 = r165;
|
|
const r168 = {
|
|
name: "MAIN_COUCH_SEAT_3",
|
|
getLabel: $mk98951(r166),
|
|
position: GUILD_ROOM_BACKGROUND_POSITIONS[GuildRoomBackgrounds.DEFAULT][8]
|
|
};
|
|
const r183 = GuildRooms_messages["5ZigwU"];
|
|
const r184 = env11625 = {
|
|
$parent: r6
|
|
};
|
|
c11625_1 = r183;
|
|
const r186 = {
|
|
name: "MAIN_COUCH_SEAT_4",
|
|
getLabel: $mk98951(r184),
|
|
position: GUILD_ROOM_BACKGROUND_POSITIONS[GuildRoomBackgrounds.DEFAULT][9]
|
|
};
|
|
const r202 = env11626 = {
|
|
$parent: r6
|
|
};
|
|
const r204 = {
|
|
name: "MAIN_COUCH_SEAT_5",
|
|
getLabel: $mk98951(r202),
|
|
position: GUILD_ROOM_BACKGROUND_POSITIONS[GuildRoomBackgrounds.DEFAULT][10]
|
|
};
|
|
const r216 = GuildRooms_messages["C+LGlh"];
|
|
const r217 = env11627 = {
|
|
$parent: r6
|
|
};
|
|
c11627_0 = r216;
|
|
c11627_1 = 1;
|
|
const r219 = {
|
|
name: "SIDE_GROUP_SEAT_1",
|
|
getLabel: $mk98950(r217),
|
|
position: GUILD_ROOM_BACKGROUND_POSITIONS[GuildRoomBackgrounds.DEFAULT][11]
|
|
};
|
|
const r231 = GuildRooms_messages["C+LGlh"];
|
|
const r232 = env11628 = {
|
|
$parent: r6
|
|
};
|
|
c11628_0 = r231;
|
|
c11628_1 = 2;
|
|
const r234 = {
|
|
name: "SIDE_GROUP_SEAT_2",
|
|
getLabel: $mk98950(r232),
|
|
position: GUILD_ROOM_BACKGROUND_POSITIONS[GuildRoomBackgrounds.DEFAULT][12]
|
|
};
|
|
const r246 = GuildRooms_messages["C+LGlh"];
|
|
const r247 = env11629 = {
|
|
$parent: r6
|
|
};
|
|
c11629_0 = r246;
|
|
c11629_1 = 3;
|
|
const r249 = {
|
|
name: "SIDE_GROUP_SEAT_3",
|
|
getLabel: $mk98950(r247),
|
|
position: GUILD_ROOM_BACKGROUND_POSITIONS[GuildRoomBackgrounds.DEFAULT][13]
|
|
};
|
|
const r261 = GuildRooms_messages["C+LGlh"];
|
|
const r265 = env11630 = {
|
|
$parent: r6
|
|
};
|
|
c11630_0 = r261;
|
|
const r267 = {
|
|
name: "SIDE_GROUP_SEAT_STANDING_1",
|
|
getLabel: $mk98951(r265),
|
|
position: GUILD_ROOM_BACKGROUND_POSITIONS[GuildRoomBackgrounds.DEFAULT][14]
|
|
};
|
|
const r280 = env11631 = {
|
|
$parent: r6
|
|
};
|
|
c11631_1 = 1;
|
|
const r282 = {
|
|
name: "BACKROOM_SEAT_1",
|
|
getLabel: $mk98950(r280),
|
|
position: GUILD_ROOM_BACKGROUND_POSITIONS[GuildRoomBackgrounds.DEFAULT][15],
|
|
dim: true
|
|
};
|
|
const r295 = env11632 = {
|
|
$parent: r6
|
|
};
|
|
c11632_1 = 2;
|
|
const r297 = {
|
|
name: "BACKROOM_SEAT_2",
|
|
getLabel: $mk98950(r295),
|
|
position: GUILD_ROOM_BACKGROUND_POSITIONS[GuildRoomBackgrounds.DEFAULT][16],
|
|
dim: true
|
|
};
|
|
const r310 = env11633 = {
|
|
$parent: r6
|
|
};
|
|
c11633_1 = 3;
|
|
const r312 = {
|
|
name: "BACKROOM_SEAT_3",
|
|
getLabel: $mk98950(r310),
|
|
position: GUILD_ROOM_BACKGROUND_POSITIONS[GuildRoomBackgrounds.DEFAULT][17],
|
|
dim: true
|
|
};
|
|
const r325 = env11634 = {
|
|
$parent: r6
|
|
};
|
|
c11634_1 = 1;
|
|
const r327 = {
|
|
name: "RAFTERS_SEAT_1",
|
|
getLabel: $mk98950(r325),
|
|
position: GUILD_ROOM_BACKGROUND_POSITIONS[GuildRoomBackgrounds.DEFAULT][18]
|
|
};
|
|
const r340 = env11635 = {
|
|
$parent: r6
|
|
};
|
|
c11635_1 = 2;
|
|
const r342 = {
|
|
name: "RAFTERS_SEAT_2",
|
|
getLabel: $mk98950(r340),
|
|
position: GUILD_ROOM_BACKGROUND_POSITIONS[GuildRoomBackgrounds.DEFAULT][19]
|
|
};
|
|
const r355 = env11636 = {
|
|
$parent: r6
|
|
};
|
|
c11636_1 = 3;
|
|
r26.seats = [r12, r46, r61, r78, r96, r114, r132, r150, r168, r186, r204, r219, r234, r249, r267, r282, r297, r312, r327, r342, {
|
|
name: "RAFTERS_SEAT_3",
|
|
getLabel: $mk98950(r355),
|
|
position: GUILD_ROOM_BACKGROUND_POSITIONS[GuildRoomBackgrounds.DEFAULT][20]
|
|
}];
|
|
r26.plants = [{
|
|
x: 45.57,
|
|
y: 50.62
|
|
}];
|
|
r19[DEFAULT] = r26;
|
|
c11615_3 = r19;
|
|
export const GUILD_ROOM_SPATIAL_AUDIO_MODE = "guild-room";
|
|
export const DEFAULT_BACKGROUND_POSITION = {
|
|
imageOffsetX: 0,
|
|
imageOffsetY: 0,
|
|
imageWidth: 0,
|
|
imageHeight: 0
|
|
};
|
|
export function getSeatName(c22880_0, c22880_1) {
|
|
let r19 = c11615_3[GuildRoomBackgrounds.DEFAULT].seats.find((seat) => seat.position.x === c22880_0 && seat.position.y === c22880_1)?.name;
|
|
if (r19 == null) {
|
|
r19 = "";
|
|
}
|
|
return r19;
|
|
}
|
|
export { r19 as GUILD_ROOM_BACKGROUND_CONFIG };
|