-
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/gamebuild): update natives from the 2189 gamebuild (#957)
- Loading branch information
Showing
7 changed files
with
73 additions
and
56 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: HUD | ||
aliases: ["_SET_MINIMAP_SONAR_ENABLED"] | ||
--- | ||
## SET_MINIMAP_SONAR_SWEEP | ||
|
||
```c | ||
// 0x6B50FC8749632EC1 | ||
void SET_MINIMAP_SONAR_SWEEP(BOOL toggle); | ||
``` | ||
Enables or disables the sonar sweep animation on the minimap. | ||
``` | ||
NativeDB Introduced: v2189 | ||
``` | ||
## Parameters | ||
* **toggle**: A boolean value where `true` activates the sonar sweep animation on the minimap, and `false` turns it off. | ||
## 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: HUD | ||
aliases: ["_SET_TOGGLE_MINIMAP_HEIST_ISLAND"] | ||
--- | ||
## SET_USE_ISLAND_MAP | ||
|
||
```c | ||
// 0x5E1460624D194A38 | ||
void SET_USE_ISLAND_MAP(BOOL toggle); | ||
``` | ||
Switches the display of the in-game minimap to the Cayo Perico map. This native needs to be called every frame to maintain the toggled state effectively. | ||
``` | ||
NativeDB Introduced: v2189 | ||
``` | ||
## Parameters | ||
* **toggle**: A boolean value where `true` switches the minimap to the Cayo Perico map, and `false` reverts it to the standard map. | ||
## Return value | ||
This native does not return any value. |
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: STREAMING | ||
aliases: ["_SET_ISLAND_HOPPER_ENABLED"] | ||
--- | ||
## SET_ISLAND_ENABLED | ||
|
||
```c | ||
// 0x9A9D1BA639675CF1 | ||
void SET_ISLAND_ENABLED(char* islandName, BOOL toggle); | ||
``` | ||
Enables the specified island. For more information, see islandhopper.meta | ||
``` | ||
NativeDB Introduced: v2189 | ||
``` | ||
## Parameters | ||
* **islandName**: The name of the island to be enabled or disabled. | ||
* **toggle**: A boolean value where `true` enables the island and `false` disables it. |
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 |
---|---|---|
@@ -1,16 +1,22 @@ | ||
--- | ||
ns: VEHICLE | ||
aliases: ["_DOES_VEHICLE_HAVE_SEARCHLIGHT"] | ||
--- | ||
## _DOES_VEHICLE_HAVE_SEARCHLIGHT | ||
## DOES_VEHICLE_HAVE_SEARCHLIGHT | ||
|
||
```c | ||
// 0x99015ED7DBEA5113 | ||
BOOL _DOES_VEHICLE_HAVE_SEARCHLIGHT(Vehicle vehicle); | ||
BOOL DOES_VEHICLE_HAVE_SEARCHLIGHT(Vehicle vehicle); | ||
``` | ||
Determines whether the specified vehicle is equipped with a searchlight. | ||
``` | ||
NativeDB Introduced: v2189 | ||
``` | ||
## Parameters | ||
* **vehicle**: | ||
* **vehicle**: The vehicle to check for the presence of a searchlight. | ||
## Return value | ||
Returns `true` if the vehicle has a searchlight, `false` otherwise. |