-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(natives/2189): update natives from the 2189 gamebuild
- Loading branch information
Showing
8 changed files
with
78 additions
and
70 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
--- | ||
ns: INTERIOR | ||
aliases: ["_CLEAR_INTERIOR_FOR_ENTITY"] | ||
--- | ||
## CLEAR_INTERIOR_STATE_OF_ENTITY | ||
|
||
```c | ||
// 0x85D5422B2039A70D | ||
void CLEAR_INTERIOR_STATE_OF_ENTITY(Entity entity); | ||
``` | ||
Forces an entity out of its retained interior state, effectively resetting it to a clean state in the exterior world. | ||
``` | ||
NativeDB Introduced: v2189 | ||
``` | ||
## Parameters | ||
* **entity**: The entity to be transitioned from its interior state to the exterior world. |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
--- | ||
ns: OBJECT | ||
aliases: ["0x31574B1B41268673"] | ||
--- | ||
## SET_PROP_TINT_INDEX | ||
|
||
```c | ||
// 0x31574B1B41268673 | ||
void SET_PROP_TINT_INDEX(Object object, int tint); | ||
``` | ||
Applies a specified tint index to a prop object (e.g. parachute). | ||
``` | ||
NativeDB Introduced: v2189 | ||
``` | ||
## Parameters | ||
* **object**: The prop object to which the tint will be applied. | ||
* **tint**: The tint index to set on the object. |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
--- | ||
ns: PATHFIND | ||
aliases: ["_SET_AI_GLOBAL_PATH_NODES_TYPE"] | ||
--- | ||
## SET_ALLOW_STREAM_HEIST_ISLAND_NODES | ||
|
||
```c | ||
// 0xF74B1FFA4A15FBEA | ||
void SET_ALLOW_STREAM_HEIST_ISLAND_NODES(cs_type(int) BOOL bAllow); | ||
``` | ||
Toggles the streaming of Heist Island (Cayo Perico) road nodes. When enabled `true`, GPS navigation on the island is available. Disabling `false` these nodes, particularly when near the island, might lead to game instability. Use with caution, ensuring to re-enable main level and prologue nodes by setting this to `false` when Heist Island nodes are no longer needed. | ||
``` | ||
NativeDB Introduced: v2189 | ||
``` | ||
## Parameters | ||
* **bAllow**: `true` to enable Heist Island road nodes for streaming, `false` to disable them. |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
--- | ||
ns: VEHICLE | ||
aliases: ["0x8664170EF165C4A6"] | ||
--- | ||
## SET_IGNORE_PLANES_SMALL_PITCH_CHANGE | ||
|
||
```c | ||
// 0x8664170EF165C4A6 | ||
void SET_IGNORE_PLANES_SMALL_PITCH_CHANGE(Vehicle vehicle, cs_type(Any) BOOL ignorePitching); | ||
``` | ||
Sets a flag on planes to ignore minor pitch differences. | ||
``` | ||
NativeDB Introduced: v2189 | ||
``` | ||
## Parameters | ||
* **vehicle**: The plane to which the ignore pitch setting will be applied. | ||
* **ignorePitching**: A boolean value where `true` activate the flag that causes the plane to disregard small pitch changes and `false` deactivates this behavior, allowing the plane to respond to all pitch variations. |