{"hash":"0xA63CD20F19B961AB","ns":"DATAFILE","name":"_PARSEDDATA_GET_BOOL","slug":"_PARSEDDATA_GET_BOOL","official":false,"named":true,"luaName":"ParseddataGetBool","game":"rdr3","apiset":"client","returnType":"BOOL","params":[{"name":"p0","type":"BOOL*"},{"name":"p1","type":"Any*"},{"name":"p2","type":"Hash"}],"summary":"","descriptions":[],"examples":[],"aliases":[],"enums":[],"related":["0x175E915A486EE548","0xAB1231D2DE52F2D3"],"build":"1207","sources":["alloc8or"],"doc":1,"url":"https://natives.borderlinerp.com/natives/DATAFILE/_PARSEDDATA_GET_BOOL","markdownUrl":"https://natives.borderlinerp.com/natives/DATAFILE/_PARSEDDATA_GET_BOOL.md","snippets":{"lua":"local retval, p0, p1 = ParseddataGetBool(p2)","luaInvoke":"local retval, p0, p1 = Citizen.InvokeNative(0xA63CD20F19B961AB, Citizen.PointerValueInt() --[[ BOOL* ]], Citizen.PointerValueInt(), p2, Citizen.ReturnResultAnyway())","js":"const [retval, p0, p1] = ParseddataGetBool(p2);","jsInvoke":"const [retval, p0, p1] = Citizen.invokeNative('0xA63CD20F19B961AB', Citizen.pointerValueInt() /* BOOL* */, Citizen.pointerValueInt(), p2, Citizen.returnResultAnyway());","csharp":"var p0 = new OutputArgument();\nvar p1 = new OutputArgument();\nbool retval = Function.Call<bool>((Hash)0xA63CD20F19B961AB, p0, p1, p2);\n// p0.GetResult<bool>()\n// p1.GetResult<int>()","notes":["Hash parameters: the named function also accepts a string and hashes it for you; `Citizen.InvokeNative` needs the number — pass `joaat(\"name\")` or a backtick literal like `` `name` ``.","Pointer (out) arguments are not passed in Lua/JS: their values are returned after the result, in order.","`Any*` arguments are often structs. Build them with a DataView buffer and pass it with `:Buffer()` — see the examples and notes below.","The name is a community guess and may change. If the named call is missing in your client build, use `InvokeNative` with the hash — it always works."]}}