mirror of
https://github.com/sp-tarkov/server.git
synced 2025-02-13 09:50:43 -05:00
Added missing properties to getDefaultSptDataObject()
This commit is contained in:
parent
4dc9c916e1
commit
5537b9b521
@ -3,7 +3,7 @@ import { IPmcData } from "@spt/models/eft/common/IPmcData";
|
|||||||
import { BanType, Common, ICounterKeyValue, IStats } from "@spt/models/eft/common/tables/IBotBase";
|
import { BanType, Common, ICounterKeyValue, IStats } from "@spt/models/eft/common/tables/IBotBase";
|
||||||
import { IItem } from "@spt/models/eft/common/tables/IItem";
|
import { IItem } from "@spt/models/eft/common/tables/IItem";
|
||||||
import { ISearchFriendResponse } from "@spt/models/eft/profile/ISearchFriendResponse";
|
import { ISearchFriendResponse } from "@spt/models/eft/profile/ISearchFriendResponse";
|
||||||
import { ISptProfile } from "@spt/models/eft/profile/ISptProfile";
|
import { ISpt, ISptProfile } from "@spt/models/eft/profile/ISptProfile";
|
||||||
import { IValidateNicknameRequestData } from "@spt/models/eft/profile/IValidateNicknameRequestData";
|
import { IValidateNicknameRequestData } from "@spt/models/eft/profile/IValidateNicknameRequestData";
|
||||||
import { AccountTypes } from "@spt/models/enums/AccountTypes";
|
import { AccountTypes } from "@spt/models/enums/AccountTypes";
|
||||||
import { BonusType } from "@spt/models/enums/BonusType";
|
import { BonusType } from "@spt/models/enums/BonusType";
|
||||||
@ -184,8 +184,15 @@ export class ProfileHelper {
|
|||||||
return this.databaseService.getGlobals().config.exp.level.exp_table.length - 1;
|
return this.databaseService.getGlobals().config.exp.level.exp_table.length - 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
public getDefaultSptDataObject(): any {
|
public getDefaultSptDataObject(): ISpt {
|
||||||
return { version: this.watermark.getVersionTag(true) };
|
return {
|
||||||
|
version: this.watermark.getVersionTag(true),
|
||||||
|
freeRepeatableRefreshUsedCount: {},
|
||||||
|
migrations: {},
|
||||||
|
cultistRewards: new Map(),
|
||||||
|
mods: [],
|
||||||
|
receivedGifts: [],
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user