Skip to content

Commit

Permalink
fix(client, typings): add missing PlayerVehicleSeatChange event (#…
Browse files Browse the repository at this point in the history
…154)

* typings|client: add missing PlayerVehicleSeatChange event

* typings|client: Bump version
  • Loading branch information
FlorianV85 authored Nov 29, 2023
1 parent 5efeffa commit 6416143
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions types/client/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1525,6 +1525,8 @@ declare module "@altv/client" {
export function oncePlayerVehicleEntered<T extends Player>(callback: GenericPlayerEventCallback<PlayerVehicleEnterEventParameters, T>): altShared.Events.EventHandler;
export function onPlayerVehicleLeft<T extends Player>(callback: GenericPlayerEventCallback<PlayerVehicleLeaveEventParameters, T>): altShared.Events.EventHandler;
export function oncePlayerVehicleLeft<T extends Player>(callback: GenericPlayerEventCallback<PlayerVehicleLeaveEventParameters, T>): altShared.Events.EventHandler;
export function onPlayerVehicleSeatChange<T extends Player>(callback: GenericPlayerEventCallback<PlayerChangeVehicleSeatEventParameters, T>): altShared.Events.EventHandler;
export function oncePlayerVehicleSeatChange<T extends Player>(callback: GenericPlayerEventCallback<PlayerChangeVehicleSeatEventParameters, T>): altShared.Events.EventHandler;

export function onVoiceConnectionUpdate(callback: GenericEventCallback<VoiceConnectionEventParameters>): altShared.Events.EventHandler;
export function onceVoiceConnectionUpdate(callback: GenericEventCallback<VoiceConnectionEventParameters>): altShared.Events.EventHandler;
Expand Down
2 changes: 1 addition & 1 deletion types/client/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@altv/client",
"version": "0.0.12",
"version": "0.0.13",
"description": "This package contains the type definitions for the alt:V JS module v2 client types",
"types": "index.d.ts",
"files": [
Expand Down

0 comments on commit 6416143

Please sign in to comment.