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

48 lines
809 B
TypeScript
Raw Normal View History

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