{"hash":"0x308F96458B7087CC","ns":"NETWORK","name":"UGC_TEXTURE_DOWNLOAD_REQUEST","slug":"UGC_TEXTURE_DOWNLOAD_REQUEST","official":true,"named":true,"luaName":"UgcTextureDownloadRequest","game":"rdr3","apiset":"client","returnType":"int","params":[{"name":"p0","type":"Any*"},{"name":"p1","type":"Any"},{"name":"p2","type":"Any"},{"name":"p3","type":"Any"},{"name":"p4","type":"Any*"},{"name":"p5","type":"BOOL"}],"summary":"","descriptions":[],"examples":[],"aliases":[],"enums":[],"related":["0x9B5DB6CEAFAA10BB"],"build":"1207","gtaHash":"0x308F96458B7087CC","gtaJhash":"0x68C9AF69","sources":["alloc8or"],"doc":1,"url":"https://natives.borderlinerp.com/natives/NETWORK/UGC_TEXTURE_DOWNLOAD_REQUEST","markdownUrl":"https://natives.borderlinerp.com/natives/NETWORK/UGC_TEXTURE_DOWNLOAD_REQUEST.md","snippets":{"lua":"local retval, p0, p4 = UgcTextureDownloadRequest(p1, p2, p3, p5)","luaInvoke":"local retval, p0, p4 = Citizen.InvokeNative(0x308F96458B7087CC, Citizen.PointerValueInt(), p1, p2, p3, Citizen.PointerValueInt(), p5, Citizen.ResultAsInteger())","js":"const [retval, p0, p4] = UgcTextureDownloadRequest(p1, p2, p3, p5);","jsInvoke":"const [retval, p0, p4] = Citizen.invokeNative('0x308F96458B7087CC', Citizen.pointerValueInt(), p1, p2, p3, Citizen.pointerValueInt(), p5, Citizen.returnResultAnyway(), Citizen.resultAsInteger());","csharp":"var p0 = new OutputArgument();\nvar p4 = new OutputArgument();\nint retval = Function.Call<int>((Hash)0x308F96458B7087CC, p0, p1, p2, p3, p4, p5);\n// p0.GetResult<int>()\n// p4.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."]}}