Expose room, user and furni metadata for wired tools

- parse extra room snapshot data such as hotel time, room item limit and group context

- expose richer furni metadata including flags, dimensions and teleport targets

- expose richer user metadata including room-entry fields and ids needed by inspection tools

- keep session and room engine models aligned with the new wired monitor/inspection flow
This commit is contained in:
Lorenzune
2026-03-27 09:37:14 +01:00
parent 0b834e3b93
commit 99c4acea38
21 changed files with 386 additions and 22 deletions
+55
View File
@@ -17,6 +17,11 @@ export class RoomSession implements IRoomSession
private _allowPets: boolean = false;
private _controllerLevel: number = RoomControllerLevel.NONE;
private _ownRoomIndex: number = -1;
private _groupId: number = 0;
private _hotelTimeZone: string = 'UTC';
private _hotelTimeSnapshotMs: number = 0;
private _hotelTimeSyncMs: number = 0;
private _roomItemLimit: number = 0;
private _isGuildRoom: boolean = false;
private _isRoomOwner: boolean = false;
private _isDecorating: boolean = false;
@@ -398,6 +403,56 @@ export class RoomSession implements IRoomSession
return this._ownRoomIndex;
}
public get groupId(): number
{
return this._groupId;
}
public set groupId(groupId: number)
{
this._groupId = groupId;
}
public get hotelTimeZone(): string
{
return this._hotelTimeZone;
}
public set hotelTimeZone(timeZone: string)
{
this._hotelTimeZone = (timeZone || 'UTC');
}
public get hotelTimeSnapshotMs(): number
{
return this._hotelTimeSnapshotMs;
}
public set hotelTimeSnapshotMs(value: number)
{
this._hotelTimeSnapshotMs = value;
}
public get hotelTimeSyncMs(): number
{
return this._hotelTimeSyncMs;
}
public set hotelTimeSyncMs(value: number)
{
this._hotelTimeSyncMs = value;
}
public get roomItemLimit(): number
{
return this._roomItemLimit;
}
public set roomItemLimit(value: number)
{
this._roomItemLimit = value;
}
public get isGuildRoom(): boolean
{
return this._isGuildRoom;