Add achievement storage to profile on creation
This commit is contained in:
parent
22a4ba3643
commit
11e64eacab
@ -152,6 +152,7 @@ export class ProfileController
|
||||
pmcData.RepeatableQuests = [];
|
||||
pmcData.CarExtractCounts = {};
|
||||
pmcData.CoopExtractCounts = {};
|
||||
pmcData.Achievements = {};
|
||||
|
||||
if (!pmcData.UnlockedInfo)
|
||||
{
|
||||
|
@ -28,6 +28,8 @@ export interface IBotBase
|
||||
TradersInfo: Record<string, TraderInfo>;
|
||||
UnlockedInfo: IUnlockedInfo;
|
||||
RagfairInfo: RagfairInfo;
|
||||
/** Achievement id and timestamp */
|
||||
Achievements: Record<string, number>
|
||||
RepeatableQuests: IPmcDataRepeatableQuest[];
|
||||
Bonuses: Bonus[];
|
||||
Notes: Notes;
|
||||
|
8
project/src/models/eft/inventory/ISetFavoriteItems.ts
Normal file
8
project/src/models/eft/inventory/ISetFavoriteItems.ts
Normal file
@ -0,0 +1,8 @@
|
||||
import { IInventoryBaseActionRequestData } from "./IInventoryBaseActionRequestData";
|
||||
|
||||
export interface ISetFavoriteItems extends IInventoryBaseActionRequestData
|
||||
{
|
||||
Action: "SetFavoriteItems";
|
||||
items: any[];
|
||||
timestamp: number
|
||||
}
|
Loading…
Reference in New Issue
Block a user