Files
Nitro-V3/src/api/navigator/IRoomData.ts
T
simoleo89 a0d10caa79 feat(room-settings): add underpass walk-under-furniture checkbox
Add allowUnderpass toggle to room settings UI (Info tab), allowing room
owners to enable/disable walking under elevated furniture per room.

Changes:
- IRoomData: add allowUnderpass boolean field
- NavigatorRoomSettingsView: map allowUnderpass from server data, handle
  changes, and send via SaveRoomSettingsComposer
- NavigatorRoomSettingsBasicTabView: add checkbox below "Disabilita blocco caselle"

Requires server-side PR: duckietm/Arcturus-Morningstar-Extended#12
Note: nitro-renderer changes (RoomSettingsData, RoomSettingsDataParser,
SaveRoomSettingsComposer) must be applied separately in node_modules.

Co-Authored-By: medievalshell <medievalshell@users.noreply.github.com>
2026-03-17 13:42:36 +01:00

25 lines
641 B
TypeScript

import { IRoomChatSettings } from './IRoomChatSettings';
import { IRoomModerationSettings } from './IRoomModerationSettings';
export interface IRoomData
{
roomId: number;
roomName: string;
roomDescription: string;
categoryId: number;
userCount: number;
tags: string[];
tradeState: number;
allowWalkthrough: boolean;
allowUnderpass: boolean;
lockState: number;
password: string;
allowPets: boolean;
allowPetsEat: boolean;
hideWalls: boolean;
wallThickness: number;
floorThickness: number;
chatSettings: IRoomChatSettings;
moderationSettings: IRoomModerationSettings;
}