From d641283bc034364478e6a811fce85a6a318b9e55 Mon Sep 17 00:00:00 2001 From: xLuxy <67131061+xLuxy@users.noreply.github.com> Date: Mon, 19 Aug 2024 21:37:01 +0200 Subject: [PATCH 1/2] chore: Bump version --- client/package.json | 2 +- server/package.json | 2 +- shared/package.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/client/package.json b/client/package.json index b6f538ae..49fb5c08 100644 --- a/client/package.json +++ b/client/package.json @@ -1,6 +1,6 @@ { "name": "@altv/types-client", - "version": "16.0.15", + "version": "16.0.16", "description": "This package contains types definitions for alt:V client-side module.", "types": "index.d.ts", "files": [ diff --git a/server/package.json b/server/package.json index b9c195b5..8b7a2c7e 100644 --- a/server/package.json +++ b/server/package.json @@ -1,6 +1,6 @@ { "name": "@altv/types-server", - "version": "16.0.10", + "version": "16.0.11", "description": "This package contains types definitions for alt:V server-side module.", "types": "index.d.ts", "files": [ diff --git a/shared/package.json b/shared/package.json index 2b490019..a7d04858 100644 --- a/shared/package.json +++ b/shared/package.json @@ -1,6 +1,6 @@ { "name": "@altv/types-shared", - "version": "16.0.2", + "version": "16.0.3", "description": "This package contains types definitions for alt:V JS module shared types.", "types": "index.d.ts", "files": [ From 143fd8f257a222697284be7553beb805a1fa6cc0 Mon Sep 17 00:00:00 2001 From: xLuxy <67131061+xLuxy@users.noreply.github.com> Date: Tue, 20 Aug 2024 12:39:12 +0200 Subject: [PATCH 2/2] feat(client): Add new methods --- client/index.d.ts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/client/index.d.ts b/client/index.d.ts index 59abb407..5741ca69 100644 --- a/client/index.d.ts +++ b/client/index.d.ts @@ -235,6 +235,7 @@ declare module "alt-client" { deformationDamageMult: number; downforceModifier: number; driveBiasFront: number; + driveBiasRear: number; driveInertia: number; driveMaxFlatVel: number; engineDamageMult: number; @@ -1610,6 +1611,13 @@ declare module "alt-client" { */ public setWheelTyreWidth(wheelIndex: number, width: number): void; + public getWheelDynamicFlag(wheelIndex: number, flag: number): boolean; + public setWheelDynamicFlag(wheelIndex: number, flag: number, value: boolean): void; + public getWheelConfigFlag(wheelIndex: number, flag: number): boolean; + public setWheelConfigFlag(wheelIndex: number, flag: number, value: boolean): void; + + public setupTransmission(): void; + /** * Vehicle daylight state. */ @@ -2299,6 +2307,7 @@ declare module "alt-client" { public deformationDamageMult: number; public downforceModifier: number; public driveBiasFront: number; + public driveBiasRear: number; public driveInertia: number; public driveMaxFlatVel: number; public engineDamageMult: number;