Updated types

This commit is contained in:
Chomp 2024-12-24 18:57:23 +00:00
parent 83c9ad9424
commit 5d2f5c9b28
84 changed files with 392 additions and 392 deletions
TypeScript
10ScopesAndTypes/types/services
11BundleLoadingSample/types/services
12ClassExtensionOverride/types/services
13.1AddTraderWithAssortJSON/types/services
13AddTrader/types/services
14AfterDBLoadHook/types/services
15HttpListenerExample/types/services
16ImporterUtil/types/services
17AsyncImporterWithDependency1/types/services
17AsyncImporterWithDependency2/types/services
18.1CustomItemServiceLootBox/types/services
18CustomItemService/types/services
19UseExternalLibraries/types/services
1LogToConsole/types/services
20CustomChatBot/types/services
21CustomCommandoCommand/types/services
22CustomSptCommand/types/services
23CustomAbstractChatBot/types/services
24WebSocket/types/services
2EditDatabase/types/services
3GetSptConfigFile/types/services
4.1UseACustomJson5OrJsonCConfigFile/types/services
4UseACustomConfigFile/types/services
5ReplaceMethod/types/services
6ReferenceAnotherClass/types/services
7OnLoadHook/types/services
8OnUpdateHook/types/services
9RouterHooks/types/services

@ -62,14 +62,6 @@ export declare class InsuranceService {
* @returns Timestamp to return items to player in seconds
*/
protected getInsuranceReturnTimestamp(pmcData: IPmcData, trader: ITraderBase): number;
/**
* Take the insurance item packages within a profile session and ensure that each of the items in that package are
* not orphaned from their parent ID.
*
* @param sessionID The session ID to update insurance equipment packages in.
* @returns void
*/
protected adoptOrphanedInsEquipment(sessionID: string): void;
protected getMaxInsuranceStorageTime(traderBase: ITraderBase): number;
/**
* Store lost gear post-raid inside profile, ready for later code to pick it up and mail it
@ -127,10 +119,4 @@ export declare class InsuranceService {
* @returns price in roubles
*/
getRoublePriceToInsureItemWithTrader(pmcData: IPmcData, inventoryItem: IItem, traderId: string): number;
/**
* Returns the ID that should be used for a root-level Item's parentId property value within in the context of insurance.
* @param sessionID Players id
* @returns The root item Id.
*/
getRootItemParentID(sessionID: string): string;
}

@ -47,6 +47,12 @@ export declare class ProfileFixerService {
* @param pmcProfile profile to check and fix
*/
checkForAndFixPmcProfileIssues(pmcProfile: IPmcData): void;
/**
* Resolve any dialogue attachments that were accidentally created using the player's equipment ID as
* the stash root object ID
* @param fullProfile
*/
checkForAndFixDialogueAttachments(fullProfile: ISptProfile): void;
/**
* Find issues in the scav profile data that may cause issues
* @param scavProfile profile to check and fix

@ -37,6 +37,14 @@ export declare class SeasonalEventService {
constructor(logger: ILogger, databaseService: DatabaseService, databaseImporter: DatabaseImporter, giftService: GiftService, localisationService: LocalisationService, botHelper: BotHelper, profileHelper: ProfileHelper, configServer: ConfigServer);
protected get christmasEventItems(): string[];
protected get halloweenEventItems(): string[];
protected getActiveEvents(): ISeasonalEvent[];
/**
* Sets the currently active events
* @param activeEvents Array of active events
* @param halloweenEventActive Halloween event
* @param christmasEventActive Christmas event
*/
setActiveEvents(activeEvents: ISeasonalEvent[], halloweenEventActive: boolean, christmasEventActive: boolean): void;
/**
* Get an array of christmas items found in bots inventories as loot
* @returns array

@ -62,14 +62,6 @@ export declare class InsuranceService {
* @returns Timestamp to return items to player in seconds
*/
protected getInsuranceReturnTimestamp(pmcData: IPmcData, trader: ITraderBase): number;
/**
* Take the insurance item packages within a profile session and ensure that each of the items in that package are
* not orphaned from their parent ID.
*
* @param sessionID The session ID to update insurance equipment packages in.
* @returns void
*/
protected adoptOrphanedInsEquipment(sessionID: string): void;
protected getMaxInsuranceStorageTime(traderBase: ITraderBase): number;
/**
* Store lost gear post-raid inside profile, ready for later code to pick it up and mail it
@ -127,10 +119,4 @@ export declare class InsuranceService {
* @returns price in roubles
*/
getRoublePriceToInsureItemWithTrader(pmcData: IPmcData, inventoryItem: IItem, traderId: string): number;
/**
* Returns the ID that should be used for a root-level Item's parentId property value within in the context of insurance.
* @param sessionID Players id
* @returns The root item Id.
*/
getRootItemParentID(sessionID: string): string;
}

@ -47,6 +47,12 @@ export declare class ProfileFixerService {
* @param pmcProfile profile to check and fix
*/
checkForAndFixPmcProfileIssues(pmcProfile: IPmcData): void;
/**
* Resolve any dialogue attachments that were accidentally created using the player's equipment ID as
* the stash root object ID
* @param fullProfile
*/
checkForAndFixDialogueAttachments(fullProfile: ISptProfile): void;
/**
* Find issues in the scav profile data that may cause issues
* @param scavProfile profile to check and fix

@ -37,6 +37,14 @@ export declare class SeasonalEventService {
constructor(logger: ILogger, databaseService: DatabaseService, databaseImporter: DatabaseImporter, giftService: GiftService, localisationService: LocalisationService, botHelper: BotHelper, profileHelper: ProfileHelper, configServer: ConfigServer);
protected get christmasEventItems(): string[];
protected get halloweenEventItems(): string[];
protected getActiveEvents(): ISeasonalEvent[];
/**
* Sets the currently active events
* @param activeEvents Array of active events
* @param halloweenEventActive Halloween event
* @param christmasEventActive Christmas event
*/
setActiveEvents(activeEvents: ISeasonalEvent[], halloweenEventActive: boolean, christmasEventActive: boolean): void;
/**
* Get an array of christmas items found in bots inventories as loot
* @returns array

@ -62,14 +62,6 @@ export declare class InsuranceService {
* @returns Timestamp to return items to player in seconds
*/
protected getInsuranceReturnTimestamp(pmcData: IPmcData, trader: ITraderBase): number;
/**
* Take the insurance item packages within a profile session and ensure that each of the items in that package are
* not orphaned from their parent ID.
*
* @param sessionID The session ID to update insurance equipment packages in.
* @returns void
*/
protected adoptOrphanedInsEquipment(sessionID: string): void;
protected getMaxInsuranceStorageTime(traderBase: ITraderBase): number;
/**
* Store lost gear post-raid inside profile, ready for later code to pick it up and mail it
@ -127,10 +119,4 @@ export declare class InsuranceService {
* @returns price in roubles
*/
getRoublePriceToInsureItemWithTrader(pmcData: IPmcData, inventoryItem: IItem, traderId: string): number;
/**
* Returns the ID that should be used for a root-level Item's parentId property value within in the context of insurance.
* @param sessionID Players id
* @returns The root item Id.
*/
getRootItemParentID(sessionID: string): string;
}

@ -47,6 +47,12 @@ export declare class ProfileFixerService {
* @param pmcProfile profile to check and fix
*/
checkForAndFixPmcProfileIssues(pmcProfile: IPmcData): void;
/**
* Resolve any dialogue attachments that were accidentally created using the player's equipment ID as
* the stash root object ID
* @param fullProfile
*/
checkForAndFixDialogueAttachments(fullProfile: ISptProfile): void;
/**
* Find issues in the scav profile data that may cause issues
* @param scavProfile profile to check and fix

@ -37,6 +37,14 @@ export declare class SeasonalEventService {
constructor(logger: ILogger, databaseService: DatabaseService, databaseImporter: DatabaseImporter, giftService: GiftService, localisationService: LocalisationService, botHelper: BotHelper, profileHelper: ProfileHelper, configServer: ConfigServer);
protected get christmasEventItems(): string[];
protected get halloweenEventItems(): string[];
protected getActiveEvents(): ISeasonalEvent[];
/**
* Sets the currently active events
* @param activeEvents Array of active events
* @param halloweenEventActive Halloween event
* @param christmasEventActive Christmas event
*/
setActiveEvents(activeEvents: ISeasonalEvent[], halloweenEventActive: boolean, christmasEventActive: boolean): void;
/**
* Get an array of christmas items found in bots inventories as loot
* @returns array

@ -62,14 +62,6 @@ export declare class InsuranceService {
* @returns Timestamp to return items to player in seconds
*/
protected getInsuranceReturnTimestamp(pmcData: IPmcData, trader: ITraderBase): number;
/**
* Take the insurance item packages within a profile session and ensure that each of the items in that package are
* not orphaned from their parent ID.
*
* @param sessionID The session ID to update insurance equipment packages in.
* @returns void
*/
protected adoptOrphanedInsEquipment(sessionID: string): void;
protected getMaxInsuranceStorageTime(traderBase: ITraderBase): number;
/**
* Store lost gear post-raid inside profile, ready for later code to pick it up and mail it
@ -127,10 +119,4 @@ export declare class InsuranceService {
* @returns price in roubles
*/
getRoublePriceToInsureItemWithTrader(pmcData: IPmcData, inventoryItem: IItem, traderId: string): number;
/**
* Returns the ID that should be used for a root-level Item's parentId property value within in the context of insurance.
* @param sessionID Players id
* @returns The root item Id.
*/
getRootItemParentID(sessionID: string): string;
}

