Skip to content

Commit

Permalink
nativedb: parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
gottfriedleibniz committed Jul 25, 2021
1 parent e019a8e commit ee4c44a
Show file tree
Hide file tree
Showing 76 changed files with 366 additions and 148 deletions.
4 changes: 2 additions & 2 deletions AUDIO/RequestAmbientAudioBank.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ BOOL REQUEST_AMBIENT_AUDIO_BANK(char* p0, BOOL p1);
```
```
All occurrences and usages found in b617d, sorted alphabetically and identical lines removed: pastebin.com/XZ1tmGEz
All occurrences and usages found in b617d, sorted alphabetically and identical lines removed: pastebin.com/XZ1tmGEz
```
```
NativeDB Added Parameter 3: int p2
NativeDB Added Parameter 3: Any p2
```
## Parameters
Expand Down
3 changes: 3 additions & 0 deletions DATAFILE/DatafileCreate.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,7 @@ ns: DATAFILE
void DATAFILE_CREATE();
```

```
NativeDB Added Parameter 1: int p0
```

3 changes: 3 additions & 0 deletions DATAFILE/DatafileDelete.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,7 @@ ns: DATAFILE
void DATAFILE_DELETE();
```

```
NativeDB Added Parameter 1: int p0
```

3 changes: 3 additions & 0 deletions DATAFILE/DatafileGetFileDict.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,8 @@ aliases: ["0x906B778CA1DC72B6"]
char* DATAFILE_GET_FILE_DICT();
```

```
NativeDB Added Parameter 1: int p0
```

## Return value
4 changes: 4 additions & 0 deletions DATAFILE/DatafileLoadOfflineUgc.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ Example:
DATAFILE::_LOAD_UGC_FILE("RockstarPlaylists") // loads "rockstarplaylists_00.ugc"
```
```
NativeDB Added Parameter 2: Any p1
```
## Parameters
* **filename**:
Expand Down
4 changes: 4 additions & 0 deletions DATAFILE/DatafileSelectActiveFile.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ aliases: ["0x22DA66936E0FFF37"]
BOOL DATAFILE_SELECT_ACTIVE_FILE(Any p0);
```
```
NativeDB Added Parameter 2: Any p1
```
## Parameters
* **p0**:
Expand Down
4 changes: 4 additions & 0 deletions DATAFILE/DatafileSelectCreatorStats.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ aliases: ["0x01095C95CD46B624"]
BOOL DATAFILE_SELECT_CREATOR_STATS(int p0);
```
```
NativeDB Added Parameter 2: Any p1
```
## Parameters
* **p0**:
Expand Down
4 changes: 4 additions & 0 deletions DATAFILE/DatafileSelectUgcData.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ aliases: ["0xA69AC4ADE82B57A4"]
BOOL DATAFILE_SELECT_UGC_DATA(int p0);
```
```
NativeDB Added Parameter 2: Any p1
```
## Parameters
* **p0**:
Expand Down
4 changes: 4 additions & 0 deletions DATAFILE/DatafileSelectUgcPlayerData.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ aliases: ["0x52818819057F2B40"]
BOOL DATAFILE_SELECT_UGC_PLAYER_DATA(int p0);
```
```
NativeDB Added Parameter 2: Any p1
```
## Parameters
* **p0**:
Expand Down
4 changes: 4 additions & 0 deletions DATAFILE/DatafileSelectUgcStats.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ aliases: ["0x9CB0BFA7A9342C3D"]
BOOL DATAFILE_SELECT_UGC_STATS(int p0, BOOL p1);
```
```
NativeDB Added Parameter 3: Any p2
```
## Parameters
* **p0**:
* **p1**:
Expand Down
4 changes: 4 additions & 0 deletions DATAFILE/DatafileStartSaveToCloud.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ aliases: ["0x83BCCE3224735F05"]
BOOL DATAFILE_START_SAVE_TO_CLOUD(char* filename);
```
```
NativeDB Added Parameter 2: Any p1
```
## Parameters
* **filename**:
Expand Down
4 changes: 4 additions & 0 deletions DATAFILE/DatafileStoreMissionHeader.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,7 @@ aliases: ["0x2ED61456317B8178"]
void DATAFILE_STORE_MISSION_HEADER();
```

```
NativeDB Added Parameter 1: int p0
```

