{"hash":"0x69D22E183580113F","ns":"NETWORK","name":"_UGC_QUERY_BY_CONTENT_ID","slug":"_UGC_QUERY_BY_CONTENT_ID","official":false,"named":true,"luaName":"UgcQueryByContentId","game":"rdr3","apiset":"client","returnType":"int","params":[{"name":"contentId","type":"const char*"},{"name":"latestVersion","type":"BOOL"},{"name":"contentTypeName","type":"const char*"}],"summary":"Returns ugcRequestId","descriptions":[{"source":"alloc8or","format":"text","body":"Returns ugcRequestId"}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/NETWORK/_UGC_QUERY_BY_CONTENT_ID","markdownUrl":"https://natives.borderlinerp.com/natives/NETWORK/_UGC_QUERY_BY_CONTENT_ID.md","snippets":{"lua":"local retval = UgcQueryByContentId(contentId, latestVersion, contentTypeName)","luaInvoke":"local retval = Citizen.InvokeNative(0x69D22E183580113F, contentId, latestVersion, contentTypeName, Citizen.ResultAsInteger())","js":"const retval = UgcQueryByContentId(contentId, latestVersion, contentTypeName);","jsInvoke":"const retval = Citizen.invokeNative('0x69D22E183580113F', contentId, latestVersion, contentTypeName, Citizen.returnResultAnyway(), Citizen.resultAsInteger());","csharp":"int retval = Function.Call<int>((Hash)0x69D22E183580113F, contentId, latestVersion, contentTypeName);","notes":["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."]}}