@ -47,6 +47,12 @@ export declare class ProfileFixerService {
* @param pmcProfile profile to check and fix
*/
checkForAndFixPmcProfileIssues(pmcProfile: IPmcData): void;
/**
* Resolve any dialogue attachments that were accidentally created using the player's equipment ID as
* the stash root object ID
* @param fullProfile
*/
checkForAndFixDialogueAttachments(fullProfile: ISptProfile): void;
/**
* Find issues in the scav profile data that may cause issues
* @param scavProfile profile to check and fix

@ -37,6 +37,14 @@ export declare class SeasonalEventService {
constructor(logger: ILogger, databaseService: DatabaseService, databaseImporter: DatabaseImporter, giftService: GiftService, localisationService: LocalisationService, botHelper: BotHelper, profileHelper: ProfileHelper, configServer: ConfigServer);
protected get christmasEventItems(): string[];
protected get halloweenEventItems(): string[];
protected getActiveEvents(): ISeasonalEvent[];
/**
* Sets the currently active events
* @param activeEvents Array of active events
* @param halloweenEventActive Halloween event
* @param christmasEventActive Christmas event
*/
setActiveEvents(activeEvents: ISeasonalEvent[], halloweenEventActive: boolean, christmasEventActive: boolean): void;
/**
* Get an array of christmas items found in bots inventories as loot
* @returns array

@ -62,14 +62,6 @@ export declare class InsuranceService {
* @returns Timestamp to return items to player in seconds
*/
protected getInsuranceReturnTimestamp(pmcData: IPmcData, trader: ITraderBase): number;
/**
* Take the insurance item packages within a profile session and ensure that each of the items in that package are
* not orphaned from their parent ID.
*
* @param sessionID The session ID to update insurance equipment packages in.
* @returns void
*/
protected adoptOrphanedInsEquipment(sessionID: string): void;
protected getMaxInsuranceStorageTime(traderBase: ITraderBase): number;
/**
* Store lost gear post-raid inside profile, ready for later code to pick it up and mail it
@ -127,10 +119,4 @@ export declare class InsuranceService {
* @returns price in roubles
*/
getRoublePriceToInsureItemWithTrader(pmcData: IPmcData, inventoryItem: IItem, traderId: string): number;
/**
* Returns the ID that should be used for a root-level Item's parentId property value within in the context of insurance.
* @param sessionID Players id
* @returns The root item Id.
*/
getRootItemParentID(sessionID: string): string;
}

@ -47,6 +47,12 @@ export declare class ProfileFixerService {
* @param pmcProfile profile to check and fix
*/
checkForAndFixPmcProfileIssues(pmcProfile: IPmcData): void;
/**
* Resolve any dialogue attachments that were accidentally created using the player's equipment ID as
* the stash root object ID
* @param fullProfile
*/
checkForAndFixDialogueAttachments(fullProfile: ISptProfile): void;
/**
* Find issues in the scav profile data that may cause issues
* @param scavProfile profile to check and fix

@ -37,6 +37,14 @@ export declare class SeasonalEventService {
constructor(logger: ILogger, databaseService: DatabaseService, databaseImporter: DatabaseImporter, giftService: GiftService, localisationService: LocalisationService, botHelper: BotHelper, profileHelper: ProfileHelper, configServer: ConfigServer);
protected get christmasEventItems(): string[];
protected get halloweenEventItems(): string[];
protected getActiveEvents(): ISeasonalEvent[];
/**
* Sets the currently active events
* @param activeEvents Array of active events
* @param halloweenEventActive Halloween event
* @param christmasEventActive Christmas event
*/
setActiveEvents(activeEvents: ISeasonalEvent[], halloweenEventActive: boolean, christmasEventActive: boolean): void;
/**
* Get an array of christmas items found in bots inventories as loot
* @returns array

@ -62,14 +62,6 @@ export declare class InsuranceService {
* @returns Timestamp to return items to player in seconds
*/
protected getInsuranceReturnTimestamp(pmcData: IPmcData, trader: ITraderBase): number;
/**
* Take the insurance item packages within a profile session and ensure that each of the items in that package are
* not orphaned from their parent ID.
*
* @param sessionID The session ID to update insurance equipment packages in.
* @returns void
*/
protected adoptOrphanedInsEquipment(sessionID: string): void;
protected getMaxInsuranceStorageTime(traderBase: ITraderBase): number;
/**
* Store lost gear post-raid inside profile, ready for later code to pick it up and mail it
@ -127,10 +119,4 @@ export declare class InsuranceService {
* @returns price in roubles
*/
getRoublePriceToInsureItemWithTrader(pmcData: IPmcData, inventoryItem: IItem, traderId: string): number;
/**
* Returns the ID that should be used for a root-level Item's parentId property value within in the context of insurance.
* @param sessionID Players id
* @returns The root item Id.
*/
getRootItemParentID(sessionID: string): string;
}

@ -47,6 +47,12 @@ export declare class ProfileFixerService {
* @param pmcProfile profile to check and fix
*/
checkForAndFixPmcProfileIssues(pmcProfile: IPmcData): void;
/**
* Resolve any dialogue attachments that were accidentally created using the player's equipment ID as
* the stash root object ID
* @param fullProfile
*/
checkForAndFixDialogueAttachments(fullProfile: ISptProfile): void;
/**
* Find issues in the scav profile data that may cause issues
* @param scavProfile profile to check and fix

@ -37,6 +37,14 @@ export declare class SeasonalEventService {
constructor(logger: ILogger, databaseService: DatabaseService, databaseImporter: DatabaseImporter, giftService: GiftService, localisationService: LocalisationService, botHelper: BotHelper, profileHelper: ProfileHelper, configServer: ConfigServer);
protected get christmasEventItems(): string[];
protected get halloweenEventItems(): string[];
protected getActiveEvents(): ISeasonalEvent[];
/**
* Sets the currently active events
* @param activeEvents Array of active events
* @param halloweenEventActive Halloween event
* @param christmasEventActive Christmas event
*/
setActiveEvents(activeEvents: ISeasonalEvent[], halloweenEventActive: boolean, christmasEventActive: boolean): void;
/**
* Get an array of christmas items found in bots inventories as loot
* @returns array

@ -62,14 +62,6 @@ export declare class InsuranceService {
* @returns Timestamp to return items to player in seconds
*/
protected getInsuranceReturnTimestamp(pmcData: IPmcData, trader: ITraderBase): number;
/**
* Take the insurance item packages within a profile session and ensure that each of the items in that package are
* not orphaned from their parent ID.
*
* @param sessionID The session ID to update insurance equipment packages in.
* @returns void
*/
protected adoptOrphanedInsEquipment(sessionID: string): void;
protected getMaxInsuranceStorageTime(traderBase: ITraderBase): number;
/**
* Store lost gear post-raid inside profile, ready for later code to pick it up and mail it
@ -127,10 +119,4 @@ export declare class InsuranceService {
* @returns price in roubles
*/
getRoublePriceToInsureItemWithTrader(pmcData: IPmcData, inventoryItem: IItem, traderId: string): number;
/**
* Returns the ID that should be used for a root-level Item's parentId property value within in the context of insurance.
* @param sessionID Players id
* @returns The root item Id.
*/
getRootItemParentID(sessionID: string): string;
}

