{"hash":"0xF58A0C0E086E8E36","ns":"COMPENDIUM","name":"COMPENDIUM_GET_NUM_ENTRIES_IN_SUBCATEGORY","slug":"COMPENDIUM_GET_NUM_ENTRIES_IN_SUBCATEGORY","official":true,"named":true,"luaName":"CompendiumGetNumEntriesInSubcategory","game":"rdr3","apiset":"client","returnType":"int","params":[{"name":"category","type":"Hash"},{"name":"subcategory","type":"Hash"}],"summary":"","descriptions":[],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1311","sources":["alloc8or"],"doc":1,"url":"https://natives.borderlinerp.com/natives/COMPENDIUM/COMPENDIUM_GET_NUM_ENTRIES_IN_SUBCATEGORY","markdownUrl":"https://natives.borderlinerp.com/natives/COMPENDIUM/COMPENDIUM_GET_NUM_ENTRIES_IN_SUBCATEGORY.md","snippets":{"lua":"local retval = CompendiumGetNumEntriesInSubcategory(category, subcategory)","luaInvoke":"local retval = Citizen.InvokeNative(0xF58A0C0E086E8E36, category, subcategory, Citizen.ResultAsInteger())","js":"const retval = CompendiumGetNumEntriesInSubcategory(category, subcategory);","jsInvoke":"const retval = Citizen.invokeNative('0xF58A0C0E086E8E36', category, subcategory, Citizen.returnResultAnyway(), Citizen.resultAsInteger());","csharp":"int retval = Function.Call<int>((Hash)0xF58A0C0E086E8E36, category, subcategory);","notes":["Hash parameters: the named function also accepts a string and hashes it for you; `Citizen.InvokeNative` needs the number — pass `joaat(\"name\")` or a backtick literal like `` `name` ``."]}}