- Properly decode object TextureEntry - Properly decode object ParticleSystem - Properly decode object ObjectData - Properly decode object TextColor - Properly decode Linden Tree species - Correct handling of ObjectUpdateCached (only request objects if we don't already have them) - Implement handling of ImprovedTerseObjectUpdate to complete support for R-Tree object searching - Object store interface: getObjectByUUID, getObjectByLocalID
13 lines
537 B
TypeScript
13 lines
537 B
TypeScript
import { IGameObject } from './IGameObject';
|
|
import { RBush3D } from 'rbush-3d/dist';
|
|
import { GameObjectFull } from '../GameObjectFull';
|
|
import { UUID } from '../UUID';
|
|
export interface IObjectStore {
|
|
rtree?: RBush3D;
|
|
getObjectsByParent(parentID: number): IGameObject[];
|
|
shutdown(): void;
|
|
getObjectsInArea(minX: number, maxX: number, minY: number, maxY: number, minZ: number, maxZ: number): GameObjectFull[];
|
|
getObjectByUUID(fullID: UUID): IGameObject;
|
|
getObjectByLocalID(ID: number): IGameObject;
|
|
}
|