@ -47,6 +47,12 @@ export declare class ProfileFixerService {
* @param pmcProfile profile to check and fix
*/
checkForAndFixPmcProfileIssues(pmcProfile: IPmcData): void;
/**
* Resolve any dialogue attachments that were accidentally created using the player's equipment ID as
* the stash root object ID
* @param fullProfile
*/
checkForAndFixDialogueAttachments(fullProfile: ISptProfile): void;
/**
* Find issues in the scav profile data that may cause issues
* @param scavProfile profile to check and fix

@ -37,6 +37,14 @@ export declare class SeasonalEventService {
constructor(logger: ILogger, databaseService: DatabaseService, databaseImporter: DatabaseImporter, giftService: GiftService, localisationService: LocalisationService, botHelper: BotHelper, profileHelper: ProfileHelper, configServer: ConfigServer);
protected get christmasEventItems(): string[];
protected get halloweenEventItems(): string[];
protected getActiveEvents(): ISeasonalEvent[];
/**
* Sets the currently active events
* @param activeEvents Array of active events
* @param halloweenEventActive Halloween event
* @param christmasEventActive Christmas event
*/
setActiveEvents(activeEvents: ISeasonalEvent[], halloweenEventActive: boolean, christmasEventActive: boolean): void;
/**
* Get an array of christmas items found in bots inventories as loot
* @returns array

@ -62,14 +62,6 @@ export declare class InsuranceService {
* @returns Timestamp to return items to player in seconds
*/
protected getInsuranceReturnTimestamp(pmcData: IPmcData, trader: ITraderBase): number;
/**
* Take the insurance item packages within a profile session and ensure that each of the items in that package are
* not orphaned from their parent ID.
*
* @param sessionID The session ID to update insurance equipment packages in.
* @returns void
*/
protected adoptOrphanedInsEquipment(sessionID: string): void;
protected getMaxInsuranceStorageTime(traderBase: ITraderBase): number;
/**
* Store lost gear post-raid inside profile, ready for later code to pick it up and mail it
@ -127,10 +119,4 @@ export declare class InsuranceService {
* @returns price in roubles
*/
getRoublePriceToInsureItemWithTrader(pmcData: IPmcData, inventoryItem: IItem, traderId: string): number;
/**
* Returns the ID that should be used for a root-level Item's parentId property value within in the context of insurance.
* @param sessionID Players id
* @returns The root item Id.
*/
getRootItemParentID(sessionID: string): string;
}

@ -47,6 +47,12 @@ export declare class ProfileFixerService {
* @param pmcProfile profile to check and fix
*/
checkForAndFixPmcProfileIssues(pmcProfile: IPmcData): void;
/**
* Resolve any dialogue attachments that were accidentally created using the player's equipment ID as
* the stash root object ID
* @param fullProfile
*/
checkForAndFixDialogueAttachments(fullProfile: ISptProfile): void;
/**
* Find issues in the scav profile data that may cause issues
* @param scavProfile profile to check and fix

@ -37,6 +37,14 @@ export declare class SeasonalEventService {
constructor(logger: ILogger, databaseService: DatabaseService, databaseImporter: DatabaseImporter, giftService: GiftService, localisationService: LocalisationService, botHelper: BotHelper, profileHelper: ProfileHelper, configServer: ConfigServer);
protected get christmasEventItems(): string[];
protected get halloweenEventItems(): string[];
protected getActiveEvents(): ISeasonalEvent[];
/**
* Sets the currently active events
* @param activeEvents Array of active events
* @param halloweenEventActive Halloween event
* @param christmasEventActive Christmas event
*/
setActiveEvents(activeEvents: ISeasonalEvent[], halloweenEventActive: boolean, christmasEventActive: boolean): void;
/**
* Get an array of christmas items found in bots inventories as loot
* @returns array

@ -62,14 +62,6 @@ export declare class InsuranceService {
* @returns Timestamp to return items to player in seconds
*/
protected getInsuranceReturnTimestamp(pmcData: IPmcData, trader: ITraderBase): number;
/**
* Take the insurance item packages within a profile session and ensure that each of the items in that package are
* not orphaned from their parent ID.
*
* @param sessionID The session ID to update insurance equipment packages in.
* @returns void
*/
protected adoptOrphanedInsEquipment(sessionID: string): void;
protected getMaxInsuranceStorageTime(traderBase: ITraderBase): number;
/**
* Store lost gear post-raid inside profile, ready for later code to pick it up and mail it
@ -127,10 +119,4 @@ export declare class InsuranceService {
* @returns price in roubles
*/
getRoublePriceToInsureItemWithTrader(pmcData: IPmcData, inventoryItem: IItem, traderId: string): number;
/**
* Returns the ID that should be used for a root-level Item's parentId property value within in the context of insurance.
* @param sessionID Players id
* @returns The root item Id.
*/
getRootItemParentID(sessionID: string): string;
}

@ -47,6 +47,12 @@ export declare class ProfileFixerService {
* @param pmcProfile profile to check and fix
*/
checkForAndFixPmcProfileIssues(pmcProfile: IPmcData): void;
/**
* Resolve any dialogue attachments that were accidentally created using the player's equipment ID as
* the stash root object ID
* @param fullProfile
*/
checkForAndFixDialogueAttachments(fullProfile: ISptProfile): void;
/**
* Find issues in the scav profile data that may cause issues
* @param scavProfile profile to check and fix

@ -37,6 +37,14 @@ export declare class SeasonalEventService {
constructor(logger: ILogger, databaseService: DatabaseService, databaseImporter: DatabaseImporter, giftService: GiftService, localisationService: LocalisationService, botHelper: BotHelper, profileHelper: ProfileHelper, configServer: ConfigServer);
protected get christmasEventItems(): string[];
protected get halloweenEventItems(): string[];
protected getActiveEvents(): ISeasonalEvent[];
/**
* Sets the currently active events
* @param activeEvents Array of active events
* @param halloweenEventActive Halloween event
* @param christmasEventActive Christmas event
*/
setActiveEvents(activeEvents: ISeasonalEvent[], halloweenEventActive: boolean, christmasEventActive: boolean): void;
/**
* Get an array of christmas items found in bots inventories as loot
* @returns array

@ -62,14 +62,6 @@ export declare class InsuranceService {
* @returns Timestamp to return items to player in seconds
*/
protected getInsuranceReturnTimestamp(pmcData: IPmcData, trader: ITraderBase): number;
/**
* Take the insurance item packages within a profile session and ensure that each of the items in that package are
* not orphaned from their parent ID.
*
* @param sessionID The session ID to update insurance equipment packages in.
* @returns void
*/
protected adoptOrphanedInsEquipment(sessionID: string): void;
protected getMaxInsuranceStorageTime(traderBase: ITraderBase): number;
/**
* Store lost gear post-raid inside profile, ready for later code to pick it up and mail it
@ -127,10 +119,4 @@ export declare class InsuranceService {
* @returns price in roubles
*/
getRoublePriceToInsureItemWithTrader(pmcData: IPmcData, inventoryItem: IItem, traderId: string): number;
/**
* Returns the ID that should be used for a root-level Item's parentId property value within in the context of insurance.
* @param sessionID Players id
* @returns The root item Id.
*/
getRootItemParentID(sessionID: string): string;
}

@ -47,6 +47,12 @@ export declare class ProfileFixerService {
* @param pmcProfile profile to check and fix
*/
checkForAndFixPmcProfileIssues(pmcProfile: IPmcData): void;
/**
* Resolve any dialogue attachments that were accidentally created using the player's equipment ID as
* the stash root object ID
* @param fullProfile
*/
checkForAndFixDialogueAttachments(fullProfile: ISptProfile): void;
/**
* Find issues in the scav profile data that may cause issues
* @param scavProfile profile to check and fix

@ -37,6 +37,14 @@ export declare class SeasonalEventService {
constructor(logger: ILogger, databaseService: DatabaseService, databaseImporter: DatabaseImporter, giftService: GiftService, localisationService: LocalisationService, botHelper: BotHelper, profileHelper: ProfileHelper, configServer: ConfigServer);
protected get christmasEventItems(): string[];
protected get halloweenEventItems(): string[];
protected getActiveEvents(): ISeasonalEvent[];
/**
* Sets the currently active events
* @param activeEvents Array of active events
* @param halloweenEventActive Halloween event
* @param christmasEventActive Christmas event
*/
setActiveEvents(activeEvents: ISeasonalEvent[], halloweenEventActive: boolean, christmasEventActive: boolean): void;
/**
* Get an array of christmas items found in bots inventories as loot
* @returns array

@ -62,14 +62,6 @@ export declare class InsuranceService {
* @returns Timestamp to return items to player in seconds
*/
protected getInsuranceReturnTimestamp(pmcData: IPmcData, trader: ITraderBase): number;
/**
* Take the insurance item packages within a profile session and ensure that each of the items in that package are
* not orphaned from their parent ID.
*
* @param sessionID The session ID to update insurance equipment packages in.
* @returns void
*/
protected adoptOrphanedInsEquipment(sessionID: string): void;
protected getMaxInsuranceStorageTime(traderBase: ITraderBase): number;
/**
* Store lost gear post-raid inside profile, ready for later code to pick it up and mail it
@ -127,10 +119,4 @@ export declare class InsuranceService {
* @returns price in roubles
*/
getRoublePriceToInsureItemWithTrader(pmcData: IPmcData, inventoryItem: IItem, traderId: string): number;
/**
* Returns the ID that should be used for a root-level Item's parentId property value within in the context of insurance.
* @param sessionID Players id
* @returns The root item Id.
*/
getRootItemParentID(sessionID: string): string;
}

