Renamed function to clear up its purpose startPostRaidInsuranceLostProcess
This commit is contained in:
parent
fefa9b3b39
commit
b6b147f439
@ -68,12 +68,13 @@ export class InsuranceService {
|
||||
}
|
||||
|
||||
/**
|
||||
* Sends stored insured items as message to player
|
||||
* @param pmcData profile to send insured items to
|
||||
* Sends `i will go look for your stuff` trader message +
|
||||
* Store lost insurance items inside profile for later retreval
|
||||
* @param pmcData Profile to send insured items to
|
||||
* @param sessionID SessionId of current player
|
||||
* @param mapId Id of the map player died/exited that caused the insurance to be issued on
|
||||
* @param mapId Id of the location player died/exited that caused the insurance to be issued on
|
||||
*/
|
||||
public sendInsuredItems(pmcData: IPmcData, sessionID: string, mapId: string): void {
|
||||
public startPostRaidInsuranceLostProcess(pmcData: IPmcData, sessionID: string, mapId: string): void {
|
||||
// Get insurance items for each trader
|
||||
const globals = this.databaseService.getGlobals();
|
||||
for (const traderId in this.getInsurance(sessionID)) {
|
||||
|
@ -747,7 +747,7 @@ export class LocationLifecycleService {
|
||||
|
||||
this.insuranceService.storeGearLostInRaidToSendLater(sessionId, mappedItems);
|
||||
|
||||
this.insuranceService.sendInsuredItems(preRaidPmcProfile, sessionId, locationName);
|
||||
this.insuranceService.peePeePooPooFartPoo(preRaidPmcProfile, sessionId, locationName);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user