Now include money transfer limits of server>client response
This commit is contained in:
parent
060b0bb2de
commit
ff6746ebe9
@ -1,4 +1,4 @@
|
|||||||
import { Health, IQuestStatus, Productive, Skills } from "@spt/models/eft/common/tables/IBotBase";
|
import { Health, IMoneyTransferLimits, IQuestStatus, Productive, Skills } from "@spt/models/eft/common/tables/IBotBase";
|
||||||
import { Item, Upd } from "@spt/models/eft/common/tables/IItem";
|
import { Item, Upd } from "@spt/models/eft/common/tables/IItem";
|
||||||
import { IQuest } from "@spt/models/eft/common/tables/IQuest";
|
import { IQuest } from "@spt/models/eft/common/tables/IQuest";
|
||||||
import { IPmcDataRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests";
|
import { IPmcDataRepeatableQuest } from "@spt/models/eft/common/tables/IRepeatableQuests";
|
||||||
@ -33,6 +33,7 @@ export interface ProfileChange {
|
|||||||
skills: Skills;
|
skills: Skills;
|
||||||
health: Health;
|
health: Health;
|
||||||
traderRelations: Record<string, TraderData>;
|
traderRelations: Record<string, TraderData>;
|
||||||
|
moneyTransferLimitData: IMoneyTransferLimits;
|
||||||
repeatableQuests?: IPmcDataRepeatableQuest[];
|
repeatableQuests?: IPmcDataRepeatableQuest[];
|
||||||
recipeUnlocked: Record<string, boolean>;
|
recipeUnlocked: Record<string, boolean>;
|
||||||
changedHideoutStashes?: Record<string, IHideoutStashItem>;
|
changedHideoutStashes?: Record<string, IHideoutStashItem>;
|
||||||
|
@ -79,6 +79,8 @@ export class EventOutputHolder {
|
|||||||
profileChanges.improvements = this.cloner.clone(this.getImprovementsFromProfileAndFlagComplete(pmcData));
|
profileChanges.improvements = this.cloner.clone(this.getImprovementsFromProfileAndFlagComplete(pmcData));
|
||||||
profileChanges.traderRelations = this.constructTraderRelations(pmcData.TradersInfo);
|
profileChanges.traderRelations = this.constructTraderRelations(pmcData.TradersInfo);
|
||||||
|
|
||||||
|
profileChanges.moneyTransferLimitData = pmcData.moneyTransferLimitData;
|
||||||
|
|
||||||
// Fixes container craft from water collector not resetting after collection + removed completed normal crafts
|
// Fixes container craft from water collector not resetting after collection + removed completed normal crafts
|
||||||
this.cleanUpCompleteCraftsInProfile(pmcData.Hideout.Production);
|
this.cleanUpCompleteCraftsInProfile(pmcData.Hideout.Production);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user