Skip to content

Commit

Permalink
Merge pull request #96 from kwattt/orderid-voice-trailer
Browse files Browse the repository at this point in the history
  • Loading branch information
shr0x authored Nov 14, 2024
2 parents e2df9d8 + 0194add commit 2e24ae3
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions packages/client/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -904,6 +904,11 @@ declare interface UserMpPreferences {
* Gets the client's language settings (Set inside the RAGE:MP client)
*/
language: string;

/**
* Get the FQDN/ip of the server player connected to.
*/
readonly serverAddress: string;
}

declare interface NametagsMp {
Expand Down Expand Up @@ -1014,6 +1019,9 @@ declare interface VoiceChatMp {
networkOptimisations: boolean;

bitrate: number;

// Get/Set the default volume of the voice chat
defaultVolume: number
}

declare interface RaycastingMp {
Expand Down Expand Up @@ -1111,6 +1119,12 @@ declare interface BrowserMp {
* Property used to gets the mouse input state
*/
mouseInputEnabled: boolean;

/**
* Property used to gets/set the browser's order id.
*/
orderId: number

}

declare interface BrowserMpPool extends EntityMpPool<BrowserMp> {
Expand Down Expand Up @@ -3117,6 +3131,9 @@ declare interface VehicleMp extends EntityMp {
deleteBrokenPartObjects: boolean;
// Forces remote vehicles broken vehicle door map object removal
deleteBrokenDoorObjects: boolean;

// experimental
setTrailerAttachmentsUnbreakable(toggle: boolean): void;
}

declare interface VehicleMpPool extends EntityMpPool<VehicleMp> {
Expand Down

0 comments on commit 2e24ae3

Please sign in to comment.