From 66c6243b0975a1edc71567d2daa16661a6a69123 Mon Sep 17 00:00:00 2001 From: xLuxy <67131061+xLuxy@users.noreply.github.com> Date: Thu, 13 Jun 2024 13:27:53 +0200 Subject: [PATCH 1/2] chore: Bump version --- client/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/package.json b/client/package.json index 4363d4db..b6f538ae 100644 --- a/client/package.json +++ b/client/package.json @@ -1,6 +1,6 @@ { "name": "@altv/types-client", - "version": "16.0.14", + "version": "16.0.15", "description": "This package contains types definitions for alt:V client-side module.", "types": "index.d.ts", "files": [ From 13cccc7f86586176514dbdc538ae32b531ad5c0e Mon Sep 17 00:00:00 2001 From: xshady <54737754+xxshady@users.noreply.github.com> Date: Mon, 1 Jul 2024 16:19:44 +0300 Subject: [PATCH 2/2] chore(server): add some descriptions of voice channel properties (#318) --- server/index.d.ts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/server/index.d.ts b/server/index.d.ts index 7111ff6c..d428e325 100644 --- a/server/index.d.ts +++ b/server/index.d.ts @@ -2822,8 +2822,17 @@ declare module "alt-server" { public readonly maxDistance: number; public readonly isSpatial: boolean; + /** + * Priority of voice channel. + * If a player is in two channels and both can be heard by another player, only one should play the voice. + * Value is of type integer, can be negative. + */ public priority: number; + /** + * Hash of the filter name (should also be created on clientside). + * See docs: [Audio filters](https://docs.altv.mp/articles/audio_filters.html), [Voice](https://docs.altv.mp/articles/voice.html). + */ public filter: number; public addPlayer(player: Player): void;