7 lines
439 B
TypeScript
7 lines
439 B
TypeScript
declare const cc: any;
|
|
declare const Global: { roomType: number };
|
|
type DownloadError = { status: number, errorMessage: string } | null;
|
|
type DownloadCallback = (error: DownloadError, json?: string) => void;
|
|
type CCSettingsAssets = { [key: string]: [url: string, type: string] };
|
|
type CCSettingsPackedAssets = { [key: string]: string[] };
|
|
type CCSettings = { rawAssets: { assets: CCSettingsAssets }, packedAssets: CCSettingsPackedAssets }; |