type
stringclasses
7 values
content
stringlengths
4
9.55k
repo
stringlengths
7
96
path
stringlengths
4
178
language
stringclasses
1 value
ArrowFunction
(): Figure => { const figure = this.props.data; if (typeof figure === "string") { return JSON.parse(figure); } // The Plotly API *mutates* the figure to include a UID, which means // they won't take our frozen objects if (Object.isFrozen(figure)) { return cloneDeep(figure); } const { data = {}, layout = {} } = figure; return { data, layout, }; }
alexisthual/hydrogen
lib/components/result-view/plotly.tsx
TypeScript
ArrowFunction
(gd: any) => { this.Plotly.toImage(gd).then(function (dataUrl) { const electron = require("electron") as typeof import("electron"); electron.remote.getCurrentWebContents().downloadURL(dataUrl); }); }
alexisthual/hydrogen
lib/components/result-view/plotly.tsx
TypeScript
ClassDeclaration
declare class PlotlyHTMLElement extends HTMLDivElement { data: Record<string, any>; layout: Record<string, any>; newPlot: () => void; redraw: () => void; }
alexisthual/hydrogen
lib/components/result-view/plotly.tsx
TypeScript
ClassDeclaration
export class PlotlyTransform extends React.Component<Props> { static defaultProps = { data: "", mediaType: "application/vnd.plotly.v1+json", }; plotDiv: HTMLDivElement | null; Plotly: { newPlot: ( div: HTMLDivElement | null | void, data: Record<string, any>, layout: FigureLayout ) => void; redraw: (div?: PlotlyHTMLElement) => void; toImage: (gd: any) => Promise<string>; }; constructor(props: Props) { super(props); this.downloadImage = this.downloadImage.bind(this); } componentDidMount(): void { // Handle case of either string to be `JSON.parse`d or pure object const figure = this.getFigure(); this.Plotly = require("@nteract/plotly"); this.Plotly.newPlot(this.plotDiv, figure.data, figure.layout, { modeBarButtonsToRemove: ["toImage"], modeBarButtonsToAdd: [ { name: "Download plot as a png", icon: this.Plotly.Icons.camera, click: this.downloadImage, }, ], }); } shouldComponentUpdate(nextProps: Props): boolean { return this.props.data !== nextProps.data; } componentDidUpdate() { const figure = this.getFigure(); if (!this.plotDiv) { return; } const plotDiv: PlotlyHTMLElement = this.plotDiv as any; plotDiv.data = figure.data; plotDiv.layout = figure.layout; this.Plotly.redraw(plotDiv); } plotDivRef = (plotDiv: HTMLDivElement | null): void => { this.plotDiv = plotDiv; }; getFigure = (): Figure => { const figure = this.props.data; if (typeof figure === "string") { return JSON.parse(figure); } // The Plotly API *mutates* the figure to include a UID, which means // they won't take our frozen objects if (Object.isFrozen(figure)) { return cloneDeep(figure); } const { data = {}, layout = {} } = figure; return { data, layout, }; }; downloadImage = (gd: any) => { this.Plotly.toImage(gd).then(function (dataUrl) { const electron = require("electron") as typeof import("electron"); electron.remote.getCurrentWebContents().downloadURL(dataUrl); }); }; render() { const { layout } = this.getFigure(); const style: Record<string, any> = {}; if (layout && layout.height && !layout.autosize) { style.height = layout.height; } return <div ref={this.plotDivRef} style={style} />; } }
alexisthual/hydrogen
lib/components/result-view/plotly.tsx
TypeScript
InterfaceDeclaration
interface Props { data: string | Record<string, any>; mediaType: "application/vnd.plotly.v1+json"; }
alexisthual/hydrogen
lib/components/result-view/plotly.tsx
TypeScript
InterfaceDeclaration
interface FigureLayout extends ObjectType { height?: string; autosize?: boolean; }
alexisthual/hydrogen
lib/components/result-view/plotly.tsx
TypeScript
InterfaceDeclaration
interface Figure extends ObjectType { data: Record<string, any>; layout: FigureLayout; }
alexisthual/hydrogen
lib/components/result-view/plotly.tsx
TypeScript
TypeAliasDeclaration
type ObjectType = Record<string, any>;
alexisthual/hydrogen
lib/components/result-view/plotly.tsx
TypeScript
MethodDeclaration
componentDidMount(): void { // Handle case of either string to be `JSON.parse`d or pure object const figure = this.getFigure(); this.Plotly = require("@nteract/plotly"); this.Plotly.newPlot(this.plotDiv, figure.data, figure.layout, { modeBarButtonsToRemove: ["toImage"], modeBarButtonsToAdd: [ { name: "Download plot as a png", icon: this.Plotly.Icons.camera, click: this.downloadImage, }, ], }); }
alexisthual/hydrogen
lib/components/result-view/plotly.tsx
TypeScript
MethodDeclaration
shouldComponentUpdate(nextProps: Props): boolean { return this.props.data !== nextProps.data; }
alexisthual/hydrogen
lib/components/result-view/plotly.tsx
TypeScript
MethodDeclaration
componentDidUpdate() { const figure = this.getFigure(); if (!this.plotDiv) { return; } const plotDiv: PlotlyHTMLElement = this.plotDiv as any; plotDiv.data = figure.data; plotDiv.layout = figure.layout; this.Plotly.redraw(plotDiv); }
alexisthual/hydrogen
lib/components/result-view/plotly.tsx
TypeScript
MethodDeclaration
render() { const { layout } = this.getFigure(); const style: Record<string, any> = {}; if (layout && layout.height && !layout.autosize) { style.height = layout.height; } return <div ref={this.plotDivRef} style={style} />; }
alexisthual/hydrogen
lib/components/result-view/plotly.tsx
TypeScript
ArrowFunction
theme => ({ root: { position: 'relative', }, border: { width: theme.spacing(5), height: theme.spacing(2), borderRadius: theme.spacing(3), border: '3px solid', borderColor: theme.palette.divider, backgroundColor: 'transparent', [theme.breakpoints.up('md')]: { width: theme.spacing(6), height: theme.spacing(3), } }, borderDark: { borderColor: colors.indigo[700], }, modeToggler: { position: 'absolute', top: `-${theme.spacing(1 / 2)}px`, left: `-${theme.spacing(1 / 2)}px`, width: theme.spacing(3), height: theme.spacing(3), borderRadius: '50%', backgroundColor: theme.palette.text.primary, transition: `transform .3s cubic-bezier(.4,.03,0,1)`, cursor: 'pointer', [theme.breakpoints.up('md')]: { width: theme.spacing(4), height: theme.spacing(4), } }, modeTogglerDark: { transform: `translateX(${theme.spacing(3)}px)`, backgroundColor: colors.indigo[900], }, modeTogglerIcon: { fill: theme.palette.secondary.main, marginTop: theme.spacing(1 / 2), marginLeft: theme.spacing(1 / 2), [theme.breakpoints.up('md')]: { marginTop: theme.spacing(1), marginLeft: theme.spacing(1), } }, })
bf2344/WebDev
src/components/DarkModeToggler/useStyles.ts
TypeScript
InterfaceDeclaration
export interface Globals { config: Config bot_presets: BotPreset[] BotWeaponScatterings: BotWeaponScattering[] ItemPresets: ItemPresets HealthEffect: null }
BetrixDev/Tarkov-Helper
src/types/game/Globals.d.ts
TypeScript
InterfaceDeclaration
export interface BotWeaponScattering { Name: string PriorityScatter1meter: number PriorityScatter10meter: number PriorityScatter100meter: number }
BetrixDev/Tarkov-Helper
src/types/game/Globals.d.ts
TypeScript
InterfaceDeclaration
export interface The5841474424597759_Ba49Be91 { _id: string _type: Type _changeWeaponName: boolean _name: string _parent: string _items: The5841474424597759Ba49Be91Item[] _encyclopedia?: string }
BetrixDev/Tarkov-Helper
src/types/game/Globals.d.ts
TypeScript
InterfaceDeclaration
export interface The5841474424597759Ba49Be91Item { _id: string _tpl: string upd?: PurpleUpd parentId?: string slotId?: string }
BetrixDev/Tarkov-Helper
src/types/game/Globals.d.ts
TypeScript
InterfaceDeclaration
export interface PurpleUpd { FireMode: FireModeClass }
BetrixDev/Tarkov-Helper
src/types/game/Globals.d.ts
TypeScript
InterfaceDeclaration
export interface FireModeClass { FireMode: FireModeEnum }
BetrixDev/Tarkov-Helper
src/types/game/Globals.d.ts
TypeScript
InterfaceDeclaration
export interface The584147732459775_A2B6D9F12 { _id: string _type: Type _changeWeaponName: boolean _name: string _parent: string _items: The584147732459775A2B6D9F12Item[] _encyclopedia?: string }
BetrixDev/Tarkov-Helper
src/types/game/Globals.d.ts
TypeScript
InterfaceDeclaration
export interface The584147732459775A2B6D9F12Item { _id: string _tpl: string upd?: FluffyUpd parentId?: string slotId?: string }
BetrixDev/Tarkov-Helper
src/types/game/Globals.d.ts
TypeScript
InterfaceDeclaration
export interface FluffyUpd { Foldable?: Foldable FireMode?: FireModeClass }
BetrixDev/Tarkov-Helper
src/types/game/Globals.d.ts
TypeScript
InterfaceDeclaration
export interface Foldable { Folded: boolean }
BetrixDev/Tarkov-Helper
src/types/game/Globals.d.ts
TypeScript
InterfaceDeclaration
export interface The5841482_E2459775A050Cdda9 { _id: string _type: Type _changeWeaponName: boolean _name: string _parent: string _items: The5841482E2459775A050Cdda9Item[] _encyclopedia?: string }
BetrixDev/Tarkov-Helper
src/types/game/Globals.d.ts
TypeScript
InterfaceDeclaration
export interface The5841482E2459775A050Cdda9Item { _id: string _tpl: string parentId?: string slotId?: string }
BetrixDev/Tarkov-Helper
src/types/game/Globals.d.ts
TypeScript
InterfaceDeclaration
export interface The59411_Abb86F77478F702B5D2 { _id: string _type: Type _changeWeaponName: boolean _name: string _parent: string _items: The59411Abb86F77478F702B5D2Item[] _encyclopedia?: string }
BetrixDev/Tarkov-Helper
src/types/game/Globals.d.ts
TypeScript
InterfaceDeclaration
export interface The59411Abb86F77478F702B5D2Item { _id: string _tpl: string parentId?: string slotId?: string upd?: TentacledUpd }
BetrixDev/Tarkov-Helper
src/types/game/Globals.d.ts
TypeScript
InterfaceDeclaration
export interface TentacledUpd { StackObjectsCount: number }
BetrixDev/Tarkov-Helper
src/types/game/Globals.d.ts
TypeScript
InterfaceDeclaration
export interface The5_Ddbbeac582Ed30A6134E577 { _id: string _type: Type _changeWeaponName: boolean _name: string _parent: string _items: The5Ddbbeac582Ed30A6134E577Item[] }
BetrixDev/Tarkov-Helper
src/types/game/Globals.d.ts
TypeScript
InterfaceDeclaration
export interface The5Ddbbeac582Ed30A6134E577Item { _id: string _tpl: string upd?: StickyUpd parentId?: string slotId?: string location?: number }
BetrixDev/Tarkov-Helper
src/types/game/Globals.d.ts
TypeScript
InterfaceDeclaration
export interface StickyUpd { Foldable?: Foldable FireMode?: FireModeClass StackObjectsCount?: number }
BetrixDev/Tarkov-Helper
src/types/game/Globals.d.ts
TypeScript
InterfaceDeclaration
export interface The5E0354F786F77425B53Eb6C5 { _id: string _type: Type _changeWeaponName: boolean _name: string _parent: string _items: The5E0354F786F77425B53Eb6C5Item[] _encyclopedia: string }
BetrixDev/Tarkov-Helper
src/types/game/Globals.d.ts
TypeScript
InterfaceDeclaration
export interface The5E0354F786F77425B53Eb6C5Item { _id: string _tpl: string upd?: StickyUpd parentId?: string slotId?: string }
BetrixDev/Tarkov-Helper
src/types/game/Globals.d.ts
TypeScript
InterfaceDeclaration
export interface BotPreset { UseThis: boolean Role: string BotDifficulty: string VisibleAngle: number VisibleDistance: number ScatteringPerMeter: number HearingSense: number SCATTERING_DIST_MODIF: number MAX_AIMING_UPGRADE_BY_TIME: number FIRST_CONTACT_ADD_SEC: number COEF_IF_MOVE: number }
BetrixDev/Tarkov-Helper
src/types/game/Globals.d.ts
TypeScript
InterfaceDeclaration
export interface Config { content: Content AimPunchMagnitude: number WeaponSkillProgressRate: number SkillAtrophy: boolean exp: Exp t_base_looting: number t_base_lockpicking: number armor: Armor SessionsToShowHotKeys: number MaxBotsAliveOnMap: number SavagePlayCooldown: number SavagePlayCooldownNdaFree: number MarksmanAccuracy: number SavagePlayCooldownDevelop: number TODSkyDate: string Mastering: Mastering[] GlobalItemPriceModifier: number TradingUnlimitedItems: boolean MaxLoyaltyLevelForAll: boolean GlobalLootChanceModifier: number TimeBeforeDeploy: number TimeBeforeDeployLocal: number LoadTimeSpeedProgress: number BaseLoadTime: number BaseUnloadTime: number BaseCheckTime: number Customization: Customization UncheckOnShot: boolean BotsEnabled: boolean ArmorMaterials: ArmorMaterials LegsOverdamage: number HandsOverdamage: number StomachOverdamage: number Health: ConfigHealth rating: Rating tournament: Tournament RagFair: RagFair handbook: Handbook FractureCausedByFalling: FractureCausedByBulletHit FractureCausedByBulletHit: FractureCausedByBulletHit WAVE_COEF_LOW: number WAVE_COEF_MID: number WAVE_COEF_HIGH: number WAVE_COEF_HORDE: number Stamina: Stamina StaminaRestoration: StaminaDrainClass StaminaDrain: StaminaDrainClass RequirementReferences: RequirementReferences RestrictionsInRaid: RestrictionsInRAID[] SkillMinEffectiveness: number SkillFatiguePerPoint: number SkillFreshEffectiveness: number SkillFreshPoints: number SkillPointsBeforeFatigue: number SkillFatigueReset: number EventType: string[] WalkSpeed: SprintSpeed SprintSpeed: SprintSpeed SkillEnduranceWeightThreshold: number TeamSearchingTimeout: number Insurance: Insurance SkillExpPerLevel: number GameSearchingTimeout: number WallContusionAbsorption: SprintSpeed SkillsSettings: SkillsSettings AzimuthPanelShowsPlayerOrientation: boolean Aiming: Aiming Malfunction: Malfunction Overheat: Overheat FenceSettings: FenceSettings TestValue: number Inertia: Inertia Ballistic: Ballistic }
BetrixDev/Tarkov-Helper
src/types/game/Globals.d.ts
TypeScript
InterfaceDeclaration
export interface Aiming { ProceduralIntensityByPose: SprintSpeed AimProceduralIntensity: number HeavyWeight: number LightWeight: number MaxTimeHeavy: number MinTimeHeavy: number MaxTimeLight: number MinTimeLight: number RecoilScaling: number RecoilDamping: number CameraSnapGlobalMult: number RecoilXIntensityByPose: SprintSpeed RecoilYIntensityByPose: SprintSpeed RecoilZIntensityByPose: SprintSpeed RecoilCrank: boolean RecoilHandDamping: number RecoilConvergenceMult: number RecoilVertBonus: number RecoilBackBonus: number }
BetrixDev/Tarkov-Helper
src/types/game/Globals.d.ts
TypeScript
InterfaceDeclaration
export interface SprintSpeed { x: number y: number z: number }
BetrixDev/Tarkov-Helper
src/types/game/Globals.d.ts
TypeScript
InterfaceDeclaration
export interface ArmorMaterials { UHMWPE: Aluminium Aramid: Aluminium Combined: Aluminium Titan: Aluminium Aluminium: Aluminium ArmoredSteel: Aluminium Ceramic: Aluminium Glass: Aluminium }
BetrixDev/Tarkov-Helper
src/types/game/Globals.d.ts
TypeScript
InterfaceDeclaration
export interface Aluminium { Destructibility: number MinRepairDegradation: number MaxRepairDegradation: number ExplosionDestructibility: number }
BetrixDev/Tarkov-Helper
src/types/game/Globals.d.ts
TypeScript
InterfaceDeclaration
export interface Ballistic { GlobalDamageDegradationCoefficient: number }
BetrixDev/Tarkov-Helper
src/types/game/Globals.d.ts
TypeScript
InterfaceDeclaration
export interface Customization { SavageHead: { [key: string]: SavageHead } SavageBody: { [key: string]: SavageBody } SavageFeet: { [key: string]: SavageFeet } CustomizationVoice: CustomizationVoice[] BodyParts: BodyParts }
BetrixDev/Tarkov-Helper
src/types/game/Globals.d.ts
TypeScript
InterfaceDeclaration
export interface BodyParts { Head: string Body: string Feet: string Hands: string }
BetrixDev/Tarkov-Helper
src/types/game/Globals.d.ts
TypeScript
InterfaceDeclaration
export interface CustomizationVoice { voice: string side: Side[] isNotRandom: boolean }
BetrixDev/Tarkov-Helper
src/types/game/Globals.d.ts
TypeScript
InterfaceDeclaration
export interface SavageBody { body: string hands: string isNotRandom: boolean }
BetrixDev/Tarkov-Helper
src/types/game/Globals.d.ts
TypeScript
InterfaceDeclaration
export interface SavageFeet { feet: string isNotRandom: boolean NotRandom: boolean }
BetrixDev/Tarkov-Helper
src/types/game/Globals.d.ts
TypeScript
InterfaceDeclaration
export interface SavageHead { head: string isNotRandom: boolean NotRandom: boolean }
BetrixDev/Tarkov-Helper
src/types/game/Globals.d.ts
TypeScript
InterfaceDeclaration
export interface FenceSettings { FenceId: string Levels: Levels paidExitStandingNumerator: number }
BetrixDev/Tarkov-Helper
src/types/game/Globals.d.ts
TypeScript
InterfaceDeclaration
export interface Levels { '0': The1 '1': The1 '2': The1 '3': The1 '4': The1 '5': The1 '6': The1 '-7': The1 '-6': The1 '-5': The1 '-4': The1 '-3': The1 '-2': The1 '-1': The1 }
BetrixDev/Tarkov-Helper
src/types/game/Globals.d.ts
TypeScript
InterfaceDeclaration
export interface The1 { SavageCooldownModifier: number ScavCaseTimeModifier: number PaidExitCostModifier: number BotFollowChance: number ScavEquipmentSpawnChanceModifier: number PriceModifier: number HostileBosses: boolean HostileScavs: boolean ScavAttackSupport: boolean ExfiltrationPriceModifier: number AvailableExits: number }
BetrixDev/Tarkov-Helper
src/types/game/Globals.d.ts
TypeScript
InterfaceDeclaration
export interface FractureCausedByBulletHit { FunctionType: string K: number B: number Threshold: number }
BetrixDev/Tarkov-Helper
src/types/game/Globals.d.ts
TypeScript
InterfaceDeclaration
export interface ConfigHealth { Falling: Falling Effects: Effects HealPrice: HealPrice ProfileHealthSettings: ProfileHealthSettings }
BetrixDev/Tarkov-Helper
src/types/game/Globals.d.ts
TypeScript
InterfaceDeclaration
export interface Effects { Existence: Existence Dehydration: Dehydration BreakPart: BreakPart Contusion: Contusion Disorientation: Contusion Exhaustion: Exhaustion LowEdgeHealth: LowEdgeHealth RadExposure: RADExposure Stun: Contusion Intoxication: BreakPart Regeneration: Regeneration Wound: Wound Berserk: Berserk Flash: Contusion MedEffect: MedEffect Pain: Pain PainKiller: Contusion SandingScreen: Contusion Stimulator: Stimulator Tremor: Tremor ChronicStaminaFatigue: ChronicStaminaFatigue Fracture: BreakPart HeavyBleeding: Bleeding LightBleeding: Bleeding BodyTemperature: BodyTemperature }
BetrixDev/Tarkov-Helper
src/types/game/Globals.d.ts
TypeScript
InterfaceDeclaration
export interface Berserk { DefaultDelay: number WorkingTime: number DefaultResidueTime: number }
BetrixDev/Tarkov-Helper
src/types/game/Globals.d.ts
TypeScript
InterfaceDeclaration
export interface BodyTemperature { DefaultBuildUpTime: number DefaultResidueTime: number LoopTime: number }
BetrixDev/Tarkov-Helper
src/types/game/Globals.d.ts
TypeScript
InterfaceDeclaration
export interface BreakPart { DefaultDelay: number DefaultResidueTime: number HealExperience: number OfflineDurationMin: number OfflineDurationMax: number RemovePrice: number RemovedAfterDeath: boolean BulletHitProbability?: FractureCausedByBulletHit FallingProbability?: FractureCausedByBulletHit DamageHealth?: number HealthLoopTime?: number }
BetrixDev/Tarkov-Helper
src/types/game/Globals.d.ts
TypeScript
InterfaceDeclaration
export interface ChronicStaminaFatigue { EnergyRate: number WorkingTime: number TicksEvery: number EnergyRatePerStack: number }
BetrixDev/Tarkov-Helper
src/types/game/Globals.d.ts
TypeScript
InterfaceDeclaration
export interface Contusion { Dummy: number }
BetrixDev/Tarkov-Helper
src/types/game/Globals.d.ts
TypeScript
InterfaceDeclaration
export interface Dehydration { DefaultDelay: number DefaultResidueTime: number BleedingHealth: number BleedingLoopTime: number BleedingLifeTime: number DamageOnStrongDehydration: number StrongDehydrationLoopTime: number }
BetrixDev/Tarkov-Helper
src/types/game/Globals.d.ts
TypeScript
InterfaceDeclaration
export interface Exhaustion { DefaultDelay: number DefaultResidueTime: number Damage: number DamageLoopTime: number }
BetrixDev/Tarkov-Helper
src/types/game/Globals.d.ts
TypeScript
InterfaceDeclaration
export interface Existence { EnergyLoopTime: number HydrationLoopTime: number EnergyDamage: number HydrationDamage: number DestroyedStomachEnergyTimeFactor: number DestroyedStomachHydrationTimeFactor: number }
BetrixDev/Tarkov-Helper
src/types/game/Globals.d.ts
TypeScript
InterfaceDeclaration
export interface Bleeding { DefaultDelay: number DefaultResidueTime: number DamageEnergy: number DamageHealth: number EnergyLoopTime: number HealthLoopTime: number DamageHealthDehydrated: number HealthLoopTimeDehydrated: number LifeTimeDehydrated: number EliteVitalityDuration: number HealExperience: number OfflineDurationMin: number OfflineDurationMax: number RemovePrice: number RemovedAfterDeath: boolean Probability: FractureCausedByBulletHit }
BetrixDev/Tarkov-Helper
src/types/game/Globals.d.ts
TypeScript
InterfaceDeclaration
export interface LowEdgeHealth { DefaultDelay: number DefaultResidueTime: number StartCommonHealth: number }
BetrixDev/Tarkov-Helper
src/types/game/Globals.d.ts
TypeScript
InterfaceDeclaration
export interface MedEffect { LoopTime: number StartDelay: number DrinkStartDelay: number FoodStartDelay: number DrugsStartDelay: number MedKitStartDelay: number MedicalStartDelay: number StimulatorStartDelay: number }
BetrixDev/Tarkov-Helper
src/types/game/Globals.d.ts
TypeScript
InterfaceDeclaration
export interface Pain { TremorDelay: number HealExperience: number }
BetrixDev/Tarkov-Helper
src/types/game/Globals.d.ts
TypeScript
InterfaceDeclaration
export interface RADExposure { Damage: number DamageLoopTime: number }
BetrixDev/Tarkov-Helper
src/types/game/Globals.d.ts
TypeScript
InterfaceDeclaration
export interface Regeneration { LoopTime: number MinimumHealthPercentage: number Energy: number Hydration: number BodyHealth: BodyHealth Influences: Influences }
BetrixDev/Tarkov-Helper
src/types/game/Globals.d.ts
TypeScript
InterfaceDeclaration
export interface BodyHealth { Head: BodyHealthChest Chest: BodyHealthChest Stomach: BodyHealthChest LeftArm: BodyHealthChest RightArm: BodyHealthChest LeftLeg: BodyHealthChest RightLeg: BodyHealthChest }
BetrixDev/Tarkov-Helper
src/types/game/Globals.d.ts
TypeScript
InterfaceDeclaration
export interface BodyHealthChest { Value: number }
BetrixDev/Tarkov-Helper
src/types/game/Globals.d.ts
TypeScript
InterfaceDeclaration
export interface Influences { LightBleeding: Fracture HeavyBleeding: Fracture Fracture: Fracture RadExposure: Fracture Intoxication: Fracture }
BetrixDev/Tarkov-Helper
src/types/game/Globals.d.ts
TypeScript
InterfaceDeclaration
export interface Fracture { HealthSlowDownPercentage: number EnergySlowDownPercentage: number HydrationSlowDownPercentage: number }
BetrixDev/Tarkov-Helper
src/types/game/Globals.d.ts
TypeScript
InterfaceDeclaration
export interface Stimulator { BuffLoopTime: number Buffs: { [key: string]: Buff[] } }
BetrixDev/Tarkov-Helper
src/types/game/Globals.d.ts
TypeScript
InterfaceDeclaration
export interface Buff { BuffType: string Chance: number Delay: number Duration: number Value: number AbsoluteValue: boolean SkillName: string AppliesTo?: string[] }
BetrixDev/Tarkov-Helper
src/types/game/Globals.d.ts
TypeScript
InterfaceDeclaration
export interface Tremor { DefaultDelay: number DefaultResidueTime: number }
BetrixDev/Tarkov-Helper
src/types/game/Globals.d.ts
TypeScript
InterfaceDeclaration
export interface Wound { WorkingTime: number ThresholdMin: number ThresholdMax: number }
BetrixDev/Tarkov-Helper
src/types/game/Globals.d.ts
TypeScript
InterfaceDeclaration
export interface Falling { DamagePerMeter: number SafeHeight: number }
BetrixDev/Tarkov-Helper
src/types/game/Globals.d.ts
TypeScript
InterfaceDeclaration
export interface HealPrice { HealthPointPrice: number HydrationPointPrice: number EnergyPointPrice: number TrialLevels: number TrialRaids: number }
BetrixDev/Tarkov-Helper
src/types/game/Globals.d.ts
TypeScript
InterfaceDeclaration
export interface ProfileHealthSettings { BodyPartsSettings: BodyPartsSettings HealthFactorsSettings: HealthFactorsSettings }
BetrixDev/Tarkov-Helper
src/types/game/Globals.d.ts
TypeScript
InterfaceDeclaration
export interface BodyPartsSettings { Head: EnergyClass Chest: EnergyClass Stomach: EnergyClass LeftArm: EnergyClass RightArm: EnergyClass LeftLeg: EnergyClass RightLeg: EnergyClass }
BetrixDev/Tarkov-Helper
src/types/game/Globals.d.ts
TypeScript
InterfaceDeclaration
export interface EnergyClass { Minimum: number Maximum: number Default: number OverDamageReceivedMultiplier?: number }
BetrixDev/Tarkov-Helper
src/types/game/Globals.d.ts
TypeScript
InterfaceDeclaration
export interface HealthFactorsSettings { Energy: EnergyClass Hydration: EnergyClass Temperature: EnergyClass Poisoning: EnergyClass Radiation: EnergyClass }
BetrixDev/Tarkov-Helper
src/types/game/Globals.d.ts
TypeScript
InterfaceDeclaration
export interface Inertia { InertiaLimits: SprintSpeed InertiaLimitsStep: number ExitMovementStateSpeedThreshold: SprintSpeed WalkInertia: SprintSpeed FallThreshold: number SpeedLimitAfterFallMin: SprintSpeed SpeedLimitAfterFallMax: SprintSpeed SpeedLimitDurationMin: SprintSpeed SpeedLimitDurationMax: SprintSpeed SpeedInertiaAfterJump: SprintSpeed BaseJumpPenaltyDuration: number DurationPower: number BaseJumpPenalty: number PenaltyPower: number InertiaTiltCurveMin: SprintSpeed InertiaTiltCurveMax: SprintSpeed InertiaBackwardCoef: SprintSpeed TiltInertiaMaxSpeed: SprintSpeed TiltStartSideBackSpeed: SprintSpeed TiltMaxSideBackSpeed: SprintSpeed TiltAcceleration: SprintSpeed AverageRotationFrameSpan: number SprintSpeedInertiaCurveMin: SprintSpeed SprintSpeedInertiaCurveMax: SprintSpeed SprintBrakeInertia: SprintSpeed SprintTransitionMotionPreservation: SprintSpeed WeaponFlipSpeed: SprintSpeed PreSprintAccelerationLimits: SprintSpeed SprintAccelerationLimits: SprintSpeed SideTime: SprintSpeed DiagonalTime: SprintSpeed MinDirectionBlendTime: number MoveTime: number MinMovementAccelerationRangeRight: SprintSpeed MaxMovementAccelerationRangeRight: SprintSpeed }
BetrixDev/Tarkov-Helper
src/types/game/Globals.d.ts
TypeScript
InterfaceDeclaration
export interface Insurance { MaxStorageTimeInHour: number }
BetrixDev/Tarkov-Helper
src/types/game/Globals.d.ts
TypeScript
InterfaceDeclaration
export interface Malfunction { AmmoMalfChanceMult: number MagazineMalfChanceMult: number MalfRepairHardSlideMult: number MalfRepairOneHandBrokenMult: number MalfRepairTwoHandsBrokenMult: number AllowMalfForBots: boolean ShowGlowAttemptsCount: number OutToIdleSpeedMultForPistol: number IdleToOutSpeedMultOnMalf: number TimeToQuickdrawPistol: number DurRangeToIgnoreMalfs: SprintSpeed DurFeedWt: number DurMisfireWt: number DurJamWt: number DurSoftSlideWt: number DurHardSlideMinWt: number DurHardSlideMaxWt: number AmmoMisfireWt: number AmmoFeedWt: number AmmoJamWt: number OverheatFeedWt: number OverheatJamWt: number OverheatSoftSlideWt: number OverheatHardSlideMinWt: number OverheatHardSlideMaxWt: number }
BetrixDev/Tarkov-Helper
src/types/game/Globals.d.ts
TypeScript
InterfaceDeclaration
export interface Mastering { Name: string Templates: string[] Level2: number Level3: number }
BetrixDev/Tarkov-Helper
src/types/game/Globals.d.ts
TypeScript
InterfaceDeclaration
export interface Overheat { MinOverheat: number MaxOverheat: number OverheatProblemsStart: number ModHeatFactor: number ModCoolFactor: number MinWearOnOverheat: number MaxWearOnOverheat: number MinWearOnMaxOverheat: number MaxWearOnMaxOverheat: number OverheatWearLimit: number MaxCOIIncreaseMult: number MinMalfChance: number MaxMalfChance: number DurReduceMinMult: number DurReduceMaxMult: number BarrelMoveRndDuration: number BarrelMoveMaxMult: number FireratePitchMult: number FirerateReduceMinMult: number FirerateReduceMaxMult: number FirerateOverheatBorder: number EnableSlideOnMaxOverheat: boolean StartSlideOverheat: number FixSlideOverheat: number AutoshotMinOverheat: number AutoshotChance: number AutoshotPossibilityDuration: number MaxOverheatCoolCoef: number }
BetrixDev/Tarkov-Helper
src/types/game/Globals.d.ts
TypeScript
InterfaceDeclaration
export interface RagFair { enabled: boolean priceStabilizerEnabled: boolean includePveTraderSales: boolean priceStabilizerStartIntervalInHours: number minUserLevel: number communityTax: number communityItemTax: number communityRequirementTax: number offerPriorityCost: number offerDurationTimeInHour: number offerDurationTimeInHourAfterRemove: number priorityTimeModifier: number maxRenewOfferTimeInHour: number renewPricePerHour: number maxActiveOfferCount: MaxActiveOfferCount[] balancerRemovePriceCoefficient: number balancerMinPriceCount: number balancerAveragePriceCoefficient: number delaySinceOfferAdd: number uniqueBuyerTimeoutInDays: number ratingSumForIncrease: number ratingIncreaseCount: number ratingSumForDecrease: number ratingDecreaseCount: number maxSumForIncreaseRatingPerOneSale: number maxSumForDecreaseRatingPerOneSale: number maxSumForRarity: MaxSumForRarity ChangePriceCoef: number balancerUserItemSaleCooldownEnabled: boolean balancerUserItemSaleCooldown: number youSellOfferMaxStorageTimeInHour: number yourOfferDidNotSellMaxStorageTimeInHour: number isOnlyFoundInRaidAllowed: boolean sellInOnePiece: number }
BetrixDev/Tarkov-Helper
src/types/game/Globals.d.ts
TypeScript
InterfaceDeclaration
export interface MaxActiveOfferCount { from: number to: number count: number }
BetrixDev/Tarkov-Helper
src/types/game/Globals.d.ts
TypeScript
InterfaceDeclaration
export interface MaxSumForRarity { Common: Common Rare: Common Superrare: Common Not_exist: Common }
BetrixDev/Tarkov-Helper
src/types/game/Globals.d.ts
TypeScript
InterfaceDeclaration
export interface Common { value: number }
BetrixDev/Tarkov-Helper
src/types/game/Globals.d.ts
TypeScript
InterfaceDeclaration
export interface RequirementReferences { Alpinist: Alpinist[] }
BetrixDev/Tarkov-Helper
src/types/game/Globals.d.ts
TypeScript
InterfaceDeclaration
export interface Alpinist { Requirement: string Id: string Count: number RequiredSlot: string RequirementTip: string }
BetrixDev/Tarkov-Helper
src/types/game/Globals.d.ts
TypeScript
InterfaceDeclaration
export interface RestrictionsInRAID { TemplateId: string Value: number }
BetrixDev/Tarkov-Helper
src/types/game/Globals.d.ts
TypeScript
InterfaceDeclaration
export interface SkillsSettings { SkillProgressRate: number WeaponSkillProgressRate: number WeaponSkillRecoilBonusPerLevel: number HideoutManagement: HideoutManagement Crafting: Crafting Metabolism: Metabolism Immunity: Immunity Endurance: Endurance Strength: Strength Vitality: Vitality Health: SkillsSettingsHealth StressResistance: StressResistance Throwing: Throwing RecoilControl: RecoilControl Pistol: Assault Revolver: any[] SMG: any[] Assault: Assault Shotgun: Assault Sniper: Assault LMG: any[] HMG: any[] Launcher: any[] AttachedLauncher: any[] Melee: any[] DMR: Assault BearAssaultoperations: any[] BearAuthority: any[] BearAksystems: any[] BearHeavycaliber: any[] BearRawpower: any[] UsecArsystems: any[] UsecDeepweaponmodding_Settings: any[] UsecLongrangeoptics_Settings: any[] UsecNegotiations: any[] UsecTactics: any[] BotReload: any[] CovertMovement: CovertMovement FieldMedicine: any[] Search: Search Sniping: any[] ProneMovement: any[] FirstAid: any[] LightVests: any[] HeavyVests: any[] WeaponModding: any[] AdvancedModding: any[] NightOps: any[] SilentOps: any[] Lockpicking: any[] WeaponTreatment: WeaponTreatment MagDrills: MagDrills Freetrading: any[] Auctions: any[] Cleanoperations: any[] Barter: any[] Shadowconnections: any[] Taskperformance: any[] Perception: Perception Intellect: Intellect Attention: Attention Charisma: Charisma Memory: Memory Surgery: Surgery AimDrills: AimDrills BotSound: any[] TroubleShooting: TroubleShooting }
BetrixDev/Tarkov-Helper
src/types/game/Globals.d.ts
TypeScript
InterfaceDeclaration
export interface AimDrills { WeaponShotAction: number }
BetrixDev/Tarkov-Helper
src/types/game/Globals.d.ts
TypeScript
InterfaceDeclaration
export interface Assault { WeaponReloadAction: number WeaponShotAction: number WeaponFixAction: number WeaponChamberAction: number }
BetrixDev/Tarkov-Helper
src/types/game/Globals.d.ts
TypeScript
InterfaceDeclaration
export interface Attention { ExamineWithInstruction: number FindActionFalse: number FindActionTrue: number }
BetrixDev/Tarkov-Helper
src/types/game/Globals.d.ts
TypeScript
InterfaceDeclaration
export interface Charisma { SkillProgressInt: number SkillProgressAtn: number SkillProgressPer: number }
BetrixDev/Tarkov-Helper
src/types/game/Globals.d.ts
TypeScript
InterfaceDeclaration
export interface CovertMovement { MovementAction: number }
BetrixDev/Tarkov-Helper
src/types/game/Globals.d.ts
TypeScript
InterfaceDeclaration
export interface Crafting { PointsPerCraftingCycle: number CraftingCycleHours: number PointsPerUniqueCraftCycle: number UniqueCraftsPerCycle: number CraftTimeReductionPerLevel: number ProductionTimeReductionPerLevel: number EliteExtraProductions: number CraftingPointsToInteligence: number }
BetrixDev/Tarkov-Helper
src/types/game/Globals.d.ts
TypeScript
InterfaceDeclaration
export interface Endurance { MovementAction: number SprintAction: number GainPerFatigueStack: number }
BetrixDev/Tarkov-Helper
src/types/game/Globals.d.ts
TypeScript