@citizenfx/client 2.0.8513-1 → 2.0.8552-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 +18 -0
- package/package.json +1 -1
package/natives_universal.d.ts
CHANGED
|
@@ -44425,6 +44425,13 @@ declare function N_0xded5af5a0ea4b297(driver: number, modifier: number): void;
|
|
|
44425
44425
|
*/
|
|
44426
44426
|
declare function SetDuiUrl(duiObject: number, url: string): void;
|
|
44427
44427
|
|
|
44428
|
+
/**
|
|
44429
|
+
* Allows StaticEmitter's without a linked entity to make use of environment features like occlusion and reverb even if they are located higher than 20.0 units above any static collision inside interiors.
|
|
44430
|
+
* This native allows you to extend the probe range up to 150.0 units.
|
|
44431
|
+
* @param probeLength The desired probe length (20.0 - 150.0)
|
|
44432
|
+
*/
|
|
44433
|
+
declare function SetEmitterProbeLength(probeLength: number): void;
|
|
44434
|
+
|
|
44428
44435
|
/**
|
|
44429
44436
|
* Retunes a named static emitter to the specified station
|
|
44430
44437
|
*/
|
|
@@ -46079,6 +46086,17 @@ declare function SetInteriorPortalRoomFrom(interiorId: number, portalIndex: numb
|
|
|
46079
46086
|
*/
|
|
46080
46087
|
declare function SetInteriorPortalRoomTo(interiorId: number, portalIndex: number, roomTo: number): void;
|
|
46081
46088
|
|
|
46089
|
+
/**
|
|
46090
|
+
* Overwrite the games default CPortalTracker interior detection range.
|
|
46091
|
+
* This fixes potentially unwanted behaviour in the base game and allows you to build custom interiors with larger ceiling heights without running into graphical glitches.
|
|
46092
|
+
* By default CPortalTracker will probe 4 units downward trying to reach collisions that are part of the interior the entity is in.
|
|
46093
|
+
* If no collision can be found 16 units are used in some circumstances.
|
|
46094
|
+
* There are 30+ hard coded special cases, only some of them exposed via script (for example `ENABLE_STADIUM_PROBES_THIS_FRAME`).
|
|
46095
|
+
* This native allows you to extend the probe range up to 150 units which is the same value the game uses for the `xs_arena_interior`
|
|
46096
|
+
* @param probeLength The desired probe length (0.0 - 150.0)
|
|
46097
|
+
*/
|
|
46098
|
+
declare function SetInteriorProbeLength(probeLength: number): void;
|
|
46099
|
+
|
|
46082
46100
|
/**
|
|
46083
46101
|
* SET_INTERIOR_ROOM_EXTENTS
|
|
46084
46102
|
* @param interiorId The target interior.
|