@citizenfx/client 2.0.7184-1 → 2.0.7186-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.
- package/natives_universal.d.ts +21 -0
- package/package.json +1 -1
package/natives_universal.d.ts
CHANGED
|
@@ -6958,6 +6958,21 @@ declare function DrawDebugText_2d(text: string, x: number, y: number, z: number,
|
|
|
6958
6958
|
*/
|
|
6959
6959
|
declare function DrawGizmo(matrixPtr: number, id: string): boolean;
|
|
6960
6960
|
|
|
6961
|
+
/**
|
|
6962
|
+
* Draw a glow sphere this frame. Up to 256 per single frame.
|
|
6963
|
+
* @param posX Position X.
|
|
6964
|
+
* @param posY Position Y.
|
|
6965
|
+
* @param posZ Position Z.
|
|
6966
|
+
* @param radius Sphere radius.
|
|
6967
|
+
* @param colorR Red.
|
|
6968
|
+
* @param colorG Green.
|
|
6969
|
+
* @param colorB Blue.
|
|
6970
|
+
* @param intensity Intensity.
|
|
6971
|
+
* @param invert Invert rendering.
|
|
6972
|
+
* @param marker Draw as a marker, otherwise as an overlay.
|
|
6973
|
+
*/
|
|
6974
|
+
declare function DrawGlowSphere(posX: number, posY: number, posZ: number, radius: number, colorR: number, colorG: number, colorB: number, intensity: number, invert: boolean, marker: boolean): void;
|
|
6975
|
+
|
|
6961
6976
|
/**
|
|
6962
6977
|
* Similar to [\_DRAW_SPRITE](#\_0xE7FFAE5EBF23D890), but seems to be some kind of "interactive" sprite, at least used by render targets.
|
|
6963
6978
|
* These seem to be the only dicts ever requested by this native:
|
|
@@ -13405,6 +13420,12 @@ declare function GetPackedTitleUpdateIntStatKey(index: number, spStat: boolean,
|
|
|
13405
13420
|
*/
|
|
13406
13421
|
declare function GetParkedVehicleDensityMultiplier(): number;
|
|
13407
13422
|
|
|
13423
|
+
/**
|
|
13424
|
+
* Returns the world position the pointer is hovering on the pause map.
|
|
13425
|
+
* @return A Vector3 with the pause map pointer world position X and Y values.
|
|
13426
|
+
*/
|
|
13427
|
+
declare function GetPauseMapPointerWorldPosition(): number[];
|
|
13428
|
+
|
|
13408
13429
|
/**
|
|
13409
13430
|
* Name between `GET_ONSCREEN_KEYBOARD_RESULT` and `GET_PAUSE_MENU_STATE`. Likely, `GET_PAUSE_MENU_*`.
|
|
13410
13431
|
* @return If the pause menu is open, it will return a Vector3, Z is always 0.
|