2024-02-23 15:06:00 -07:00
|
|
|
import { BundleLoader } from "@spt-aki/loaders/BundleLoader";
|
|
|
|
import { IHttpConfig } from "@spt-aki/models/spt/config/IHttpConfig";
|
|
|
|
import { ConfigServer } from "@spt-aki/servers/ConfigServer";
|
|
|
|
import { HttpResponseUtil } from "@spt-aki/utils/HttpResponseUtil";
|
2023-08-17 19:49:16 -06:00
|
|
|
export declare class BundleCallbacks {
|
|
|
|
protected httpResponse: HttpResponseUtil;
|
|
|
|
protected bundleLoader: BundleLoader;
|
|
|
|
protected configServer: ConfigServer;
|
|
|
|
protected httpConfig: IHttpConfig;
|
2024-04-19 21:23:52 -06:00
|
|
|
constructor(httpResponse: HttpResponseUtil, bundleLoader: BundleLoader, configServer: ConfigServer);
|
2023-08-17 19:49:16 -06:00
|
|
|
/**
|
|
|
|
* Handle singleplayer/bundles
|
|
|
|
*/
|
|
|
|
getBundles(url: string, info: any, sessionID: string): string;
|
|
|
|
getBundle(url: string, info: any, sessionID: string): string;
|
|
|
|
}
|