-
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
90 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,22 @@ | ||
--- | ||
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. | ||
## Return value | ||
This native does not return any value. |
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,23 @@ | ||
--- | ||
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. | ||
## Return value | ||
This native does not return any value. |
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,22 @@ | ||
--- | ||
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); | ||
``` | ||
Enables or disables the streaming of road nodes for the Heist Island, specifically Cayo Perico. Setting type to 1 activates the path nodes, allowing GPS navigation to function on the island. However, setting it to 0 to deactivate these nodes, especially when near the island, may cause the game to crash. Note that setting this to true also disables main level and prologue nodes from streaming, so it should be set back to false when no longer needed. | ||
``` | ||
NativeDB Introduced: v2189 | ||
``` | ||
## Parameters | ||
* **bAllow**: `true` to enable Heist Island road nodes for streaming, `false` to disable them. | ||
## Return value | ||
This native does not return any value. |
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,23 @@ | ||
--- | ||
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); | ||
``` | ||
Configures aircraft to disregard minor pitch variations. | ||
``` | ||
NativeDB Introduced: v2189 | ||
``` | ||
## Parameters | ||
* **vehicle**: The aircraft to apply this setting to. | ||
* **ignorePitching**: A boolean value where `true` enables the aircraft to ignore small pitch changes, and `false` allows the aircraft to respond to these pitch variations. | ||
## Return value | ||
This native does not return any value. |