@ -47,6 +47,12 @@ export declare class ProfileFixerService {
* @param pmcProfile profile to check and fix
*/
checkForAndFixPmcProfileIssues(pmcProfile: IPmcData): void;
/**
* Resolve any dialogue attachments that were accidentally created using the player's equipment ID as
* the stash root object ID
* @param fullProfile
*/
checkForAndFixDialogueAttachments(fullProfile: ISptProfile): void;
/**
* Find issues in the scav profile data that may cause issues
* @param scavProfile profile to check and fix

@ -37,6 +37,14 @@ export declare class SeasonalEventService {
constructor(logger: ILogger, databaseService: DatabaseService, databaseImporter: DatabaseImporter, giftService: GiftService, localisationService: LocalisationService, botHelper: BotHelper, profileHelper: ProfileHelper, configServer: ConfigServer);
protected get christmasEventItems(): string[];
protected get halloweenEventItems(): string[];
protected getActiveEvents(): ISeasonalEvent[];
/**
* Sets the currently active events
* @param activeEvents Array of active events
* @param halloweenEventActive Halloween event
* @param christmasEventActive Christmas event
*/
setActiveEvents(activeEvents: ISeasonalEvent[], halloweenEventActive: boolean, christmasEventActive: boolean): void;
/**
* Get an array of christmas items found in bots inventories as loot
* @returns array

@ -62,14 +62,6 @@ export declare class InsuranceService {
* @returns Timestamp to return items to player in seconds
*/
protected getInsuranceReturnTimestamp(pmcData: IPmcData, trader: ITraderBase): number;
/**
* Take the insurance item packages within a profile session and ensure that each of the items in that package are
* not orphaned from their parent ID.
*
* @param sessionID The session ID to update insurance equipment packages in.
* @returns void
*/
protected adoptOrphanedInsEquipment(sessionID: string): void;
protected getMaxInsuranceStorageTime(traderBase: ITraderBase): number;
/**
* Store lost gear post-raid inside profile, ready for later code to pick it up and mail it
@ -127,10 +119,4 @@ export declare class InsuranceService {
* @returns price in roubles
*/
getRoublePriceToInsureItemWithTrader(pmcData: IPmcData, inventoryItem: IItem, traderId: string): number;
/**
* Returns the ID that should be used for a root-level Item's parentId property value within in the context of insurance.
* @param sessionID Players id
* @returns The root item Id.
*/
getRootItemParentID(sessionID: string): string;
}

@ -47,6 +47,12 @@ export declare class ProfileFixerService {
* @param pmcProfile profile to check and fix
*/
checkForAndFixPmcProfileIssues(pmcProfile: IPmcData): void;
/**
* Resolve any dialogue attachments that were accidentally created using the player's equipment ID as
* the stash root object ID
* @param fullProfile
*/
checkForAndFixDialogueAttachments(fullProfile: ISptProfile): void;
/**
* Find issues in the scav profile data that may cause issues
* @param scavProfile profile to check and fix

@ -37,6 +37,14 @@ export declare class SeasonalEventService {
constructor(logger: ILogger, databaseService: DatabaseService, databaseImporter: DatabaseImporter, giftService: GiftService, localisationService: LocalisationService, botHelper: BotHelper, profileHelper: ProfileHelper, configServer: ConfigServer);
protected get christmasEventItems(): string[];
protected get halloweenEventItems(): string[];
protected getActiveEvents(): ISeasonalEvent[];
/**
* Sets the currently active events
* @param activeEvents Array of active events
* @param halloweenEventActive Halloween event
* @param christmasEventActive Christmas event
*/
setActiveEvents(activeEvents: ISeasonalEvent[], halloweenEventActive: boolean, christmasEventActive: boolean): void;
/**
* Get an array of christmas items found in bots inventories as loot
* @returns array

@ -62,14 +62,6 @@ export declare class InsuranceService {
* @returns Timestamp to return items to player in seconds
*/
protected getInsuranceReturnTimestamp(pmcData: IPmcData, trader: ITraderBase): number;
/**
* Take the insurance item packages within a profile session and ensure that each of the items in that package are
* not orphaned from their parent ID.
*
* @param sessionID The session ID to update insurance equipment packages in.
* @returns void
*/
protected adoptOrphanedInsEquipment(sessionID: string): void;
protected getMaxInsuranceStorageTime(traderBase: ITraderBase): number;
/**
* Store lost gear post-raid inside profile, ready for later code to pick it up and mail it
@ -127,10 +119,4 @@ export declare class InsuranceService {
* @returns price in roubles
*/
getRoublePriceToInsureItemWithTrader(pmcData: IPmcData, inventoryItem: IItem, traderId: string): number;
/**
* Returns the ID that should be used for a root-level Item's parentId property value within in the context of insurance.
* @param sessionID Players id
* @returns The root item Id.
*/
getRootItemParentID(sessionID: string): string;
}

@ -47,6 +47,12 @@ export declare class ProfileFixerService {
* @param pmcProfile profile to check and fix
*/
checkForAndFixPmcProfileIssues(pmcProfile: IPmcData): void;
/**
* Resolve any dialogue attachments that were accidentally created using the player's equipment ID as
* the stash root object ID
* @param fullProfile
*/
checkForAndFixDialogueAttachments(fullProfile: ISptProfile): void;
/**
* Find issues in the scav profile data that may cause issues
* @param scavProfile profile to check and fix

@ -37,6 +37,14 @@ export declare class SeasonalEventService {
constructor(logger: ILogger, databaseService: DatabaseService, databaseImporter: DatabaseImporter, giftService: GiftService, localisationService: LocalisationService, botHelper: BotHelper, profileHelper: ProfileHelper, configServer: ConfigServer);
protected get christmasEventItems(): string[];
protected get halloweenEventItems(): string[];
protected getActiveEvents(): ISeasonalEvent[];
/**
* Sets the currently active events
* @param activeEvents Array of active events
* @param halloweenEventActive Halloween event
* @param christmasEventActive Christmas event
*/
setActiveEvents(activeEvents: ISeasonalEvent[], halloweenEventActive: boolean, christmasEventActive: boolean): void;
/**
* Get an array of christmas items found in bots inventories as loot
* @returns array

@ -62,14 +62,6 @@ export declare class InsuranceService {
* @returns Timestamp to return items to player in seconds
*/
protected getInsuranceReturnTimestamp(pmcData: IPmcData, trader: ITraderBase): number;
/**
* Take the insurance item packages within a profile session and ensure that each of the items in that package are
* not orphaned from their parent ID.
*
* @param sessionID The session ID to update insurance equipment packages in.
* @returns void
*/
protected adoptOrphanedInsEquipment(sessionID: string): void;
protected getMaxInsuranceStorageTime(traderBase: ITraderBase): number;
/**
* Store lost gear post-raid inside profile, ready for later code to pick it up and mail it
@ -127,10 +119,4 @@ export declare class InsuranceService {
* @returns price in roubles
*/
getRoublePriceToInsureItemWithTrader(pmcData: IPmcData, inventoryItem: IItem, traderId: string): number;
/**
* Returns the ID that should be used for a root-level Item's parentId property value within in the context of insurance.
* @param sessionID Players id
* @returns The root item Id.
*/
getRootItemParentID(sessionID: string): string;
}

