You've already forked Nitro_Render_V3
mirror of
https://github.com/duckietm/Nitro_Render_V3.git
synced 2026-06-20 07:26:18 +00:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user