{"hash":"0x52FC26D2D2FC2987","ns":"DATAFILE","name":"_PARSEDDATA_GET_INT","slug":"_PARSEDDATA_GET_INT","official":false,"named":true,"luaName":"ParseddataGetInt","game":"rdr3","apiset":"client","returnType":"BOOL","params":[{"name":"p0","type":"Any*"},{"name":"p1","type":"Any*"},{"name":"p2","type":"Hash"}],"summary":"","descriptions":[],"examples":[],"aliases":[],"enums":[],"related":["0x9D896A3B87D96E2B","0x96DEA500B6EBBE53"],"build":"1207","sources":["alloc8or"],"doc":1,"url":"https://natives.borderlinerp.com/natives/DATAFILE/_PARSEDDATA_GET_INT","markdownUrl":"https://natives.borderlinerp.com/natives/DATAFILE/_PARSEDDATA_GET_INT.md","snippets":{"lua":"local retval, p0, p1 = ParseddataGetInt(p2)","luaInvoke":"local retval, p0, p1 = Citizen.InvokeNative(0x52FC26D2D2FC2987, Citizen.PointerValueInt(), Citizen.PointerValueInt(), p2, Citizen.ReturnResultAnyway())","js":"const [retval, p0, p1] = ParseddataGetInt(p2);","jsInvoke":"const [retval, p0, p1] = Citizen.invokeNative('0x52FC26D2D2FC2987', Citizen.pointerValueInt(), Citizen.pointerValueInt(), p2, Citizen.returnResultAnyway());","csharp":"var p0 = new OutputArgument();\nvar p1 = new OutputArgument();\nbool retval = Function.Call<bool>((Hash)0x52FC26D2D2FC2987, p0, p1, p2);\n// p0.GetResult<int>()\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."]}}