@ -47,6 +47,12 @@ export declare class ProfileFixerService {
* @param pmcProfile profile to check and fix
*/
checkForAndFixPmcProfileIssues(pmcProfile: IPmcData): void;
/**
* Resolve any dialogue attachments that were accidentally created using the player's equipment ID as
* the stash root object ID
* @param fullProfile
*/
checkForAndFixDialogueAttachments(fullProfile: ISptProfile): void;
/**
* Find issues in the scav profile data that may cause issues
* @param scavProfile profile to check and fix

@ -37,6 +37,14 @@ export declare class SeasonalEventService {
constructor(logger: ILogger, databaseService: DatabaseService, databaseImporter: DatabaseImporter, giftService: GiftService, localisationService: LocalisationService, botHelper: BotHelper, profileHelper: ProfileHelper, configServer: ConfigServer);
protected get christmasEventItems(): string[];
protected get halloweenEventItems(): string[];
protected getActiveEvents(): ISeasonalEvent[];
/**
* Sets the currently active events
* @param activeEvents Array of active events
* @param halloweenEventActive Halloween event
* @param christmasEventActive Christmas event
*/
setActiveEvents(activeEvents: ISeasonalEvent[], halloweenEventActive: boolean, christmasEventActive: boolean): void;
/**
* Get an array of christmas items found in bots inventories as loot
* @returns array

@ -62,14 +62,6 @@ export declare class InsuranceService {
* @returns Timestamp to return items to player in seconds
*/
protected getInsuranceReturnTimestamp(pmcData: IPmcData, trader: ITraderBase): number;
/**
* Take the insurance item packages within a profile session and ensure that each of the items in that package are
* not orphaned from their parent ID.
*
* @param sessionID The session ID to update insurance equipment packages in.
* @returns void
*/
protected adoptOrphanedInsEquipment(sessionID: string): void;
protected getMaxInsuranceStorageTime(traderBase: ITraderBase): number;
/**
* Store lost gear post-raid inside profile, ready for later code to pick it up and mail it
@ -127,10 +119,4 @@ export declare class InsuranceService {
* @returns price in roubles
*/
getRoublePriceToInsureItemWithTrader(pmcData: IPmcData, inventoryItem: IItem, traderId: string): number;
/**
* Returns the ID that should be used for a root-level Item's parentId property value within in the context of insurance.
* @param sessionID Players id
* @returns The root item Id.
*/
getRootItemParentID(sessionID: string): string;
}

@ -47,6 +47,12 @@ export declare class ProfileFixerService {
* @param pmcProfile profile to check and fix
*/
checkForAndFixPmcProfileIssues(pmcProfile: IPmcData): void;
/**
* Resolve any dialogue attachments that were accidentally created using the player's equipment ID as
* the stash root object ID
* @param fullProfile
*/
checkForAndFixDialogueAttachments(fullProfile: ISptProfile): void;
/**
* Find issues in the scav profile data that may cause issues
* @param scavProfile profile to check and fix

@ -37,6 +37,14 @@ export declare class SeasonalEventService {
constructor(logger: ILogger, databaseService: DatabaseService, databaseImporter: DatabaseImporter, giftService: GiftService, localisationService: LocalisationService, botHelper: BotHelper, profileHelper: ProfileHelper, configServer: ConfigServer);
protected get christmasEventItems(): string[];
protected get halloweenEventItems(): string[];
protected getActiveEvents(): ISeasonalEvent[];
/**
* Sets the currently active events
* @param activeEvents Array of active events
* @param halloweenEventActive Halloween event
* @param christmasEventActive Christmas event
*/
setActiveEvents(activeEvents: ISeasonalEvent[], halloweenEventActive: boolean, christmasEventActive: boolean): void;
/**
* Get an array of christmas items found in bots inventories as loot
* @returns array

@ -62,14 +62,6 @@ export declare class InsuranceService {
* @returns Timestamp to return items to player in seconds
*/
protected getInsuranceReturnTimestamp(pmcData: IPmcData, trader: ITraderBase): number;
/**
* Take the insurance item packages within a profile session and ensure that each of the items in that package are
* not orphaned from their parent ID.
*
* @param sessionID The session ID to update insurance equipment packages in.
* @returns void
*/
protected adoptOrphanedInsEquipment(sessionID: string): void;
protected getMaxInsuranceStorageTime(traderBase: ITraderBase): number;
/**
* Store lost gear post-raid inside profile, ready for later code to pick it up and mail it
@ -127,10 +119,4 @@ export declare class InsuranceService {
* @returns price in roubles
*/
getRoublePriceToInsureItemWithTrader(pmcData: IPmcData, inventoryItem: IItem, traderId: string): number;
/**
* Returns the ID that should be used for a root-level Item's parentId property value within in the context of insurance.
* @param sessionID Players id
* @returns The root item Id.
*/
getRootItemParentID(sessionID: string): string;
}

@ -47,6 +47,12 @@ export declare class ProfileFixerService {
* @param pmcProfile profile to check and fix
*/
checkForAndFixPmcProfileIssues(pmcProfile: IPmcData): void;
/**
* Resolve any dialogue attachments that were accidentally created using the player's equipment ID as
* the stash root object ID
* @param fullProfile
*/
checkForAndFixDialogueAttachments(fullProfile: ISptProfile): void;
/**
* Find issues in the scav profile data that may cause issues
* @param scavProfile profile to check and fix

@ -37,6 +37,14 @@ export declare class SeasonalEventService {
constructor(logger: ILogger, databaseService: DatabaseService, databaseImporter: DatabaseImporter, giftService: GiftService, localisationService: LocalisationService, botHelper: BotHelper, profileHelper: ProfileHelper, configServer: ConfigServer);
protected get christmasEventItems(): string[];
protected get halloweenEventItems(): string[];
protected getActiveEvents(): ISeasonalEvent[];
/**
* Sets the currently active events
* @param activeEvents Array of active events
* @param halloweenEventActive Halloween event
* @param christmasEventActive Christmas event
*/
setActiveEvents(activeEvents: ISeasonalEvent[], halloweenEventActive: boolean, christmasEventActive: boolean): void;
/**
* Get an array of christmas items found in bots inventories as loot
* @returns array

@ -62,14 +62,6 @@ export declare class InsuranceService {
* @returns Timestamp to return items to player in seconds
*/
protected getInsuranceReturnTimestamp(pmcData: IPmcData, trader: ITraderBase): number;
/**
* Take the insurance item packages within a profile session and ensure that each of the items in that package are
* not orphaned from their parent ID.
*
* @param sessionID The session ID to update insurance equipment packages in.
* @returns void
*/
protected adoptOrphanedInsEquipment(sessionID: string): void;
protected getMaxInsuranceStorageTime(traderBase: ITraderBase): number;
/**
* Store lost gear post-raid inside profile, ready for later code to pick it up and mail it
@ -127,10 +119,4 @@ export declare class InsuranceService {
* @returns price in roubles
*/
getRoublePriceToInsureItemWithTrader(pmcData: IPmcData, inventoryItem: IItem, traderId: string): number;
/**
* Returns the ID that should be used for a root-level Item's parentId property value within in the context of insurance.
* @param sessionID Players id
* @returns The root item Id.
*/
getRootItemParentID(sessionID: string): string;
}

@ -47,6 +47,12 @@ export declare class ProfileFixerService {
* @param pmcProfile profile to check and fix
*/
checkForAndFixPmcProfileIssues(pmcProfile: IPmcData): void;
/**
* Resolve any dialogue attachments that were accidentally created using the player's equipment ID as
* the stash root object ID
* @param fullProfile
*/
checkForAndFixDialogueAttachments(fullProfile: ISptProfile): void;
/**
* Find issues in the scav profile data that may cause issues
* @param scavProfile profile to check and fix

@ -37,6 +37,14 @@ export declare class SeasonalEventService {
constructor(logger: ILogger, databaseService: DatabaseService, databaseImporter: DatabaseImporter, giftService: GiftService, localisationService: LocalisationService, botHelper: BotHelper, profileHelper: ProfileHelper, configServer: ConfigServer);
protected get christmasEventItems(): string[];
protected get halloweenEventItems(): string[];
protected getActiveEvents(): ISeasonalEvent[];
/**
* Sets the currently active events
* @param activeEvents Array of active events
* @param halloweenEventActive Halloween event
* @param christmasEventActive Christmas event
*/
setActiveEvents(activeEvents: ISeasonalEvent[], halloweenEventActive: boolean, christmasEventActive: boolean): void;
/**
* Get an array of christmas items found in bots inventories as loot
* @returns array

@ -62,14 +62,6 @@ export declare class InsuranceService {
* @returns Timestamp to return items to player in seconds
*/
protected getInsuranceReturnTimestamp(pmcData: IPmcData, trader: ITraderBase): number;
/**
* Take the insurance item packages within a profile session and ensure that each of the items in that package are
* not orphaned from their parent ID.
*
* @param sessionID The session ID to update insurance equipment packages in.
* @returns void
*/
protected adoptOrphanedInsEquipment(sessionID: string): void;
protected getMaxInsuranceStorageTime(traderBase: ITraderBase): number;
/**
* Store lost gear post-raid inside profile, ready for later code to pick it up and mail it
@ -127,10 +119,4 @@ export declare class InsuranceService {
* @returns price in roubles
*/
getRoublePriceToInsureItemWithTrader(pmcData: IPmcData, inventoryItem: IItem, traderId: string): number;
/**
* Returns the ID that should be used for a root-level Item's parentId property value within in the context of insurance.
* @param sessionID Players id
* @returns The root item Id.
*/
getRootItemParentID(sessionID: string): string;
}

