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