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