{"hash":"0xD389A2549C4EFB30","ns":"ITEMDATABASE","name":"_ITEMDATABASE_GET_COLLECTION_SIZE","slug":"_ITEMDATABASE_GET_COLLECTION_SIZE","official":false,"named":true,"luaName":"ItemdatabaseGetCollectionSize","game":"rdr3","apiset":"client","returnType":"int","params":[{"name":"collectionId","type":"int"}],"summary":"Returns (collection?) size/index (?) _ITEMDATABASE_GET_(A)* - _ITEMDATABASE_GET_(B)*","descriptions":[{"source":"alloc8or","format":"text","body":"Returns (collection?) size/index (?)\n_ITEMDATABASE_GET_(A)* - _ITEMDATABASE_GET_(B)*"}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/ITEMDATABASE/_ITEMDATABASE_GET_COLLECTION_SIZE","markdownUrl":"https://natives.borderlinerp.com/natives/ITEMDATABASE/_ITEMDATABASE_GET_COLLECTION_SIZE.md","snippets":{"lua":"local retval = ItemdatabaseGetCollectionSize(collectionId)","luaInvoke":"local retval = Citizen.InvokeNative(0xD389A2549C4EFB30, collectionId, Citizen.ResultAsInteger())","js":"const retval = ItemdatabaseGetCollectionSize(collectionId);","jsInvoke":"const retval = Citizen.invokeNative('0xD389A2549C4EFB30', collectionId, Citizen.returnResultAnyway(), Citizen.resultAsInteger());","csharp":"int retval = Function.Call<int>((Hash)0xD389A2549C4EFB30, collectionId);","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."]}}