4 changes: 4 additions & 0 deletions DATAFILE/UgcCreateContent.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ aliases: ["0xC84527E235FCA219"]
BOOL UGC_CREATE_CONTENT(char* data, cs_type(BOOL) int dataCount, char* contentName, char* description, char* tagsCsv, char* contentTypeName, BOOL publish);
```
```
NativeDB Added Parameter 8: Any p7
```
## Parameters
* **data**:
* **dataCount**:
Expand Down
4 changes: 4 additions & 0 deletions DATAFILE/UgcCreateMission.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ aliases: ["0xA5EFC3E847D60507"]
BOOL UGC_CREATE_MISSION(char* contentName, char* description, char* tagsCsv, char* contentTypeName, BOOL publish);
```
```
NativeDB Added Parameter 6: Any p5
```
## Parameters
* **contentName**:
* **description**:
Expand Down
3 changes: 3 additions & 0 deletions DATAFILE/UgcSetPlayerData.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ aliases: ["0x692D808C34A82143"]
BOOL UGC_SET_PLAYER_DATA(char* contentId, float rating, char* contentTypeName);
```
```
NativeDB Added Parameter 4: Any p3
```
## Parameters
* **contentId**:
Expand Down
4 changes: 4 additions & 0 deletions DATAFILE/UgcUpdateContent.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ aliases: ["0x648E7A5434AF7969"]
BOOL UGC_UPDATE_CONTENT(char* contentId, Any* data, cs_type(BOOL) int dataCount, char* contentName, char* description, char* tagsCsv, char* contentTypeName);
```
```
NativeDB Added Parameter 8: Any p7
```
## Parameters
* **contentId**:
* **data**:
Expand Down
4 changes: 4 additions & 0 deletions DATAFILE/UgcUpdateMission.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ aliases: ["0x4645DE9980999E93"]
BOOL UGC_UPDATE_MISSION(char* contentId, char* contentName, char* description, char* tagsCsv, char* contentTypeName);
```
```
NativeDB Added Parameter 6: Any p5
```
## Parameters
* **contentId**:
* **contentName**:
Expand Down
5 changes: 3 additions & 2 deletions ENTITY/SetEntityHealth.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@ male ped ~= 100 - 200
female ped ~= 0 - 100
because something.
```
NativeDB Added Parameter 3: int p2
```
## Parameters
* **entity**:
Expand Down
132 changes: 90 additions & 42 deletions FIRE/AddExplosion.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,48 +16,96 @@ NativeDB Added Parameter 9: BOOL noDamage
BOOL isAudible = If explosion makes a sound.
BOOL isInvisible = If the explosion is invisible or not.
BOOL noDamage = false: damage || nodamage = true: no damage
enum ExplosionTypes
{
EXPLOSION_GRENADE,
EXPLOSION_GRENADELAUNCHER,
EXPLOSION_STICKYBOMB,
EXPLOSION_MOLOTOV,
EXPLOSION_ROCKET,
EXPLOSION_TANKSHELL,
EXPLOSION_HI_OCTANE,
EXPLOSION_CAR,
EXPLOSION_PLANE,
EXPLOSION_PETROL_PUMP,
EXPLOSION_BIKE,
EXPLOSION_DIR_STEAM,
EXPLOSION_DIR_FLAME,
EXPLOSION_DIR_WATER_HYDRANT,
EXPLOSION_DIR_GAS_CANISTER,
EXPLOSION_BOAT,
EXPLOSION_SHIP_DESTROY,
EXPLOSION_TRUCK,
EXPLOSION_BULLET,
EXPLOSION_SMOKEGRENADELAUNCHER,
EXPLOSION_SMOKEGRENADE,
EXPLOSION_BZGAS,
EXPLOSION_FLARE,
EXPLOSION_GAS_CANISTER,
EXPLOSION_EXTINGUISHER,
EXPLOSION_PROGRAMMABLEAR,
EXPLOSION_TRAIN,
EXPLOSION_BARREL,
EXPLOSION_PROPANE,
EXPLOSION_BLIMP,
EXPLOSION_DIR_FLAME_EXPLODE,
EXPLOSION_TANKER,
EXPLOSION_PLANE_ROCKET,
EXPLOSION_VEHICLE_BULLET,
EXPLOSION_GAS_TANK,
EXPLOSION_BIRD_CRAP,
EXPLOSION_FIREWORK = 38,
EXPLOSION_PROXIMINE = 40,
EXPLOSION_PIPEBOMB = 43
};
```
```cpp
enum class eExplosionTag : uint32_t
{
DONTCARE = 0xFFFFFFFF,
GRENADE = 0,
GRENADELAUNCHER = 1,
STICKYBOMB = 2,
MOLOTOV = 3,
ROCKET = 4,
TANKSHELL = 5,
HI_OCTANE = 6,
CAR = 7,
PLANE = 8,
PETROL_PUMP = 9,
BIKE = 10,
DIR_STEAM = 11,
DIR_FLAME = 12,
DIR_WATER_HYDRANT = 13,
DIR_GAS_CANISTER = 14,
BOAT = 15,
SHIP_DESTROY = 16,
TRUCK = 17,
BULLET = 18,
SMOKEGRENADELAUNCHER = 19,
SMOKEGRENADE = 20,
BZGAS = 21,
FLARE = 22,
GAS_CANISTER = 23,
EXTINGUISHER = 24,
_0x988620B8 = 25,
EXP_TAG_TRAIN = 26,
EXP_TAG_BARREL = 27,
EXP_TAG_PROPANE = 28,
EXP_TAG_BLIMP = 29,
EXP_TAG_DIR_FLAME_EXPLODE = 30,
EXP_TAG_TANKER = 31,
PLANE_ROCKET = 32,
EXP_TAG_VEHICLE_BULLET = 33,
EXP_TAG_GAS_TANK = 34,
EXP_TAG_BIRD_CRAP = 35,
EXP_TAG_RAILGUN = 36,
EXP_TAG_BLIMP2 = 37,
EXP_TAG_FIREWORK = 38,
EXP_TAG_SNOWBALL = 39,
EXP_TAG_PROXMINE = 40,
EXP_TAG_VALKYRIE_CANNON = 41,
EXP_TAG_AIR_DEFENCE = 42,
EXP_TAG_PIPEBOMB = 43,
EXP_TAG_VEHICLEMINE = 44,
EXP_TAG_EXPLOSIVEAMMO = 45,
EXP_TAG_APCSHELL = 46,
EXP_TAG_BOMB_CLUSTER = 47,
EXP_TAG_BOMB_GAS = 48,
EXP_TAG_BOMB_INCENDIARY = 49,
EXP_TAG_BOMB_STANDARD = 50,
EXP_TAG_TORPEDO = 51,
EXP_TAG_TORPEDO_UNDERWATER = 52,
EXP_TAG_BOMBUSHKA_CANNON = 53,
EXP_TAG_BOMB_CLUSTER_SECONDARY = 54,
EXP_TAG_HUNTER_BARRAGE = 55,
EXP_TAG_HUNTER_CANNON = 56,
EXP_TAG_ROGUE_CANNON = 57,
EXP_TAG_MINE_UNDERWATER = 58,
EXP_TAG_ORBITAL_CANNON = 59,
EXP_TAG_BOMB_STANDARD_WIDE = 60,
EXP_TAG_EXPLOSIVEAMMO_SHOTGUN = 61,
EXP_TAG_OPPRESSOR2_CANNON = 62,
EXP_TAG_MORTAR_KINETIC = 63,
EXP_TAG_VEHICLEMINE_KINETIC = 64,
EXP_TAG_VEHICLEMINE_EMP = 65,
EXP_TAG_VEHICLEMINE_SPIKE = 66,
EXP_TAG_VEHICLEMINE_SLICK = 67,
EXP_TAG_VEHICLEMINE_TAR = 68,
EXP_TAG_SCRIPT_DRONE = 69,
EXP_TAG_RAYGUN = 70,
EXP_TAG_BURIEDMINE = 71,
EXP_TAG_SCRIPT_MISSILE = 72,
EXP_TAG_RCTANK_ROCKET = 73,
EXP_TAG_BOMB_WATER = 74,
EXP_TAG_BOMB_WATER_SECONDARY = 75,
_0xF728C4A9 = 76,
_0xBAEC056F = 77,
EXP_TAG_FLASHGRENADE = 78,
EXP_TAG_STUNGRENADE = 79,
_0x763D3B3B = 80,
EXP_TAG_SCRIPT_MISSILE_LARGE = 81,
EXP_TAG_SUBMARINE_BIG = 82,
};
```

## Parameters
Expand Down
1 change: 1 addition & 0 deletions HUD/N_0xf83d0febe75e62c9.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ void _0xF83D0FEBE75E62C9(Any p0, Any p1, Any p2, Any p3, Any p4, Any p5, Any p6,
```
```
NativeDB Added Parameter 9: Any p8
NativeDB Introduced: v1290
```
Expand Down
3 changes: 3 additions & 0 deletions HUD/SetBlipShowCone.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ ns: HUD
void SET_BLIP_SHOW_CONE(Blip blip, BOOL toggle);
```
```
NativeDB Added Parameter 3: Any p2
```
## Parameters
* **blip**:
Expand Down
2 changes: 1 addition & 1 deletion HUD/SetMinimapAltitudeIndicatorLevel.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Argument must be 0.0f or above 38.0f, or it will be ignored.
```
```
NativeDB Added Parameter 3: int p2
NativeDB Added Parameter 3: Any p2
```
## Parameters
Expand Down
Loading

0 comments on commit ee4c44a

Please sign in to comment.