2025-04-23 11:35:57 -07:00
|
|
|
import { IAffiliationMods, IInventoryChanges } from "./purchaseTypes";
|
|
|
|
|
2023-09-10 00:10:21 +04:00
|
|
|
export const inventoryFields = ["RawUpgrades", "MiscItems", "Consumables", "Recipes"] as const;
|
|
|
|
export type IInventoryFieldType = (typeof inventoryFields)[number];
|
|
|
|
|
2025-01-24 14:13:21 +01:00
|
|
|
export interface IMissionReward {
|
|
|
|
StoreItem: string;
|
|
|
|
TypeName?: string;
|
2023-09-10 00:10:21 +04:00
|
|
|
UpgradeLevel?: number;
|
|
|
|
ItemCount: number;
|
2025-04-26 11:54:06 -07:00
|
|
|
DailyCooldown?: boolean;
|
|
|
|
Rarity?: number;
|
2025-01-24 14:13:21 +01:00
|
|
|
TweetText?: string;
|
|
|
|
ProductCategory?: string;
|
2025-02-25 04:42:49 -08:00
|
|
|
FromEnemyCache?: boolean;
|
|
|
|
IsStrippedItem?: boolean;
|
2023-09-10 00:10:21 +04:00
|
|
|
}
|
2025-04-23 11:35:57 -07:00
|
|
|
|
|
|
|
export interface IMissionCredits {
|
|
|
|
MissionCredits: number[];
|
|
|
|
CreditBonus: number[];
|
|
|
|
TotalCredits: number[];
|
|
|
|
DailyMissionBonus?: boolean;
|
|
|
|
}
|
|
|
|
|
|
|
|
export interface IMissionInventoryUpdateResponse extends Partial<IMissionCredits> {
|
|
|
|
ConquestCompletedMissionsCount?: number;
|
|
|
|
InventoryJson?: string;
|
|
|
|
MissionRewards?: IMissionReward[];
|
|
|
|
InventoryChanges?: IInventoryChanges;
|
|
|
|
FusionPoints?: number;
|
|
|
|
SyndicateXPItemReward?: number;
|
|
|
|
AffiliationMods?: IAffiliationMods[];
|
|
|
|
}
|