feat(session): live furnidata reload via mergeFurnitureDataFromUrl

Add SessionDataManager.mergeFurnitureDataFromUrl() + FurnitureDataLoader.mergeFromUrl()
to merge a single furnidata chunk (e.g. a custom tier) into the live floor/wall maps at
runtime, returning the added entries so callers can also refresh the RoomContentLoader.
Lets newly added furniture appear without a full client reload.
This commit is contained in:
medievalshell
2026-06-03 23:27:50 +02:00
committed by medievalshell
parent 6c07cf8677
commit e83468563d
3 changed files with 59 additions and 4 deletions
@@ -9,6 +9,7 @@ export interface ISessionDataManager
{
init(): Promise<void>;
getAllFurnitureData(): IFurnitureData[];
mergeFurnitureDataFromUrl(url: string): Promise<IFurnitureData[]>;
applyFurnitureDataOverrides(url: string): Promise<void>;
clearFurnitureDataOverrides(): void;
getFloorItemData(id: number): IFurnitureData;