2024-05-06 15:08:56 +02:00
|
|
|
import { IOid } from "./commonTypes";
|
2024-06-22 23:22:38 +02:00
|
|
|
import { ArtifactPolarity, IPolarity, IEquipmentClient } from "@/src/types/inventoryTypes/commonInventoryTypes";
|
2023-09-10 00:10:21 +04:00
|
|
|
import {
|
|
|
|
IBooster,
|
|
|
|
IChallengeProgress,
|
|
|
|
IConsumable,
|
|
|
|
ICrewShipSalvagedWeaponSkin,
|
2024-06-20 13:05:07 +02:00
|
|
|
IEvolutionProgress,
|
2023-09-10 00:10:21 +04:00
|
|
|
IMiscItem,
|
2024-06-22 17:56:36 +02:00
|
|
|
ITypeCount,
|
2023-09-10 00:10:21 +04:00
|
|
|
IMission,
|
2024-06-02 18:35:06 +03:00
|
|
|
IRawUpgrade,
|
2024-06-22 18:40:51 +02:00
|
|
|
ISeasonChallenge,
|
2024-06-29 13:50:32 +02:00
|
|
|
TSolarMapRegion,
|
2024-07-03 23:01:35 +02:00
|
|
|
TEquipmentKey,
|
|
|
|
IFusionTreasure
|
2023-09-10 00:10:21 +04:00
|
|
|
} from "./inventoryTypes/inventoryTypes";
|
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
|
2024-06-02 18:35:06 +03:00
|
|
|
export interface IAffiliationChange {
|
|
|
|
Tag: string;
|
|
|
|
Standing: number;
|
|
|
|
Title: number;
|
|
|
|
}
|
|
|
|
|
|
|
|
export interface IUpdateChallengeProgressRequest {
|
|
|
|
ChallengeProgress: IChallengeProgress[];
|
2024-06-16 17:51:20 +02:00
|
|
|
SeasonChallengeHistory: ISeasonChallenge[];
|
|
|
|
SeasonChallengeCompletions: ISeasonChallenge[];
|
2024-06-02 18:35:06 +03:00
|
|
|
}
|
|
|
|
|
2023-12-28 16:24:52 +01:00
|
|
|
export interface IMissionInventoryUpdateRequest {
|
2023-09-10 00:10:21 +04:00
|
|
|
rewardsMultiplier?: number;
|
|
|
|
ActiveBoosters?: IBooster[];
|
2024-06-02 18:35:06 +03:00
|
|
|
AffiliationChanges?: IAffiliationChange[];
|
2024-06-29 13:55:15 +02:00
|
|
|
Suits?: IEquipmentClient[];
|
2024-06-16 17:51:20 +02:00
|
|
|
LongGuns?: IEquipmentClient[];
|
|
|
|
Pistols?: IEquipmentClient[];
|
|
|
|
Melee?: IEquipmentClient[];
|
2024-06-29 13:55:15 +02:00
|
|
|
SpecialItems?: IEquipmentClient[];
|
|
|
|
Sentinels?: IEquipmentClient[];
|
|
|
|
SentinelWeapons?: IEquipmentClient[];
|
|
|
|
SpaceSuits?: IEquipmentClient[];
|
|
|
|
SpaceGuns?: IEquipmentClient[];
|
|
|
|
SpaceMelee?: IEquipmentClient[];
|
|
|
|
Hoverboards?: IEquipmentClient[];
|
|
|
|
OperatorAmps?: IEquipmentClient[];
|
|
|
|
MoaPets?: IEquipmentClient[];
|
2024-06-22 17:56:36 +02:00
|
|
|
FusionBundles?: ITypeCount[];
|
2023-09-10 00:10:21 +04:00
|
|
|
RawUpgrades?: IRawUpgrade[];
|
|
|
|
MiscItems?: IMiscItem[];
|
|
|
|
Consumables?: IConsumable[];
|
2024-07-03 23:01:35 +02:00
|
|
|
FusionTreasures?: IFusionTreasure[];
|
2023-09-10 00:10:21 +04:00
|
|
|
Recipes?: IConsumable[];
|
|
|
|
RegularCredits?: number;
|
|
|
|
ChallengeProgress?: IChallengeProgress[];
|
|
|
|
RewardInfo?: IMissionInventoryUpdateRequestRewardInfo;
|
|
|
|
Missions?: IMission;
|
2024-06-20 13:05:07 +02:00
|
|
|
EvolutionProgress?: IEvolutionProgress[];
|
2024-06-29 13:50:32 +02:00
|
|
|
LastRegionPlayed?: TSolarMapRegion;
|
2024-06-22 17:56:36 +02:00
|
|
|
|
|
|
|
FusionPoints?: number; // Not a part of the request, but we put it in this struct as an intermediate storage.
|
2023-09-10 00:10:21 +04:00
|
|
|
}
|
|
|
|
|
2023-12-28 16:24:52 +01:00
|
|
|
export interface IMissionInventoryUpdateRequestRewardInfo {
|
2023-09-10 00:10:21 +04:00
|
|
|
node: string;
|
2024-06-22 23:19:42 +02:00
|
|
|
VaultsCracked?: number; // for Spy missions
|
2023-09-10 00:10:21 +04:00
|
|
|
rewardTier?: number;
|
|
|
|
nightmareMode?: boolean;
|
|
|
|
useVaultManifest?: boolean;
|
|
|
|
EnemyCachesFound?: number;
|
|
|
|
toxinOk?: boolean;
|
|
|
|
lostTargetWave?: number;
|
|
|
|
defenseTargetCount?: number;
|
|
|
|
EOM_AFK?: number;
|
2024-06-22 02:39:29 +02:00
|
|
|
rewardQualifications?: string; // did a Survival for 5 minutes and this was "1"
|
2023-09-10 00:10:21 +04:00
|
|
|
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 {
|
2024-06-22 18:40:51 +02:00
|
|
|
ItemCategory: TEquipmentKey;
|
2024-05-06 15:08:56 +02:00
|
|
|
ItemId: IOid;
|
|
|
|
ItemFeatures: number;
|
|
|
|
UpgradeVersion: number;
|
|
|
|
Operations: IUpgradeOperation[];
|
|
|
|
}
|
|
|
|
|
|
|
|
export interface IUpgradeOperation {
|
|
|
|
OperationType: string;
|
|
|
|
UpgradeRequirement: string; // uniqueName of item being consumed
|
|
|
|
PolarizeSlot: number;
|
2024-06-22 23:22:38 +02:00
|
|
|
PolarizeValue: ArtifactPolarity;
|
2024-06-07 16:06:35 +02:00
|
|
|
PolarityRemap: IPolarity[];
|
2024-05-06 15:08:56 +02:00
|
|
|
}
|