@citizenfx/client 2.0.7277-1 → 2.0.7281-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.
@@ -29076,11 +29076,6 @@ declare function N_0xd1a1ee3b4fa8e760(p0: number): void;
29076
29076
  */
29077
29077
  declare function N_0xd1c55b110e4df534(p0: number): void;
29078
29078
 
29079
- /**
29080
- * 0xD1C7CB175E012964
29081
- */
29082
- declare function N_0xd1c7cb175e012964(scaleformHandle: number): boolean;
29083
-
29084
29079
  /**
29085
29080
  * 0xD1C9B92BDD3F151D
29086
29081
  */
@@ -36642,6 +36637,23 @@ declare function ParticipantId(): number;
36642
36637
  */
36643
36638
  declare function ParticipantIdToInt(): number;
36644
36639
 
36640
+ /**
36641
+ * Passes keyboard input to scaleform. You must call this native every frame. Once an input occurs, this native will return true and call `SET_PC_KEY` scaleform movie method with the key that has been inputted.
36642
+ * The key parameter which is passed to the scaleform can also be: "BACKSPACE", "ENTER" or "\x1b" (Which is ESC).
36643
+ * This native is only used in `web_browser.c` as of game build 2944.
36644
+ * @param scaleformHandle Scaleform movie handle returned by [REQUEST_SCALEFORM_MOVIE](#\_0x11FE353CF9733E6F)
36645
+ * @return Bool indicating if an input occurred this frame and was passed to the scaleform.
36646
+ */
36647
+ declare function PassKeyboardInputToScaleform(scaleformHandle: number): boolean;
36648
+ /**
36649
+ * Passes keyboard input to scaleform. You must call this native every frame. Once an input occurs, this native will return true and call `SET_PC_KEY` scaleform movie method with the key that has been inputted.
36650
+ * The key parameter which is passed to the scaleform can also be: "BACKSPACE", "ENTER" or "\x1b" (Which is ESC).
36651
+ * This native is only used in `web_browser.c` as of game build 2944.
36652
+ * @param scaleformHandle Scaleform movie handle returned by [REQUEST_SCALEFORM_MOVIE](#\_0x11FE353CF9733E6F)
36653
+ * @return Bool indicating if an input occurred this frame and was passed to the scaleform.
36654
+ */
36655
+ declare function N_0xd1c7cb175e012964(scaleformHandle: number): boolean;
36656
+
36645
36657
  /**
36646
36658
  * REQUEST_STREAMED_TEXTURE_DICT("MPOnMissMarkers", false);
36647
36659
  * *uParam0.f_809 = add_decal(9120, vParam1, vVar4, vVar7, 2f, 2f, to_float(iVar0) / 255f, to_float(iVar1) / 255f, to_float(iVar2) / 255f, 1f, -1f, 1, 0, 0);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@citizenfx/client",
3
- "version": "2.0.7277-1",
3
+ "version": "2.0.7281-1",
4
4
  "description": "Typings for the CitizenFX client JS API.",
5
5
  "main": "index.js",
6
6
  "scripts": {