{"hash":"0xA010655985853485","ns":"DATAFILE","name":"DATAARRAY_GET_DICT","slug":"DATAARRAY_GET_DICT","official":true,"named":true,"luaName":"DataarrayGetDict","game":"rdr3","apiset":"client","returnType":"Any*","params":[{"name":"arrayData","type":"Any*"},{"name":"arrayIndex","type":"int"}],"summary":"","descriptions":[],"examples":[],"aliases":[],"enums":[],"related":["0x4D7A30130F46AC9C"],"build":"1207","gtaHash":"0x8B5FADCC4E3A145F","gtaJhash":"0xECE81278","sources":["alloc8or"],"doc":1,"url":"https://natives.borderlinerp.com/natives/DATAFILE/DATAARRAY_GET_DICT","markdownUrl":"https://natives.borderlinerp.com/natives/DATAFILE/DATAARRAY_GET_DICT.md","snippets":{"lua":"local retval, arrayData = DataarrayGetDict(arrayIndex)","luaInvoke":"local retval, arrayData = Citizen.InvokeNative(0xA010655985853485, Citizen.PointerValueInt(), arrayIndex, Citizen.ResultAsLong())","js":"const [retval, arrayData] = DataarrayGetDict(arrayIndex);","jsInvoke":"const [retval, arrayData] = Citizen.invokeNative('0xA010655985853485', Citizen.pointerValueInt(), arrayIndex, Citizen.returnResultAnyway(), Citizen.resultAsLong());","csharp":"var arrayData = new OutputArgument();\nlong retval = Function.Call<long>((Hash)0xA010655985853485, arrayData, arrayIndex);\n// arrayData.GetResult<int>()","notes":["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."]}}