@citizenfx/client 2.0.4990-1 → 2.0.4998-1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -9751,24 +9751,24 @@ declare function GetPedEventData(ped: number, eventType: number, outData?: numbe
9751
9751
  declare function GetPedExtractedDisplacement(ped: number, worldSpace: boolean): number[];
9752
9752
 
9753
9753
  /**
9754
- * A getter for [\_SET_PED_EYE_COLOR](#\_0x50B56988B170AFDF). Returns -1 if fails to get.
9754
+ * A getter for [`_SET_PED_EYE_COLOR`](#\_0x50B56988B170AFDF).
9755
9755
  * @param ped The target ped
9756
9756
  * @return Returns ped's eye colour, or -1 if fails to get.
9757
9757
  */
9758
9758
  declare function GetPedEyeColor(ped: number): number;
9759
-
9760
9759
  /**
9761
9760
  * A getter for [`_SET_PED_EYE_COLOR`](#\_0x50B56988B170AFDF).
9762
9761
  * @param ped The target ped
9763
9762
  * @return Returns ped's eye colour, or -1 if fails to get.
9764
9763
  */
9765
- declare function GetPedEyeColor(ped: number): number;
9764
+ declare function N_0x76bba2cee66d47e9(ped: number): number;
9765
+
9766
9766
  /**
9767
- * A getter for [`_SET_PED_EYE_COLOR`](#\_0x50B56988B170AFDF).
9767
+ * A getter for [\_SET_PED_EYE_COLOR](#\_0x50B56988B170AFDF). Returns -1 if fails to get.
9768
9768
  * @param ped The target ped
9769
9769
  * @return Returns ped's eye colour, or -1 if fails to get.
9770
9770
  */
9771
- declare function N_0x76bba2cee66d47e9(ped: number): number;
9771
+ declare function GetPedEyeColor(ped: number): number;
9772
9772
 
9773
9773
  /**
9774
9774
  * A getter for [\_SET_PED_FACE_FEATURE](#\_0x71A5C1DBA060049E). Returns 0.0 if fails to get.
@@ -15950,6 +15950,8 @@ declare function MumbleAddVoiceTargetPlayer(targetId: number, player: number): v
15950
15950
  */
15951
15951
  declare function MumbleAddVoiceTargetPlayerByServerId(targetId: number, serverId: number): void;
15952
15952
 
15953
+ declare function MumbleClearVoiceChannel(): void;
15954
+
15953
15955
  /**
15954
15956
  * Clears the target list for the specified Mumble voice target ID.
15955
15957
  * @param targetId A Mumble voice target ID, ranging from 1..30 (inclusive).
@@ -15968,6 +15970,8 @@ declare function MumbleClearVoiceTargetChannels(targetId: number): void;
15968
15970
  */
15969
15971
  declare function MumbleClearVoiceTargetPlayers(targetId: number): void;
15970
15972
 
15973
+ declare function MumbleGetTalkerProximity(): number;
15974
+
15971
15975
  /**
15972
15976
  * Returns the mumble voice channel from a player's server id.
15973
15977
  * @param serverId The player's server id.
@@ -15975,6 +15979,8 @@ declare function MumbleClearVoiceTargetPlayers(targetId: number): void;
15975
15979
  */
15976
15980
  declare function MumbleGetVoiceChannelFromServerId(serverId: number): number;
15977
15981
 
15982
+ declare function MumbleIsActive(): boolean;
15983
+
15978
15984
  /**
15979
15985
  * This native will return true if the user succesfully connected to the voice server.
15980
15986
  * If the user disabled the voice-chat setting it will return false.
@@ -15982,6 +15988,8 @@ declare function MumbleGetVoiceChannelFromServerId(serverId: number): number;
15982
15988
  */
15983
15989
  declare function MumbleIsConnected(): boolean;
15984
15990
 
15991
+ declare function MumbleIsPlayerTalking(player: number): boolean;
15992
+
15985
15993
  /**
15986
15994
  * Stops listening to the specified channel.
15987
15995
  * @param channel A game voice channel ID.
@@ -16012,6 +16020,8 @@ declare function MumbleRemoveVoiceTargetPlayer(targetId: number, player: number)
16012
16020
  */
16013
16021
  declare function MumbleRemoveVoiceTargetPlayerByServerId(targetId: number, serverId: number): void;
16014
16022
 
16023
+ declare function MumbleSetActive(state: boolean): void;
16024
+
16015
16025
  /**
16016
16026
  * Sets the current input distance. The player will be able to talk to other players within this distance.
16017
16027
  * @param distance The input distance.
@@ -16049,6 +16059,10 @@ declare function MumbleSetServerAddress(address: string, port: number): void;
16049
16059
  */
16050
16060
  declare function MumbleSetSubmixForServerId(serverId: number, submixId: number): void;
16051
16061
 
16062
+ declare function MumbleSetTalkerProximity(value: number): void;
16063
+
16064
+ declare function MumbleSetVoiceChannel(channel: number): void;
16065
+
16052
16066
  /**
16053
16067
  * Sets the current Mumble voice target ID to broadcast voice to.
16054
16068
  * @param targetId A Mumble voice target ID, ranging from 1..30 (inclusive). 0 disables voice targets, and 31 is server loopback.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@citizenfx/client",
3
- "version": "2.0.4990-1",
3
+ "version": "2.0.4998-1",
4
4
  "description": "Typings for the CitizenFX client JS API.",
5
5
  "main": "index.js",
6
6
  "scripts": {