3.10.4-DEV #44
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user