15 lines
565 B
TypeScript
15 lines
565 B
TypeScript
|
|
import { ConnectSettings } from '../types';
|
||
|
|
type AssetCollection = {
|
||
|
|
[key: string]: Record<string, any>;
|
||
|
|
};
|
||
|
|
export declare class DataManager {
|
||
|
|
static assets: AssetCollection;
|
||
|
|
private static settings;
|
||
|
|
private static messages;
|
||
|
|
static load(settings: ConnectSettings, withAssets?: boolean): void;
|
||
|
|
static getProtobufMessages(): Record<string, any>;
|
||
|
|
static getSettings(key?: undefined): ConnectSettings;
|
||
|
|
static getSettings<T extends keyof ConnectSettings>(key: T): ConnectSettings[T];
|
||
|
|
}
|
||
|
|
export {};
|
||
|
|
//# sourceMappingURL=DataManager.d.ts.map
|