{"hash":"0x8C109958C9BB559D","ns":"NETWORK","name":"_UGC_QUERY_BY_CATEGORY","slug":"_UGC_QUERY_BY_CATEGORY","official":false,"named":true,"luaName":"UgcQueryByCategory","game":"rdr3","apiset":"client","returnType":"int","params":[{"name":"categoryType","type":"int"},{"name":"p1","type":"int"},{"name":"maxGet","type":"int"},{"name":"contentTypeName","type":"const char*"},{"name":"p4","type":"int"},{"name":"p5","type":"BOOL"}],"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_CATEGORY","markdownUrl":"https://natives.borderlinerp.com/natives/NETWORK/_UGC_QUERY_BY_CATEGORY.md","snippets":{"lua":"local retval = UgcQueryByCategory(categoryType, p1, maxGet, contentTypeName, p4, p5)","luaInvoke":"local retval = Citizen.InvokeNative(0x8C109958C9BB559D, categoryType, p1, maxGet, contentTypeName, p4, p5, Citizen.ResultAsInteger())","js":"const retval = UgcQueryByCategory(categoryType, p1, maxGet, contentTypeName, p4, p5);","jsInvoke":"const retval = Citizen.invokeNative('0x8C109958C9BB559D', categoryType, p1, maxGet, contentTypeName, p4, p5, Citizen.returnResultAnyway(), Citizen.resultAsInteger());","csharp":"int retval = Function.Call<int>((Hash)0x8C109958C9BB559D, categoryType, p1, maxGet, contentTypeName, p4, p5);","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."]}}