@ -47,6 +47,12 @@ export declare class ProfileFixerService {
* @param pmcProfile profile to check and fix
*/
checkForAndFixPmcProfileIssues(pmcProfile: IPmcData): void;
/**
* Resolve any dialogue attachments that were accidentally created using the player's equipment ID as
* the stash root object ID
* @param fullProfile
*/
checkForAndFixDialogueAttachments(fullProfile: ISptProfile): void;
/**
* Find issues in the scav profile data that may cause issues
* @param scavProfile profile to check and fix

@ -37,6 +37,14 @@ export declare class SeasonalEventService {
constructor(logger: ILogger, databaseService: DatabaseService, databaseImporter: DatabaseImporter, giftService: GiftService, localisationService: LocalisationService, botHelper: BotHelper, profileHelper: ProfileHelper, configServer: ConfigServer);
protected get christmasEventItems(): string[];
protected get halloweenEventItems(): string[];
protected getActiveEvents(): ISeasonalEvent[];
/**
* Sets the currently active events
* @param activeEvents Array of active events
* @param halloweenEventActive Halloween event
* @param christmasEventActive Christmas event
*/
setActiveEvents(activeEvents: ISeasonalEvent[], halloweenEventActive: boolean, christmasEventActive: boolean): void;
/**
* Get an array of christmas items found in bots inventories as loot
* @returns array

@ -62,14 +62,6 @@ export declare class InsuranceService {
* @returns Timestamp to return items to player in seconds
*/
protected getInsuranceReturnTimestamp(pmcData: IPmcData, trader: ITraderBase): number;
/**
* Take the insurance item packages within a profile session and ensure that each of the items in that package are
* not orphaned from their parent ID.
*
* @param sessionID The session ID to update insurance equipment packages in.
* @returns void
*/
protected adoptOrphanedInsEquipment(sessionID: string): void;
protected getMaxInsuranceStorageTime(traderBase: ITraderBase): number;
/**
* Store lost gear post-raid inside profile, ready for later code to pick it up and mail it
@ -127,10 +119,4 @@ export declare class InsuranceService {
* @returns price in roubles
*/
getRoublePriceToInsureItemWithTrader(pmcData: IPmcData, inventoryItem: IItem, traderId: string): number;
/**
* Returns the ID that should be used for a root-level Item's parentId property value within in the context of insurance.
* @param sessionID Players id
* @returns The root item Id.
*/
getRootItemParentID(sessionID: string): string;
}

@ -47,6 +47,12 @@ export declare class ProfileFixerService {
* @param pmcProfile profile to check and fix
*/
checkForAndFixPmcProfileIssues(pmcProfile: IPmcData): void;
/**
* Resolve any dialogue attachments that were accidentally created using the player's equipment ID as
* the stash root object ID
* @param fullProfile
*/
checkForAndFixDialogueAttachments(fullProfile: ISptProfile): void;
/**
* Find issues in the scav profile data that may cause issues
* @param scavProfile profile to check and fix

@ -37,6 +37,14 @@ export declare class SeasonalEventService {
constructor(logger: ILogger, databaseService: DatabaseService, databaseImporter: DatabaseImporter, giftService: GiftService, localisationService: LocalisationService, botHelper: BotHelper, profileHelper: ProfileHelper, configServer: ConfigServer);
protected get christmasEventItems(): string[];
protected get halloweenEventItems(): string[];
protected getActiveEvents(): ISeasonalEvent[];
/**
* Sets the currently active events
* @param activeEvents Array of active events
* @param halloweenEventActive Halloween event
* @param christmasEventActive Christmas event
*/
setActiveEvents(activeEvents: ISeasonalEvent[], halloweenEventActive: boolean, christmasEventActive: boolean): void;
/**
* Get an array of christmas items found in bots inventories as loot
* @returns array

@ -62,14 +62,6 @@ export declare class InsuranceService {
* @returns Timestamp to return items to player in seconds
*/
protected getInsuranceReturnTimestamp(pmcData: IPmcData, trader: ITraderBase): number;
/**
* Take the insurance item packages within a profile session and ensure that each of the items in that package are
* not orphaned from their parent ID.
*
* @param sessionID The session ID to update insurance equipment packages in.
* @returns void
*/
protected adoptOrphanedInsEquipment(sessionID: string): void;
protected getMaxInsuranceStorageTime(traderBase: ITraderBase): number;
/**
* Store lost gear post-raid inside profile, ready for later code to pick it up and mail it
@ -127,10 +119,4 @@ export declare class InsuranceService {
* @returns price in roubles
*/
getRoublePriceToInsureItemWithTrader(pmcData: IPmcData, inventoryItem: IItem, traderId: string): number;
/**
* Returns the ID that should be used for a root-level Item's parentId property value within in the context of insurance.
* @param sessionID Players id
* @returns The root item Id.
*/
getRootItemParentID(sessionID: string): string;
}

@ -47,6 +47,12 @@ export declare class ProfileFixerService {
* @param pmcProfile profile to check and fix
*/
checkForAndFixPmcProfileIssues(pmcProfile: IPmcData): void;
/**
* Resolve any dialogue attachments that were accidentally created using the player's equipment ID as
* the stash root object ID
* @param fullProfile
*/
checkForAndFixDialogueAttachments(fullProfile: ISptProfile): void;
/**
* Find issues in the scav profile data that may cause issues
* @param scavProfile profile to check and fix

@ -37,6 +37,14 @@ export declare class SeasonalEventService {
constructor(logger: ILogger, databaseService: DatabaseService, databaseImporter: DatabaseImporter, giftService: GiftService, localisationService: LocalisationService, botHelper: BotHelper, profileHelper: ProfileHelper, configServer: ConfigServer);
protected get christmasEventItems(): string[];
protected get halloweenEventItems(): string[];
protected getActiveEvents(): ISeasonalEvent[];
/**
* Sets the currently active events
* @param activeEvents Array of active events
* @param halloweenEventActive Halloween event
* @param christmasEventActive Christmas event
*/
setActiveEvents(activeEvents: ISeasonalEvent[], halloweenEventActive: boolean, christmasEventActive: boolean): void;
/**
* Get an array of christmas items found in bots inventories as loot
* @returns array

@ -62,14 +62,6 @@ export declare class InsuranceService {
* @returns Timestamp to return items to player in seconds
*/
protected getInsuranceReturnTimestamp(pmcData: IPmcData, trader: ITraderBase): number;
/**
* Take the insurance item packages within a profile session and ensure that each of the items in that package are
* not orphaned from their parent ID.
*
* @param sessionID The session ID to update insurance equipment packages in.
* @returns void
*/
protected adoptOrphanedInsEquipment(sessionID: string): void;
protected getMaxInsuranceStorageTime(traderBase: ITraderBase): number;
/**
* Store lost gear post-raid inside profile, ready for later code to pick it up and mail it
@ -127,10 +119,4 @@ export declare class InsuranceService {
* @returns price in roubles
*/
getRoublePriceToInsureItemWithTrader(pmcData: IPmcData, inventoryItem: IItem, traderId: string): number;
/**
* Returns the ID that should be used for a root-level Item's parentId property value within in the context of insurance.
* @param sessionID Players id
* @returns The root item Id.
*/
getRootItemParentID(sessionID: string): string;
}

