2022-10-06 23:29:01 -04:00
|
|
|
import { ISeasonalEvent, ISeasonalEventConfig } from "../models/spt/config/ISeasonalEventConfig";
|
|
|
|
import { ConfigServer } from "../servers/ConfigServer";
|
2022-07-09 16:03:26 -04:00
|
|
|
import { DatabaseServer } from "../servers/DatabaseServer";
|
|
|
|
export declare class GameEventHelper {
|
|
|
|
protected databaseServer: DatabaseServer;
|
2022-10-06 23:29:01 -04:00
|
|
|
protected configServer: ConfigServer;
|
|
|
|
protected seasonalEventConfig: ISeasonalEventConfig;
|
|
|
|
constructor(databaseServer: DatabaseServer, configServer: ConfigServer);
|
|
|
|
get events(): Record<string, string>;
|
2022-07-09 16:03:26 -04:00
|
|
|
get christmasEventItems(): string[];
|
|
|
|
itemIsChristmasRelated(itemId: string): boolean;
|
|
|
|
christmasEventEnabled(): boolean;
|
2022-10-06 23:29:01 -04:00
|
|
|
/**
|
|
|
|
* Get the dates each seasonal event starts and ends
|
|
|
|
* @returns Record with event name + start/end date
|
|
|
|
*/
|
|
|
|
getEventDetails(): ISeasonalEvent[];
|
2022-07-09 16:03:26 -04:00
|
|
|
}
|