{"hash":"0x01FDDAD392D04144","ns":"ITEMDATABASE","name":"_ITEMDATABASE_GET_ACQUIRE_COSTS_COUNT","slug":"_ITEMDATABASE_GET_ACQUIRE_COSTS_COUNT","official":false,"named":true,"luaName":"ItemdatabaseGetAcquireCostsCount","game":"rdr3","apiset":"client","returnType":"int","params":[{"name":"key","type":"Hash"}],"summary":"Returns the number of <Item>s <acquirecosts> has from the key in catalog_sp.ymt","descriptions":[{"source":"alloc8or","format":"text","body":"Returns the number of <Item>s <acquirecosts> has from the key in catalog_sp.ymt"}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/ITEMDATABASE/_ITEMDATABASE_GET_ACQUIRE_COSTS_COUNT","markdownUrl":"https://natives.borderlinerp.com/natives/ITEMDATABASE/_ITEMDATABASE_GET_ACQUIRE_COSTS_COUNT.md","snippets":{"lua":"local retval = ItemdatabaseGetAcquireCostsCount(key)","luaInvoke":"local retval = Citizen.InvokeNative(0x01FDDAD392D04144, key, Citizen.ResultAsInteger())","js":"const retval = ItemdatabaseGetAcquireCostsCount(key);","jsInvoke":"const retval = Citizen.invokeNative('0x01FDDAD392D04144', key, Citizen.returnResultAnyway(), Citizen.resultAsInteger());","csharp":"int retval = Function.Call<int>((Hash)0x01FDDAD392D04144, key);","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` ``.","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."]}}