{"hash":"0x16160DA74A8E74A2","ns":"NETWORK","name":"TEXTURE_DOWNLOAD_REQUEST","slug":"TEXTURE_DOWNLOAD_REQUEST","official":true,"named":true,"luaName":"TextureDownloadRequest","game":"rdr3","apiset":"client","returnType":"int","params":[{"name":"gamerHandle","type":"Any*"},{"name":"filePath","type":"const char*"},{"name":"name","type":"const char*"},{"name":"p3","type":"BOOL"}],"summary":"Returns textureDownloadId","descriptions":[{"source":"alloc8or","format":"text","body":"Returns textureDownloadId"}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","gtaHash":"0x16160DA74A8E74A2","gtaJhash":"0xAD546CC3","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/NETWORK/TEXTURE_DOWNLOAD_REQUEST","markdownUrl":"https://natives.borderlinerp.com/natives/NETWORK/TEXTURE_DOWNLOAD_REQUEST.md","snippets":{"lua":"local retval, gamerHandle = TextureDownloadRequest(filePath, name, p3)","luaInvoke":"local retval, gamerHandle = Citizen.InvokeNative(0x16160DA74A8E74A2, Citizen.PointerValueInt(), filePath, name, p3, Citizen.ResultAsInteger())","js":"const [retval, gamerHandle] = TextureDownloadRequest(filePath, name, p3);","jsInvoke":"const [retval, gamerHandle] = Citizen.invokeNative('0x16160DA74A8E74A2', Citizen.pointerValueInt(), filePath, name, p3, Citizen.returnResultAnyway(), Citizen.resultAsInteger());","csharp":"var gamerHandle = new OutputArgument();\nint retval = Function.Call<int>((Hash)0x16160DA74A8E74A2, gamerHandle, filePath, name, p3);\n// gamerHandle.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."]}}