Server/project/src/models/eft/hideout/IQteData.ts

49 lines
836 B
TypeScript
Raw Normal View History

2023-03-03 16:23:46 +01:00
export interface IQteData
{
2023-11-16 02:35:05 +01:00
Id: string;
Type: string;
Area: string;
AreaLevel: number;
QuickTimeEvents: IQuickTimeEvent[];
Requirements: IQteRequirement[];
Results: Record<string, IQteResult>;
2023-03-03 16:23:46 +01:00
}
export interface IQuickTimeEvent
{
2023-11-16 02:35:05 +01:00
Type: string;
Position: number;
StartDelay: number;
EndDelay: number;
Speed: number;
SuccessRange: string;
Key: string;
2023-03-03 16:23:46 +01:00
}
export interface IQteRequirement
{
2023-11-16 02:35:05 +01:00
type: string;
2023-03-03 16:23:46 +01:00
}
export interface IQteResult
{
2023-11-16 02:35:05 +01:00
Energy: number;
Hydration: number;
RewardsRange: IQteEffect[];
2023-03-03 16:23:46 +01:00
}
export interface IQteEffect
{
2023-11-16 02:35:05 +01:00
Type: string;
SkillId: string;
levelMultipliers: ISkillLevelMultiplier[];
Time: number;
Weight: number;
Result: string;
2023-03-03 16:23:46 +01:00
}
export interface ISkillLevelMultiplier
{
2023-11-16 02:35:05 +01:00
level: number;
multiplier: number;
}