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
Move to Renderer V2
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
import { Texture } from 'pixi.js';
|
||||
import { IGraphicAssetCollection } from '../../asset';
|
||||
import { IEventDispatcher } from '../../common';
|
||||
import { IRoomObject } from '../../room';
|
||||
import { IFurnitureData } from '../session';
|
||||
import { IPetColorResult } from './IPetColorResult';
|
||||
import { IRoomContentListener } from './IRoomContentListener';
|
||||
|
||||
export interface IRoomContentLoader
|
||||
{
|
||||
init(): Promise<void>;
|
||||
processFurnitureData(furnitureData: IFurnitureData[]): void;
|
||||
downloadAsset(type: string): Promise<void>;
|
||||
isLoaderType(type: string): boolean;
|
||||
getCollection(name: string): IGraphicAssetCollection;
|
||||
getPlaceholderName(type: string): string;
|
||||
getCategoryForType(type: string): number;
|
||||
setRoomObjectRoomId(object: IRoomObject, roomId: string): void;
|
||||
getFurnitureFloorNameForTypeId(typeId: number): string;
|
||||
getFurnitureWallNameForTypeId(typeId: number, extra?: string): string;
|
||||
getFurnitureFloorColorIndex(typeId: number): number;
|
||||
getFurnitureWallColorIndex(typeId: number): number;
|
||||
getImage(name: string): HTMLImageElement;
|
||||
getAssetIconUrl(type: string, colorIndex: string): string;
|
||||
addAssetToCollection(collectionName: string, assetName: string, texture: Texture, override?: boolean): boolean;
|
||||
getPetNameForType(type: number): string;
|
||||
downloadImage(id: number, type: string, param: string, events?: IEventDispatcher): boolean;
|
||||
getRoomObjectAdUrl(type: string): string;
|
||||
getPetColorResult(petIndex: number, paletteIndex: number): IPetColorResult;
|
||||
getPetColorResultsForTag(petIndex: number, tagName: string): IPetColorResult[];
|
||||
setIconListener(listener: IRoomContentListener): void;
|
||||
pets: { [index: string]: number };
|
||||
}
|
||||
Reference in New Issue
Block a user