forked from citizenfx/natives
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
initial commit of exported natives from codegen
- Loading branch information
0 parents
commit 4192e98
Showing
5,941 changed files
with
103,979 additions
and
0 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
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,11 @@ | ||
--- | ||
ns: APP | ||
--- | ||
## APP_CLEAR_BLOCK | ||
|
||
```c | ||
// 0x5FE1DF3342DB7DBA 0xDAB86A18 | ||
void APP_CLEAR_BLOCK(); | ||
``` | ||
|
||
|
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,11 @@ | ||
--- | ||
ns: APP | ||
--- | ||
## APP_CLOSE_APP | ||
|
||
```c | ||
// 0xE41C65E07A5F05FC 0x03767C7A | ||
void APP_CLOSE_APP(); | ||
``` | ||
|
||
|
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,11 @@ | ||
--- | ||
ns: APP | ||
--- | ||
## APP_CLOSE_BLOCK | ||
|
||
```c | ||
// 0xE8E3FCF72EAC0EF8 0xED97B202 | ||
void APP_CLOSE_BLOCK(); | ||
``` | ||
|
||
|
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,12 @@ | ||
--- | ||
ns: APP | ||
--- | ||
## APP_DATA_VALID | ||
|
||
```c | ||
// 0x846AA8E7D55EE5B6 0x72BDE002 | ||
int APP_DATA_VALID(); | ||
``` | ||
|
||
|
||
## Return 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,15 @@ | ||
--- | ||
ns: APP | ||
--- | ||
## APP_DELETE_APP_DATA | ||
|
||
```c | ||
// 0x44151AEA95C8A003 0x2A2FBD1C | ||
BOOL APP_DELETE_APP_DATA(char* appName); | ||
``` | ||
## Parameters | ||
* **appName**: | ||
## Return 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,12 @@ | ||
--- | ||
ns: APP | ||
--- | ||
## APP_GET_DELETED_FILE_STATUS | ||
|
||
```c | ||
// 0xC9853A2BE3DED1A6 0x784D550B | ||
Any APP_GET_DELETED_FILE_STATUS(); | ||
``` | ||
|
||
|
||
## Return 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,15 @@ | ||
--- | ||
ns: APP | ||
--- | ||
## APP_GET_FLOAT | ||
|
||
```c | ||
// 0x1514FB24C02C2322 0xD87F3A1C | ||
float APP_GET_FLOAT(char* property); | ||
``` | ||
## Parameters | ||
* **property**: | ||
## Return 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,14 @@ | ||
--- | ||
ns: APP | ||
--- | ||
## APP_GET_INT | ||
|
||
```c | ||
// 0xD3A58A12C77D9D4B 0x2942AAD2 | ||
void APP_GET_INT(ScrHandle property); | ||
``` | ||
## Parameters | ||
* **property**: | ||
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,15 @@ | ||
--- | ||
ns: APP | ||
--- | ||
## APP_GET_STRING | ||
|
||
```c | ||
// 0x749B023950D2311C 0x849CEB80 | ||
char* APP_GET_STRING(char* property); | ||
``` | ||
## Parameters | ||
* **property**: | ||
## Return 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,12 @@ | ||
--- | ||
ns: APP | ||
--- | ||
## APP_HAS_LINKED_SOCIAL_CLUB_ACCOUNT | ||
|
||
```c | ||
// 0x71EEE69745088DA0 0xD368BA15 | ||
BOOL APP_HAS_LINKED_SOCIAL_CLUB_ACCOUNT(); | ||
``` | ||
|
||
|
||
## Return 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,15 @@ | ||
--- | ||
ns: APP | ||
--- | ||
## APP_HAS_SYNCED_DATA | ||
|
||
```c | ||
// 0xCA52279A7271517F 0x1DE2A63D | ||
BOOL APP_HAS_SYNCED_DATA(char* appName); | ||
``` | ||
## Parameters | ||
* **appName**: | ||
## Return 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,11 @@ | ||
--- | ||
ns: APP | ||
--- | ||
## APP_SAVE_DATA | ||
|
||
```c | ||
// 0x95C5D356CDA6E85F 0x84A3918D | ||
void APP_SAVE_DATA(); | ||
``` | ||
|
||
|
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: APP | ||
--- | ||
## APP_SET_APP | ||
|
||
```c | ||
// 0xCFD0406ADAF90D2B 0x8BAC4146 | ||
void APP_SET_APP(char* appName); | ||
``` | ||
``` | ||
Called in the gamescripts like: | ||
APP::APP_SET_APP("car"); | ||
APP::APP_SET_APP("dog"); | ||
``` | ||
## Parameters | ||
* **appName**: | ||
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,14 @@ | ||
--- | ||
ns: APP | ||
--- | ||
## APP_SET_BLOCK | ||
|
||
```c | ||
// 0x262AB456A3D21F93 0xC2D54DD9 | ||
void APP_SET_BLOCK(char* blockName); | ||
``` | ||
## Parameters | ||
* **blockName**: | ||
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,15 @@ | ||
--- | ||
ns: APP | ||
--- | ||
## APP_SET_FLOAT | ||
|
||
```c | ||
// 0x25D7687C68E0DAA4 0xF3076135 | ||
void APP_SET_FLOAT(char* property, float value); | ||
``` | ||
## Parameters | ||
* **property**: | ||
* **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,15 @@ | ||
--- | ||
ns: APP | ||
--- | ||
## APP_SET_INT | ||
|
||
```c | ||
// 0x607E8E3D3E4F9611 0x1B509C32 | ||
void APP_SET_INT(char* property, int value); | ||
``` | ||
## Parameters | ||
* **property**: | ||
* **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,15 @@ | ||
--- | ||
ns: APP | ||
--- | ||
## APP_SET_STRING | ||
|
||
```c | ||
// 0x3FF2FCEC4B7721B4 0x23DF19A8 | ||
void APP_SET_STRING(char* property, char* value); | ||
``` | ||
## Parameters | ||
* **property**: | ||
* **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,43 @@ | ||
--- | ||
ns: AUDIO | ||
--- | ||
## ADD_LINE_TO_CONVERSATION | ||
|
||
```c | ||
// 0xC5EF963405593646 0x96CD0513 | ||
void ADD_LINE_TO_CONVERSATION(int p0, char* p1, char* p2, int p3, int p4, BOOL p5, BOOL p6, BOOL p7, BOOL p8, int p9, BOOL p10, BOOL p11, BOOL p12); | ||
``` | ||
``` | ||
NOTE: ones that are -1, 0 - 35 are determined by a function where it gets a TextLabel from a global then runs, | ||
_GET_TEXT_SUBSTRING and depending on what the result is it goes in check order of 0 - 9 then A - Z then z (lowercase). So it will then return 0 - 35 or -1 if it's 'z'. The func to handle that ^^ is func_67 in dialog_handler.c atleast in TU27 Xbox360 scripts. | ||
p0 is -1, 0 | ||
p1 is a char or string (whatever you wanna call it) | ||
p2 is Global 10597 + i * 6. 'i' is a while(i < 70) loop | ||
p3 is again -1, 0 - 35 | ||
p4 is again -1, 0 - 35 | ||
p5 is either 0 or 1 (bool ?) | ||
p6 is either 0 or 1 (The func to determine this is bool) | ||
p7 is either 0 or 1 (The func to determine this is bool) | ||
p8 is either 0 or 1 (The func to determine this is bool) | ||
p9 is 0 - 3 (Determined by func_60 in dialogue_handler.c) | ||
p10 is either 0 or 1 (The func to determine this is bool) | ||
p11 is either 0 or 1 (The func to determine this is bool) | ||
p12 is unknown as in TU27 X360 scripts it only goes to p11. | ||
``` | ||
## Parameters | ||
* **p0**: | ||
* **p1**: | ||
* **p2**: | ||
* **p3**: | ||
* **p4**: | ||
* **p5**: | ||
* **p6**: | ||
* **p7**: | ||
* **p8**: | ||
* **p9**: | ||
* **p10**: | ||
* **p11**: | ||
* **p12**: | ||
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: AUDIO | ||
--- | ||
## ADD_PED_TO_CONVERSATION | ||
|
||
```c | ||
// 0x95D9F4BC443956E7 0xF8D5EB86 | ||
void ADD_PED_TO_CONVERSATION(Any p0, Any ped, char* p2); | ||
``` | ||
``` | ||
4 calls in the b617d scripts. The only one with p0 and p2 in clear text: | ||
AUDIO::ADD_PED_TO_CONVERSATION(5, l_AF, "DINAPOLI"); | ||
================================================= | ||
One of the 2 calls in dialogue_handler.c p0 is in a while-loop, and so is determined to also possibly be 0 - 15. | ||
Based on it asking if does_entity_exist for the global I have determined that p1 is, in fact, the ped, but could be wrong. | ||
``` | ||
## Parameters | ||
* **p0**: | ||
* **ped**: | ||
* **p2**: | ||
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,12 @@ | ||
--- | ||
ns: AUDIO | ||
--- | ||
## AUDIO_IS_SCRIPTED_MUSIC_PLAYING | ||
|
||
```c | ||
// 0x845FFC3A4FEEFA3E 0x86E995D1 | ||
Any AUDIO_IS_SCRIPTED_MUSIC_PLAYING(); | ||
``` | ||
|
||
|
||
## Return 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,18 @@ | ||
--- | ||
ns: AUDIO | ||
--- | ||
## BLIP_SIREN | ||
|
||
```c | ||
// 0x1B9025BDA76822B6 0xC0EB6924 | ||
void BLIP_SIREN(Vehicle vehicle); | ||
``` | ||
``` | ||
Plays the siren sound of a vehicle which is otherwise activated when fastly double-pressing the horn key. | ||
Only works on vehicles with a police siren. | ||
``` | ||
## Parameters | ||
* **vehicle**: | ||
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,21 @@ | ||
--- | ||
ns: AUDIO | ||
aliases: ["0x49B99BF3FDA89A7A"] | ||
--- | ||
## _CAN_PED_SPEAK | ||
|
||
```c | ||
// 0x49B99BF3FDA89A7A 0x8BD5F11E | ||
BOOL _CAN_PED_SPEAK(Ped ped, char* speechName, BOOL unk); | ||
``` | ||
``` | ||
Checks if the ped can play the speech or has the speech file, last parameter is usually 0 | ||
``` | ||
## Parameters | ||
* **ped**: | ||
* **speechName**: | ||
* **unk**: | ||
## Return 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,18 @@ | ||
--- | ||
ns: AUDIO | ||
--- | ||
## CANCEL_MUSIC_EVENT | ||
|
||
```c | ||
// 0x5B17A90291133DA5 0x89FF942D | ||
BOOL CANCEL_MUSIC_EVENT(char* eventName); | ||
``` | ||
``` | ||
All music event names found in the b617d scripts: pastebin.com/GnYt0R3P | ||
``` | ||
## Parameters | ||
* **eventName**: | ||
## Return value |
Oops, something went wrong.