@citizenfx/client 2.0.4751-1 → 2.0.4761-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.
@@ -9745,24 +9745,24 @@ declare function GetPedEventData(ped: number, eventType: number, outData?: numbe
9745
9745
  declare function GetPedExtractedDisplacement(ped: number, worldSpace: boolean): number[];
9746
9746
 
9747
9747
  /**
9748
- * A getter for [`_SET_PED_EYE_COLOR`](#\_0x50B56988B170AFDF).
9748
+ * A getter for [\_SET_PED_EYE_COLOR](#\_0x50B56988B170AFDF). Returns -1 if fails to get.
9749
9749
  * @param ped The target ped
9750
9750
  * @return Returns ped's eye colour, or -1 if fails to get.
9751
9751
  */
9752
9752
  declare function GetPedEyeColor(ped: number): number;
9753
+
9753
9754
  /**
9754
9755
  * A getter for [`_SET_PED_EYE_COLOR`](#\_0x50B56988B170AFDF).
9755
9756
  * @param ped The target ped
9756
9757
  * @return Returns ped's eye colour, or -1 if fails to get.
9757
9758
  */
9758
- declare function N_0x76bba2cee66d47e9(ped: number): number;
9759
-
9759
+ declare function GetPedEyeColor(ped: number): number;
9760
9760
  /**
9761
- * A getter for [\_SET_PED_EYE_COLOR](#\_0x50B56988B170AFDF). Returns -1 if fails to get.
9761
+ * A getter for [`_SET_PED_EYE_COLOR`](#\_0x50B56988B170AFDF).
9762
9762
  * @param ped The target ped
9763
9763
  * @return Returns ped's eye colour, or -1 if fails to get.
9764
9764
  */
9765
- declare function GetPedEyeColor(ped: number): number;
9765
+ declare function N_0x76bba2cee66d47e9(ped: number): number;
9766
9766
 
9767
9767
  /**
9768
9768
  * A getter for [\_SET_PED_FACE_FEATURE](#\_0x71A5C1DBA060049E). Returns 0.0 if fails to get.
@@ -15978,6 +15978,30 @@ declare function MumbleIsConnected(): boolean;
15978
15978
  */
15979
15979
  declare function MumbleRemoveVoiceChannelListen(channel: number): void;
15980
15980
 
15981
+ /**
15982
+ * Removes the specified voice channel from the user's voice targets.
15983
+ * Performs the opposite operation of [MUMBLE_ADD_VOICE_TARGET_CHANNEL](#\_0x4D386C9E)
15984
+ * @param targetId A Mumble voice target ID, ranging from 1..30 (inclusive).
15985
+ * @param channel The game voice channel ID to remove from the target.
15986
+ */
15987
+ declare function MumbleRemoveVoiceTargetChannel(targetId: number, channel: number): void;
15988
+
15989
+ /**
15990
+ * Removes the specified player from the user's voice targets.
15991
+ * Performs the opposite operation of [MUMBLE_ADD_VOICE_TARGET_PLAYER](#\_0x32C5355A)
15992
+ * @param targetId A Mumble voice target ID, ranging from 1..30 (inclusive).
15993
+ * @param player The player index to remove from the target.
15994
+ */
15995
+ declare function MumbleRemoveVoiceTargetPlayer(targetId: number, player: number): void;
15996
+
15997
+ /**
15998
+ * Removes the specified player from the user's voice targets.
15999
+ * Performs the opposite operation of [MUMBLE_ADD_VOICE_TARGET_PLAYER_BY_SERVER_ID](#\_0x25F2B65F)
16000
+ * @param targetId A Mumble voice target ID, ranging from 1..30 (inclusive).
16001
+ * @param serverId The player's server id to remove from the target.
16002
+ */
16003
+ declare function MumbleRemoveVoiceTargetPlayerByServerId(targetId: number, serverId: number): void;
16004
+
15981
16005
  /**
15982
16006
  * Sets the current input distance. The player will be able to talk to other players within this distance.
15983
16007
  * @param distance The input distance.
@@ -39643,6 +39667,13 @@ declare function UnpinRopeVertex(ropeId: number, vertex: number): void;
39643
39667
  */
39644
39668
  declare function UnregisterPedheadshot(id: number): void;
39645
39669
 
39670
+ /**
39671
+ * Will unregister and cleanup a registered NUI callback handler.
39672
+ * Use along side the REGISTER_RAW_NUI_CALLBACK native.
39673
+ * @param callbackType The callback type to target
39674
+ */
39675
+ declare function UnregisterRawNuiCallback(callbackType: string): void;
39676
+
39646
39677
  /**
39647
39678
  * **This native does absolutely nothing, just a nullsub**
39648
39679
  * ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@citizenfx/client",
3
- "version": "2.0.4751-1",
3
+ "version": "2.0.4761-1",
4
4
  "description": "Typings for the CitizenFX client JS API.",
5
5
  "main": "index.js",
6
6
  "scripts": {