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,
|
2024-06-20 13:05:07 +02:00
|
|
|
IEvolutionProgress,
|
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,
|
2025-01-24 14:13:21 +01:00
|
|
|
IFusionTreasure,
|
2025-02-01 07:41:34 -08:00
|
|
|
ICustomMarkers,
|
2025-01-31 17:24:42 +01:00
|
|
|
IPlayerSkills,
|
2025-02-20 02:57:23 -08:00
|
|
|
IQuestKeyDatabase,
|
2025-02-27 18:01:06 -08:00
|
|
|
ILoreFragmentScan,
|
2025-02-28 18:09:37 -08:00
|
|
|
IUpgradeClient,
|
|
|
|
ICollectibleEntry
|
2023-09-10 00:10:21 +04:00
|
|
|
} from "./inventoryTypes/inventoryTypes";
|
|
|
|
|
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
|
|
|
}
|
|
|
|
|
2025-01-24 14:13:21 +01:00
|
|
|
export type IMissionInventoryUpdateRequest = {
|
2025-02-05 12:23:35 -08:00
|
|
|
MiscItems?: ITypeCount[];
|
|
|
|
Recipes?: ITypeCount[];
|
|
|
|
FusionBundles?: ITypeCount[];
|
|
|
|
Consumables?: ITypeCount[];
|
|
|
|
FusionBundels?: ITypeCount[];
|
|
|
|
CrewShipRawSalvage?: ITypeCount[];
|
|
|
|
CrewShipAmmo?: ITypeCount[];
|
|
|
|
BonusMiscItems?: ITypeCount[];
|
2025-03-07 00:41:18 -08:00
|
|
|
EmailItems?: ITypeCount[];
|
2025-03-22 01:15:09 -07:00
|
|
|
ShipDecorations?: ITypeCount[];
|
2025-02-05 12:23:35 -08:00
|
|
|
|
2025-02-09 09:39:45 -08:00
|
|
|
SyndicateId?: string;
|
|
|
|
SortieId?: string;
|
|
|
|
SeasonChallengeCompletions?: ISeasonChallenge[];
|
2025-01-24 14:13:21 +01:00
|
|
|
AffiliationChanges?: IAffiliationChange[];
|
|
|
|
crossPlaySetting?: string;
|
2023-09-10 00:10:21 +04:00
|
|
|
rewardsMultiplier?: number;
|
2025-01-24 14:13:21 +01:00
|
|
|
GoalTag: string;
|
|
|
|
LevelKeyName: string;
|
2023-09-10 00:10:21 +04:00
|
|
|
ActiveBoosters?: IBooster[];
|
|
|
|
RawUpgrades?: IRawUpgrade[];
|
2024-07-03 23:01:35 +02:00
|
|
|
FusionTreasures?: IFusionTreasure[];
|
2025-01-31 17:24:42 +01:00
|
|
|
QuestKeys?: Omit<IQuestKeyDatabase, "CompletionDate">[];
|
2023-09-10 00:10:21 +04:00
|
|
|
RegularCredits?: number;
|
2025-01-24 14:13:21 +01:00
|
|
|
MissionFailed: boolean;
|
|
|
|
MissionStatus: IMissionStatus;
|
|
|
|
AliveTime: number;
|
|
|
|
MissionTime: number;
|
2023-09-10 00:10:21 +04:00
|
|
|
Missions?: IMission;
|
2024-06-29 13:50:32 +02:00
|
|
|
LastRegionPlayed?: TSolarMapRegion;
|
2025-01-24 14:13:21 +01:00
|
|
|
GameModeId: number;
|
|
|
|
hosts: string[];
|
|
|
|
currentClients: unknown[];
|
|
|
|
ChallengeProgress: IChallengeProgress[];
|
|
|
|
PS: string;
|
|
|
|
ActiveDojoColorResearch: string;
|
|
|
|
RewardInfo?: IRewardInfo;
|
|
|
|
ReceivedCeremonyMsg: boolean;
|
|
|
|
LastCeremonyResetDate: number;
|
|
|
|
MissionPTS: number;
|
|
|
|
RepHash: string;
|
|
|
|
EndOfMatchUpload: boolean;
|
|
|
|
ObjectiveReached: boolean;
|
|
|
|
sharedSessionId: string;
|
|
|
|
FpsAvg: number;
|
|
|
|
FpsMin: number;
|
|
|
|
FpsMax: number;
|
|
|
|
FpsSamples: number;
|
|
|
|
EvolutionProgress?: IEvolutionProgress[];
|
2025-01-27 18:11:05 +01:00
|
|
|
FocusXpIncreases?: number[];
|
2025-01-31 17:03:14 +01:00
|
|
|
PlayerSkillGains: IPlayerSkills;
|
2025-02-01 07:41:34 -08:00
|
|
|
CustomMarkers?: ICustomMarkers[];
|
2025-02-20 02:57:23 -08:00
|
|
|
LoreFragmentScans?: ILoreFragmentScan[];
|
2025-02-25 04:38:47 -08:00
|
|
|
VoidTearParticipantsCurrWave?: {
|
|
|
|
Wave: number;
|
|
|
|
IsFinalWave: boolean;
|
|
|
|
Participants: IVoidTearParticipantInfo[];
|
|
|
|
};
|
2025-02-25 17:31:52 -08:00
|
|
|
LibraryScans?: {
|
|
|
|
EnemyType: string;
|
|
|
|
Count: number;
|
|
|
|
CodexScanCount: number;
|
|
|
|
Standing: number;
|
|
|
|
}[];
|
2025-02-28 18:09:37 -08:00
|
|
|
CollectibleScans?: ICollectibleEntry[];
|
2025-02-27 18:01:06 -08:00
|
|
|
Upgrades?: IUpgradeClient[]; // riven challenge progress
|
2025-03-09 07:42:55 -07:00
|
|
|
StrippedItems?: {
|
|
|
|
DropTable: string;
|
|
|
|
DROP_MOD: number[];
|
|
|
|
}[];
|
2025-03-16 04:33:21 -07:00
|
|
|
DeathMarks?: string[];
|
2025-03-22 06:08:00 -07:00
|
|
|
Nemesis?: number;
|
2025-03-24 01:38:32 -07:00
|
|
|
Boosters?: IBooster[];
|
2025-01-27 13:18:16 +01:00
|
|
|
} & {
|
|
|
|
[K in TEquipmentKey]?: IEquipmentClient[];
|
2025-01-24 14:13:21 +01:00
|
|
|
};
|
2024-06-22 17:56:36 +02:00
|
|
|
|
2025-01-24 14:13:21 +01:00
|
|
|
export interface IRewardInfo {
|
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;
|
2025-03-08 05:36:06 -08:00
|
|
|
NemesisAbandonedRewards?: string[];
|
2023-09-10 00:10:21 +04:00
|
|
|
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;
|
2025-02-09 09:39:45 -08:00
|
|
|
periodicMissionTag?: string;
|
2023-09-10 00:10:21 +04:00
|
|
|
}
|
|
|
|
|
2025-01-24 14:13:21 +01:00
|
|
|
export type IMissionStatus = "GS_SUCCESS" | "GS_FAILURE" | "GS_DUMPED" | "GS_QUIT" | "GS_INTERRUPTED";
|
|
|
|
|
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
|
|
|
}
|
2025-01-24 14:13:21 +01:00
|
|
|
export interface IUnlockShipFeatureRequest {
|
|
|
|
Feature: string;
|
|
|
|
KeyChain: string;
|
|
|
|
ChainStage: number;
|
|
|
|
}
|
2025-02-25 04:38:47 -08:00
|
|
|
|
|
|
|
export interface IVoidTearParticipantInfo {
|
|
|
|
AccountId: string;
|
|
|
|
Name: string;
|
|
|
|
ChosenRewardOwner: string;
|
|
|
|
MissionHash: string;
|
|
|
|
VoidProjection: string;
|
|
|
|
Reward: string;
|
|
|
|
QualifiesForReward: boolean;
|
|
|
|
HaveRewardResponse: boolean;
|
|
|
|
RewardsMultiplier: number;
|
|
|
|
RewardProjection: string;
|
|
|
|
HardModeReward: ITypeCount;
|
|
|
|
}
|