_PARSEDDATA_GET_SECTION
Based on its name and signature, here is our best reading:
Looks up the section identified by section in parsed data and returns true if it exists.
Signature
BOOL _PARSEDDATA_GET_SECTION(Hash* p0, Any* p1, Hash section); // 0x44B3A36933AC009C b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | p0 | Hash* (out pointer) |
| 2 | p1 | Any* (out pointer) |
| 3 | section | Hash |
Facts
| Name | _PARSEDDATA_GET_SECTION |
|---|---|
| Hash | 0x44B3A36933AC009C |
| Namespace | |
| Returns | BOOL |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local result, p0, p1 = Citizen.InvokeNative(0x44B3A36933AC009C, -- _PARSEDDATA_GET_SECTION
Citizen.PointerValueInt(), -- Hash* p0
Citizen.PointerValueInt(), -- Any* p1
GetHashKey("name"), -- Hash section
Citizen.ReturnResultAnyway()
)
if result then
-- ...
endconst [result, p0, p1] = Citizen.invokeNative("0x44B3A36933AC009C", // _PARSEDDATA_GET_SECTION
Citizen.pointerValueInt(), // Hash* p0
Citizen.pointerValueInt(), // Any* p1
GetHashKey("name"), // Hash section
Citizen.returnResultAnyway()
);
if (result) {
// ...
}var p0Arg = new OutputArgument();
var p1Arg = new OutputArgument();
bool result = Function.Call<bool>((Hash)0x44B3A36933AC009C, // _PARSEDDATA_GET_SECTION
p0Arg, // Hash* p0
p1Arg, // Any* p1
(uint)API.GetHashKey("name") // Hash section
);
int p0 = p0Arg.GetResult<int>();
int p1 = p1Arg.GetResult<int>();Related DATAFILE natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.