@ -47,6 +47,12 @@ export declare class ProfileFixerService {
* @param pmcProfile profile to check and fix
*/
checkForAndFixPmcProfileIssues(pmcProfile: IPmcData): void;
/**
* Resolve any dialogue attachments that were accidentally created using the player's equipment ID as
* the stash root object ID
* @param fullProfile
*/
checkForAndFixDialogueAttachments(fullProfile: ISptProfile): void;
/**
* Find issues in the scav profile data that may cause issues
* @param scavProfile profile to check and fix

@ -37,6 +37,14 @@ export declare class SeasonalEventService {
constructor(logger: ILogger, databaseService: DatabaseService, databaseImporter: DatabaseImporter, giftService: GiftService, localisationService: LocalisationService, botHelper: BotHelper, profileHelper: ProfileHelper, configServer: ConfigServer);
protected get christmasEventItems(): string[];
protected get halloweenEventItems(): string[];
protected getActiveEvents(): ISeasonalEvent[];
/**
* Sets the currently active events
* @param activeEvents Array of active events
* @param halloweenEventActive Halloween event
* @param christmasEventActive Christmas event
*/
setActiveEvents(activeEvents: ISeasonalEvent[], halloweenEventActive: boolean, christmasEventActive: boolean): void;
/**
* Get an array of christmas items found in bots inventories as loot
* @returns array

@ -62,14 +62,6 @@ export declare class InsuranceService {
* @returns Timestamp to return items to player in seconds
*/
protected getInsuranceReturnTimestamp(pmcData: IPmcData, trader: ITraderBase): number;
/**
* Take the insurance item packages within a profile session and ensure that each of the items in that package are
* not orphaned from their parent ID.
*
* @param sessionID The session ID to update insurance equipment packages in.
* @returns void
*/
protected adoptOrphanedInsEquipment(sessionID: string): void;
protected getMaxInsuranceStorageTime(traderBase: ITraderBase): number;
/**
* Store lost gear post-raid inside profile, ready for later code to pick it up and mail it
@ -127,10 +119,4 @@ export declare class InsuranceService {
* @returns price in roubles
*/
getRoublePriceToInsureItemWithTrader(pmcData: IPmcData, inventoryItem: IItem, traderId: string): number;
/**
* Returns the ID that should be used for a root-level Item's parentId property value within in the context of insurance.
* @param sessionID Players id
* @returns The root item Id.
*/
getRootItemParentID(sessionID: string): string;
}

@ -47,6 +47,12 @@ export declare class ProfileFixerService {
* @param pmcProfile profile to check and fix
*/
checkForAndFixPmcProfileIssues(pmcProfile: IPmcData): void;
/**
* Resolve any dialogue attachments that were accidentally created using the player's equipment ID as
* the stash root object ID
* @param fullProfile
*/
checkForAndFixDialogueAttachments(fullProfile: ISptProfile): void;
/**
* Find issues in the scav profile data that may cause issues
* @param scavProfile profile to check and fix

@ -37,6 +37,14 @@ export declare class SeasonalEventService {
constructor(logger: ILogger, databaseService: DatabaseService, databaseImporter: DatabaseImporter, giftService: GiftService, localisationService: LocalisationService, botHelper: BotHelper, profileHelper: ProfileHelper, configServer: ConfigServer);
protected get christmasEventItems(): string[];
protected get halloweenEventItems(): string[];
protected getActiveEvents(): ISeasonalEvent[];
/**
* Sets the currently active events
* @param activeEvents Array of active events
* @param halloweenEventActive Halloween event
* @param christmasEventActive Christmas event
*/
setActiveEvents(activeEvents: ISeasonalEvent[], halloweenEventActive: boolean, christmasEventActive: boolean): void;
/**
* Get an array of christmas items found in bots inventories as loot
* @returns array

@ -62,14 +62,6 @@ export declare class InsuranceService {
* @returns Timestamp to return items to player in seconds
*/
protected getInsuranceReturnTimestamp(pmcData: IPmcData, trader: ITraderBase): number;
/**
* Take the insurance item packages within a profile session and ensure that each of the items in that package are
* not orphaned from their parent ID.
*
* @param sessionID The session ID to update insurance equipment packages in.
* @returns void
*/
protected adoptOrphanedInsEquipment(sessionID: string): void;
protected getMaxInsuranceStorageTime(traderBase: ITraderBase): number;
/**
* Store lost gear post-raid inside profile, ready for later code to pick it up and mail it
@ -127,10 +119,4 @@ export declare class InsuranceService {
* @returns price in roubles
*/
getRoublePriceToInsureItemWithTrader(pmcData: IPmcData, inventoryItem: IItem, traderId: string): number;
/**
* Returns the ID that should be used for a root-level Item's parentId property value within in the context of insurance.
* @param sessionID Players id
* @returns The root item Id.
*/
getRootItemParentID(sessionID: string): string;
}

@ -47,6 +47,12 @@ export declare class ProfileFixerService {
* @param pmcProfile profile to check and fix
*/
checkForAndFixPmcProfileIssues(pmcProfile: IPmcData): void;
/**
* Resolve any dialogue attachments that were accidentally created using the player's equipment ID as
* the stash root object ID
* @param fullProfile
*/
checkForAndFixDialogueAttachments(fullProfile: ISptProfile): void;
/**
* Find issues in the scav profile data that may cause issues
* @param scavProfile profile to check and fix

@ -37,6 +37,14 @@ export declare class SeasonalEventService {
constructor(logger: ILogger, databaseService: DatabaseService, databaseImporter: DatabaseImporter, giftService: GiftService, localisationService: LocalisationService, botHelper: BotHelper, profileHelper: ProfileHelper, configServer: ConfigServer);
protected get christmasEventItems(): string[];
protected get halloweenEventItems(): string[];
protected getActiveEvents(): ISeasonalEvent[];
/**
* Sets the currently active events
* @param activeEvents Array of active events
* @param halloweenEventActive Halloween event
* @param christmasEventActive Christmas event
*/
setActiveEvents(activeEvents: ISeasonalEvent[], halloweenEventActive: boolean, christmasEventActive: boolean): void;
/**
* Get an array of christmas items found in bots inventories as loot
* @returns array

@ -62,14 +62,6 @@ export declare class InsuranceService {
* @returns Timestamp to return items to player in seconds
*/
protected getInsuranceReturnTimestamp(pmcData: IPmcData, trader: ITraderBase): number;
/**
* Take the insurance item packages within a profile session and ensure that each of the items in that package are
* not orphaned from their parent ID.
*
* @param sessionID The session ID to update insurance equipment packages in.
* @returns void
*/
protected adoptOrphanedInsEquipment(sessionID: string): void;
protected getMaxInsuranceStorageTime(traderBase: ITraderBase): number;
/**
* Store lost gear post-raid inside profile, ready for later code to pick it up and mail it
@ -127,10 +119,4 @@ export declare class InsuranceService {
* @returns price in roubles
*/
getRoublePriceToInsureItemWithTrader(pmcData: IPmcData, inventoryItem: IItem, traderId: string): number;
/**
* Returns the ID that should be used for a root-level Item's parentId property value within in the context of insurance.
* @param sessionID Players id
* @returns The root item Id.
*/
getRootItemParentID(sessionID: string): string;
}

@ -47,6 +47,12 @@ export declare class ProfileFixerService {
* @param pmcProfile profile to check and fix
*/
checkForAndFixPmcProfileIssues(pmcProfile: IPmcData): void;
/**
* Resolve any dialogue attachments that were accidentally created using the player's equipment ID as
* the stash root object ID
* @param fullProfile
*/
checkForAndFixDialogueAttachments(fullProfile: ISptProfile): void;
/**
* Find issues in the scav profile data that may cause issues
* @param scavProfile profile to check and fix

@ -37,6 +37,14 @@ export declare class SeasonalEventService {
constructor(logger: ILogger, databaseService: DatabaseService, databaseImporter: DatabaseImporter, giftService: GiftService, localisationService: LocalisationService, botHelper: BotHelper, profileHelper: ProfileHelper, configServer: ConfigServer);
protected get christmasEventItems(): string[];
protected get halloweenEventItems(): string[];
protected getActiveEvents(): ISeasonalEvent[];
/**
* Sets the currently active events
* @param activeEvents Array of active events
* @param halloweenEventActive Halloween event
* @param christmasEventActive Christmas event
*/
setActiveEvents(activeEvents: ISeasonalEvent[], halloweenEventActive: boolean, christmasEventActive: boolean): void;
/**
* Get an array of christmas items found in bots inventories as loot
* @returns array

@ -62,14 +62,6 @@ export declare class InsuranceService {
* @returns Timestamp to return items to player in seconds
*/
protected getInsuranceReturnTimestamp(pmcData: IPmcData, trader: ITraderBase): number;
/**
* Take the insurance item packages within a profile session and ensure that each of the items in that package are
* not orphaned from their parent ID.
*
* @param sessionID The session ID to update insurance equipment packages in.
* @returns void
*/
protected adoptOrphanedInsEquipment(sessionID: string): void;
protected getMaxInsuranceStorageTime(traderBase: ITraderBase): number;
/**
* Store lost gear post-raid inside profile, ready for later code to pick it up and mail it
@ -127,10 +119,4 @@ export declare class InsuranceService {
* @returns price in roubles
*/
getRoublePriceToInsureItemWithTrader(pmcData: IPmcData, inventoryItem: IItem, traderId: string): number;
/**
* Returns the ID that should be used for a root-level Item's parentId property value within in the context of insurance.
* @param sessionID Players id
* @returns The root item Id.
*/
getRootItemParentID(sessionID: string): string;
}

