@citizenfx/client 2.0.6392-1 → 2.0.6394-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.
@@ -11527,11 +11527,31 @@ declare function GetHeliTailRotorHealth(vehicle: number): number;
11527
11527
  */
11528
11528
  declare function GetHudColour(hudColorIndex: number): [number, number, number, number];
11529
11529
 
11530
+ /**
11531
+ * See [SET_SCRIPT_GFX_ALIGN](#\_0xB8A850F20A067EB6) for details about how gfx align works.
11532
+ * @param id The hud component id.
11533
+ */
11534
+ declare function GetHudComponentAlign(id: number): [number, number];
11535
+
11536
+ /**
11537
+ * GET_HUD_COMPONENT_NAME
11538
+ * @param id The hud component id.
11539
+ * @return The hud component name.
11540
+ */
11541
+ declare function GetHudComponentName(id: number): string;
11542
+
11530
11543
  /**
11531
11544
  * GET_HUD_COMPONENT_POSITION
11532
11545
  */
11533
11546
  declare function GetHudComponentPosition(id: number): number[];
11534
11547
 
11548
+ /**
11549
+ * GET_HUD_COMPONENT_SIZE
11550
+ * @param id The hud component id.
11551
+ * @return A Vector3 with the hud component size X and size Y values.
11552
+ */
11553
+ declare function GetHudComponentSize(id: number): number[];
11554
+
11535
11555
  /**
11536
11556
  * World to relative screen coords
11537
11557
  * this world to screen will keep the text on screen. it will keep it in the screen pos
@@ -13881,24 +13901,24 @@ declare function GetPedEventData(ped: number, eventType: number, outData?: numbe
13881
13901
  declare function GetPedExtractedDisplacement(ped: number, worldSpace: boolean): number[];
13882
13902
 
13883
13903
  /**
13884
- * A getter for [`_SET_PED_EYE_COLOR`](#\_0x50B56988B170AFDF).
13904
+ * A getter for [\_SET_PED_EYE_COLOR](#\_0x50B56988B170AFDF). Returns -1 if fails to get.
13885
13905
  * @param ped The target ped
13886
13906
  * @return Returns ped's eye colour, or -1 if fails to get.
13887
13907
  */
13888
13908
  declare function GetPedEyeColor(ped: number): number;
13909
+
13889
13910
  /**
13890
13911
  * A getter for [`_SET_PED_EYE_COLOR`](#\_0x50B56988B170AFDF).
13891
13912
  * @param ped The target ped
13892
13913
  * @return Returns ped's eye colour, or -1 if fails to get.
13893
13914
  */
13894
- declare function N_0x76bba2cee66d47e9(ped: number): number;
13895
-
13915
+ declare function GetPedEyeColor(ped: number): number;
13896
13916
  /**
13897
- * A getter for [\_SET_PED_EYE_COLOR](#\_0x50B56988B170AFDF). Returns -1 if fails to get.
13917
+ * A getter for [`_SET_PED_EYE_COLOR`](#\_0x50B56988B170AFDF).
13898
13918
  * @param ped The target ped
13899
13919
  * @return Returns ped's eye colour, or -1 if fails to get.
13900
13920
  */
13901
- declare function GetPedEyeColor(ped: number): number;
13921
+ declare function N_0x76bba2cee66d47e9(ped: number): number;
13902
13922
 
13903
13923
  /**
13904
13924
  * A getter for [\_SET_PED_FACE_FEATURE](#\_0x71A5C1DBA060049E). Returns 0.0 if fails to get.
@@ -19524,7 +19544,6 @@ declare function IsAutoSaveInProgress(): boolean;
19524
19544
  declare function IsBigVehicle(vehicle: number): boolean;
19525
19545
 
19526
19546
  /**
19527
- * <!-- Native implemented by Disquse. 0xFFF65C63 -->
19528
19547
  * Returns true if the minimap is currently expanded. False if it's the normal minimap state.
19529
19548
  * Use [`IsBigmapFull`](#\_0x66EE14B2) to check if the full map is currently revealed on the minimap.
19530
19549
  * @return A bool indicating if the minimap is currently expanded or normal state.
@@ -19532,7 +19551,7 @@ declare function IsBigVehicle(vehicle: number): boolean;
19532
19551
  declare function IsBigmapActive(): boolean;
19533
19552
 
19534
19553
  /**
19535
- * <!-- Native implemented by Disquse. 0x66EE14B2 -->
19554
+ * IS_BIGMAP_FULL
19536
19555
  * @return Returns true if the full map is currently revealed on the minimap.
19537
19556
  Use [`IsBigmapActive`](#\_0xFFF65C63) to check if the minimap is currently expanded or in it's normal state.
19538
19557
  */
@@ -44059,11 +44078,27 @@ declare function SetHighFallTask(ped: number, duration: number, p2: number, p3:
44059
44078
  */
44060
44079
  declare function SetHornEnabled(vehicle: number, toggle: boolean): void;
44061
44080
 
44081
+ /**
44082
+ * See [SET_SCRIPT_GFX_ALIGN](#\_0xB8A850F20A067EB6) for details about how gfx align works.
44083
+ * @param id The hud component id.
44084
+ * @param horizontalAlign The horizontal alignment.
44085
+ * @param verticalAlign The vertical alignment.
44086
+ */
44087
+ declare function SetHudComponentAlign(id: number, horizontalAlign: number, verticalAlign: number): void;
44088
+
44062
44089
  /**
44063
44090
  * SET_HUD_COMPONENT_POSITION
44064
44091
  */
44065
44092
  declare function SetHudComponentPosition(id: number, x: number, y: number): void;
44066
44093
 
44094
+ /**
44095
+ * SET_HUD_COMPONENT_SIZE
44096
+ * @param id The hud component id.
44097
+ * @param x New size X.
44098
+ * @param y New size Y.
44099
+ */
44100
+ declare function SetHudComponentSize(id: number, x: number, y: number): void;
44101
+
44067
44102
  /**
44068
44103
  * _SET_HYDRAULIC_RAISED
44069
44104
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@citizenfx/client",
3
- "version": "2.0.6392-1",
3
+ "version": "2.0.6394-1",
4
4
  "description": "Typings for the CitizenFX client JS API.",
5
5
  "main": "index.js",
6
6
  "scripts": {