@citizenfx/client 2.0.7184-1 → 2.0.7187-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.
@@ -110,6 +110,11 @@ declare function ActivateRockstarEditor(): void;
110
110
  */
111
111
  declare function N_0x49da8145672b2725(): void;
112
112
 
113
+ /**
114
+ * Activates built-in timecycle editing tool.
115
+ */
116
+ declare function ActivateTimecycleEditor(): void;
117
+
113
118
  /**
114
119
  * ADD_AMMO_TO_PED
115
120
  */
@@ -556,11 +561,20 @@ declare function AddLineToConversation(index: number, p1: string, p2: string, p3
556
561
 
557
562
  /**
558
563
  * Loads a minimap overlay from a GFx file in the current resource.
564
+ * If you need to control the depth of overlay use [`ADD_MINIMAP_OVERLAY_WITH_DEPTH`](#\_0xED0935B5).
559
565
  * @param name The path to a `.gfx` file in the current resource. It has to be specified as a `file`.
560
566
  * @return A minimap overlay ID.
561
567
  */
562
568
  declare function AddMinimapOverlay(name: string): number;
563
569
 
570
+ /**
571
+ * Loads a minimap overlay from a GFx file in the current resource.
572
+ * @param name The path to a `.gfx` file in the current resource. It has to be specified as a `file`.
573
+ * @param depth The depth of new overlay on the minimap. Pass `-1` for game to figure out the highest depth itself. Should not be greater than `0x7EFFFFFD`.
574
+ * @return A minimap overlay ID.
575
+ */
576
+ declare function AddMinimapOverlayWithDepth(name: string, depth: number): number;
577
+
564
578
  /**
565
579
  * ADD_MODEL_TO_CREATOR_BUDGET
566
580
  */
@@ -6958,6 +6972,21 @@ declare function DrawDebugText_2d(text: string, x: number, y: number, z: number,
6958
6972
  */
6959
6973
  declare function DrawGizmo(matrixPtr: number, id: string): boolean;
6960
6974
 
6975
+ /**
6976
+ * Draw a glow sphere this frame. Up to 256 per single frame.
6977
+ * @param posX Position X.
6978
+ * @param posY Position Y.
6979
+ * @param posZ Position Z.
6980
+ * @param radius Sphere radius.
6981
+ * @param colorR Red.
6982
+ * @param colorG Green.
6983
+ * @param colorB Blue.
6984
+ * @param intensity Intensity.
6985
+ * @param invert Invert rendering.
6986
+ * @param marker Draw as a marker, otherwise as an overlay.
6987
+ */
6988
+ declare function DrawGlowSphere(posX: number, posY: number, posZ: number, radius: number, colorR: number, colorG: number, colorB: number, intensity: number, invert: boolean, marker: boolean): void;
6989
+
6961
6990
  /**
6962
6991
  * Similar to [\_DRAW_SPRITE](#\_0xE7FFAE5EBF23D890), but seems to be some kind of "interactive" sprite, at least used by render targets.
6963
6992
  * These seem to be the only dicts ever requested by this native:
@@ -13405,6 +13434,12 @@ declare function GetPackedTitleUpdateIntStatKey(index: number, spStat: boolean,
13405
13434
  */
13406
13435
  declare function GetParkedVehicleDensityMultiplier(): number;
13407
13436
 
13437
+ /**
13438
+ * Returns the world position the pointer is hovering on the pause map.
13439
+ * @return A Vector3 with the pause map pointer world position X and Y values.
13440
+ */
13441
+ declare function GetPauseMapPointerWorldPosition(): number[];
13442
+
13408
13443
  /**
13409
13444
  * Name between `GET_ONSCREEN_KEYBOARD_RESULT` and `GET_PAUSE_MENU_STATE`. Likely, `GET_PAUSE_MENU_*`.
13410
13445
  * @return If the pause menu is open, it will return a Vector3, Z is always 0.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@citizenfx/client",
3
- "version": "2.0.7184-1",
3
+ "version": "2.0.7187-1",
4
4
  "description": "Typings for the CitizenFX client JS API.",
5
5
  "main": "index.js",
6
6
  "scripts": {