Skip to main content

Module: Default/DataLoader/Broswer/DivineVoxelEngineDataClient

Variables

DVEDBrowser

Const DVEDBrowser: Object

Type declaration

NameType
$INIT() => Promise<void>
deleteWorldDataBase(dbName: string) => Promise<void>
getWorldDataBase(dbName: string, dimension: string) => Promise<{ column: { _getKey: (key: string, type: DVEDDataTypes) => string ; get: (key: string, type: DVEDDataTypes) => Promise<false | ArrayBuffer> ; set: (key: string, type: DVEDDataTypes, data: ArrayBuffer) => Promise<void> } ; columnTimestamp: { _getKey: (key: string, type: DVEDDataTypes) => string ; get: (key: string, type: DVEDDataTypes) => Promise<number | false> ; set: (key: string, type: DVEDDataTypes, timeStamp: number) => Promise<void> } ; database: DataBase ; dimension: string = ""; regionHeader: { _getKey: (key: string, type: DVEDDataTypes) => string ; get: (key: string, type: DVEDDataTypes) => Promise<false | ArrayBuffer> ; set: (key: string, type: DVEDDataTypes, data: ArrayBuffer) => Promise<void> } ; typeStores: Record<DVEDDataTypes, ObjectStore<any>> ; setDataBase: (database: DataBase) => void ; setDimension: (dimensionId: string) => Promise<void> }>

Defined in

divinevoxel/foundation/src/Default/DataLoader/Broswer/DivineVoxelEngineDataClient.ts:4