@ -47,6 +47,12 @@ export declare class ProfileFixerService {
* @param pmcProfile profile to check and fix
*/
checkForAndFixPmcProfileIssues(pmcProfile: IPmcData): void;
/**
* Resolve any dialogue attachments that were accidentally created using the player's equipment ID as
* the stash root object ID
* @param fullProfile
*/
checkForAndFixDialogueAttachments(fullProfile: ISptProfile): void;
/**
* Find issues in the scav profile data that may cause issues
* @param scavProfile profile to check and fix

@ -37,6 +37,14 @@ export declare class SeasonalEventService {
constructor(logger: ILogger, databaseService: DatabaseService, databaseImporter: DatabaseImporter, giftService: GiftService, localisationService: LocalisationService, botHelper: BotHelper, profileHelper: ProfileHelper, configServer: ConfigServer);
protected get christmasEventItems(): string[];
protected get halloweenEventItems(): string[];
protected getActiveEvents(): ISeasonalEvent[];
/**
* Sets the currently active events
* @param activeEvents Array of active events
* @param halloweenEventActive Halloween event
* @param christmasEventActive Christmas event
*/
setActiveEvents(activeEvents: ISeasonalEvent[], halloweenEventActive: boolean, christmasEventActive: boolean): void;
/**
* Get an array of christmas items found in bots inventories as loot
* @returns array

@ -62,14 +62,6 @@ export declare class InsuranceService {
* @returns Timestamp to return items to player in seconds
*/
protected getInsuranceReturnTimestamp(pmcData: IPmcData, trader: ITraderBase): number;
/**
* Take the insurance item packages within a profile session and ensure that each of the items in that package are
* not orphaned from their parent ID.
*
* @param sessionID The session ID to update insurance equipment packages in.
* @returns void
*/
protected adoptOrphanedInsEquipment(sessionID: string): void;
protected getMaxInsuranceStorageTime(traderBase: ITraderBase): number;
/**
* Store lost gear post-raid inside profile, ready for later code to pick it up and mail it
@ -127,10 +119,4 @@ export declare class InsuranceService {
* @returns price in roubles
*/
getRoublePriceToInsureItemWithTrader(pmcData: IPmcData, inventoryItem: IItem, traderId: string): number;
/**
* Returns the ID that should be used for a root-level Item's parentId property value within in the context of insurance.
* @param sessionID Players id
* @returns The root item Id.
*/
getRootItemParentID(sessionID: string): string;
}

@ -47,6 +47,12 @@ export declare class ProfileFixerService {
* @param pmcProfile profile to check and fix
*/
checkForAndFixPmcProfileIssues(pmcProfile: IPmcData): void;
/**
* Resolve any dialogue attachments that were accidentally created using the player's equipment ID as
* the stash root object ID
* @param fullProfile
*/
checkForAndFixDialogueAttachments(fullProfile: ISptProfile): void;
/**
* Find issues in the scav profile data that may cause issues
* @param scavProfile profile to check and fix

@ -37,6 +37,14 @@ export declare class SeasonalEventService {
constructor(logger: ILogger, databaseService: DatabaseService, databaseImporter: DatabaseImporter, giftService: GiftService, localisationService: LocalisationService, botHelper: BotHelper, profileHelper: ProfileHelper, configServer: ConfigServer);
protected get christmasEventItems(): string[];
protected get halloweenEventItems(): string[];
protected getActiveEvents(): ISeasonalEvent[];
/**
* Sets the currently active events
* @param activeEvents Array of active events
* @param halloweenEventActive Halloween event
* @param christmasEventActive Christmas event
*/
setActiveEvents(activeEvents: ISeasonalEvent[], halloweenEventActive: boolean, christmasEventActive: boolean): void;
/**
* Get an array of christmas items found in bots inventories as loot
* @returns array

@ -62,14 +62,6 @@ export declare class InsuranceService {
* @returns Timestamp to return items to player in seconds
*/
protected getInsuranceReturnTimestamp(pmcData: IPmcData, trader: ITraderBase): number;
/**
* Take the insurance item packages within a profile session and ensure that each of the items in that package are
* not orphaned from their parent ID.
*
* @param sessionID The session ID to update insurance equipment packages in.
* @returns void
*/
protected adoptOrphanedInsEquipment(sessionID: string): void;
protected getMaxInsuranceStorageTime(traderBase: ITraderBase): number;
/**
* Store lost gear post-raid inside profile, ready for later code to pick it up and mail it
@ -127,10 +119,4 @@ export declare class InsuranceService {
* @returns price in roubles
*/
getRoublePriceToInsureItemWithTrader(pmcData: IPmcData, inventoryItem: IItem, traderId: string): number;
/**
* Returns the ID that should be used for a root-level Item's parentId property value within in the context of insurance.
* @param sessionID Players id
* @returns The root item Id.
*/
getRootItemParentID(sessionID: string): string;
}

@ -47,6 +47,12 @@ export declare class ProfileFixerService {
* @param pmcProfile profile to check and fix
*/
checkForAndFixPmcProfileIssues(pmcProfile: IPmcData): void;
/**
* Resolve any dialogue attachments that were accidentally created using the player's equipment ID as
* the stash root object ID
* @param fullProfile
*/
checkForAndFixDialogueAttachments(fullProfile: ISptProfile): void;
/**
* Find issues in the scav profile data that may cause issues
* @param scavProfile profile to check and fix

@ -37,6 +37,14 @@ export declare class SeasonalEventService {
constructor(logger: ILogger, databaseService: DatabaseService, databaseImporter: DatabaseImporter, giftService: GiftService, localisationService: LocalisationService, botHelper: BotHelper, profileHelper: ProfileHelper, configServer: ConfigServer);
protected get christmasEventItems(): string[];
protected get halloweenEventItems(): string[];
protected getActiveEvents(): ISeasonalEvent[];
/**
* Sets the currently active events
* @param activeEvents Array of active events
* @param halloweenEventActive Halloween event
* @param christmasEventActive Christmas event
*/
setActiveEvents(activeEvents: ISeasonalEvent[], halloweenEventActive: boolean, christmasEventActive: boolean): void;
/**
* Get an array of christmas items found in bots inventories as loot
* @returns array

@ -62,14 +62,6 @@ export declare class InsuranceService {
* @returns Timestamp to return items to player in seconds
*/
protected getInsuranceReturnTimestamp(pmcData: IPmcData, trader: ITraderBase): number;
/**
* Take the insurance item packages within a profile session and ensure that each of the items in that package are
* not orphaned from their parent ID.
*
* @param sessionID The session ID to update insurance equipment packages in.
* @returns void
*/
protected adoptOrphanedInsEquipment(sessionID: string): void;
protected getMaxInsuranceStorageTime(traderBase: ITraderBase): number;
/**
* Store lost gear post-raid inside profile, ready for later code to pick it up and mail it
@ -127,10 +119,4 @@ export declare class InsuranceService {
* @returns price in roubles
*/
getRoublePriceToInsureItemWithTrader(pmcData: IPmcData, inventoryItem: IItem, traderId: string): number;
/**
* Returns the ID that should be used for a root-level Item's parentId property value within in the context of insurance.
* @param sessionID Players id
* @returns The root item Id.
*/
getRootItemParentID(sessionID: string): string;
}

@ -47,6 +47,12 @@ export declare class ProfileFixerService {
* @param pmcProfile profile to check and fix
*/
checkForAndFixPmcProfileIssues(pmcProfile: IPmcData): void;
/**
* Resolve any dialogue attachments that were accidentally created using the player's equipment ID as
* the stash root object ID
* @param fullProfile
*/
checkForAndFixDialogueAttachments(fullProfile: ISptProfile): void;
/**
* Find issues in the scav profile data that may cause issues
* @param scavProfile profile to check and fix

@ -37,6 +37,14 @@ export declare class SeasonalEventService {
constructor(logger: ILogger, databaseService: DatabaseService, databaseImporter: DatabaseImporter, giftService: GiftService, localisationService: LocalisationService, botHelper: BotHelper, profileHelper: ProfileHelper, configServer: ConfigServer);
protected get christmasEventItems(): string[];
protected get halloweenEventItems(): string[];
protected getActiveEvents(): ISeasonalEvent[];
/**
* Sets the currently active events
* @param activeEvents Array of active events
* @param halloweenEventActive Halloween event
* @param christmasEventActive Christmas event
*/
setActiveEvents(activeEvents: ISeasonalEvent[], halloweenEventActive: boolean, christmasEventActive: boolean): void;
/**
* Get an array of christmas items found in bots inventories as loot
* @returns array