2024-05-06 15:08:56 +02:00
|
|
|
import { IOid } from "./commonTypes";
|
2024-05-09 01:07:14 +02:00
|
|
|
import { FocusSchool } from "@/src/types/inventoryTypes/commonInventoryTypes";
|
2023-09-10 00:10:21 +04:00
|
|
|
import {
|
|
|
|
IBooster,
|
|
|
|
IChallengeProgress,
|
|
|
|
IConsumable,
|
|
|
|
ICrewShipSalvagedWeaponSkin,
|
|
|
|
IMiscItem,
|
|
|
|
IMission,
|
|
|
|
IRawUpgrade
|
|
|
|
} from "./inventoryTypes/inventoryTypes";
|
2023-12-14 17:34:15 +01:00
|
|
|
import { IWeaponClient } from "./inventoryTypes/weaponTypes";
|
|
|
|
import { ISuitClient } from "./inventoryTypes/SuitTypes";
|
2023-09-10 00:10:21 +04:00
|
|
|
|
2023-12-28 16:24:52 +01:00
|
|
|
export interface IArtifactsRequest {
|
2023-09-10 00:10:21 +04:00
|
|
|
Upgrade: ICrewShipSalvagedWeaponSkin;
|
|
|
|
LevelDiff: number;
|
|
|
|
Cost: number;
|
|
|
|
FusionPointCost: number;
|
|
|
|
}
|
|
|
|
|
2024-04-04 01:55:51 +03:00
|
|
|
export interface IThemeUpdateRequest {
|
|
|
|
Style?: string;
|
|
|
|
Background?: string;
|
|
|
|
Sounds?: string;
|
|
|
|
}
|
|
|
|
|
2023-12-28 16:24:52 +01:00
|
|
|
export interface IMissionInventoryUpdateRequest {
|
2023-09-10 00:10:21 +04:00
|
|
|
rewardsMultiplier?: number;
|
|
|
|
ActiveBoosters?: IBooster[];
|
2023-12-14 17:34:15 +01:00
|
|
|
LongGuns?: IWeaponClient[];
|
|
|
|
Pistols?: IWeaponClient[];
|
|
|
|
Suits?: ISuitClient[];
|
|
|
|
Melee?: IWeaponClient[];
|
2023-09-10 00:10:21 +04:00
|
|
|
RawUpgrades?: IRawUpgrade[];
|
|
|
|
MiscItems?: IMiscItem[];
|
|
|
|
Consumables?: IConsumable[];
|
|
|
|
Recipes?: IConsumable[];
|
|
|
|
RegularCredits?: number;
|
|
|
|
ChallengeProgress?: IChallengeProgress[];
|
|
|
|
RewardInfo?: IMissionInventoryUpdateRequestRewardInfo;
|
|
|
|
FusionPoints?: number;
|
|
|
|
Missions?: IMission;
|
|
|
|
}
|
|
|
|
|
2023-12-28 16:24:52 +01:00
|
|
|
export interface IMissionInventoryUpdateRequestRewardInfo {
|
2023-09-10 00:10:21 +04:00
|
|
|
node: string;
|
|
|
|
rewardTier?: number;
|
|
|
|
nightmareMode?: boolean;
|
|
|
|
useVaultManifest?: boolean;
|
|
|
|
EnemyCachesFound?: number;
|
|
|
|
toxinOk?: boolean;
|
|
|
|
lostTargetWave?: number;
|
|
|
|
defenseTargetCount?: number;
|
|
|
|
EOM_AFK?: number;
|
|
|
|
rewardQualifications?: string;
|
|
|
|
PurgatoryRewardQualifications?: string;
|
|
|
|
rewardSeed?: number;
|
|
|
|
}
|
|
|
|
|
2023-12-28 16:24:52 +01:00
|
|
|
export interface IInventorySlotsRequest {
|
|
|
|
Bin: "PveBonusLoadoutBin";
|
|
|
|
}
|
2024-05-03 22:12:51 +02:00
|
|
|
|
|
|
|
export interface IUpdateGlyphRequest {
|
|
|
|
AvatarImageType: string;
|
|
|
|
AvatarImage: string;
|
|
|
|
}
|
2024-05-06 15:08:56 +02:00
|
|
|
|
|
|
|
export interface IUpgradesRequest {
|
|
|
|
ItemCategory: string;
|
|
|
|
ItemId: IOid;
|
|
|
|
ItemFeatures: number;
|
|
|
|
UpgradeVersion: number;
|
|
|
|
Operations: IUpgradeOperation[];
|
|
|
|
}
|
|
|
|
|
|
|
|
export interface IUpgradeOperation {
|
|
|
|
OperationType: string;
|
|
|
|
UpgradeRequirement: string; // uniqueName of item being consumed
|
|
|
|
PolarizeSlot: number;
|
2024-05-09 01:07:14 +02:00
|
|
|
PolarizeValue: FocusSchool;
|
2024-06-01 13:03:27 +02:00
|
|
|
PolarityRemap: object[];
|
2024-05-06 15:08:56 +02:00
|
|
|
}
|