Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(natives/gamebuild): update natives from the 2189 gamebuild #958

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 0 additions & 18 deletions INTERIOR/ClearInteriorForEntity.md

This file was deleted.

19 changes: 19 additions & 0 deletions INTERIOR/ClearInteriorStateOfEntity.md
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.
17 changes: 0 additions & 17 deletions OBJECT/N_0x31574b1b41268673.md

This file was deleted.

20 changes: 20 additions & 0 deletions OBJECT/SetPropTintIndex.md
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.
18 changes: 0 additions & 18 deletions PATHFIND/SetAiGlobalPathNodesType.md

This file was deleted.

19 changes: 19 additions & 0 deletions PATHFIND/SetAllowStreamHeistIslandNodes.md
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.
17 changes: 0 additions & 17 deletions VEHICLE/N_0x8664170ef165c4a6.md

This file was deleted.

20 changes: 20 additions & 0 deletions VEHICLE/SetIgnorePlanesSmallPitchChange.md
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.
Loading