{"hash":"0x7A35A72A692BE9DB","ns":"ITEMDATABASE","name":"_ITEMDATABASE_GET_BUNDLE_ACQUIRE_COSTS_COUNT","slug":"_ITEMDATABASE_GET_BUNDLE_ACQUIRE_COSTS_COUNT","official":false,"named":true,"luaName":"ItemdatabaseGetBundleAcquireCostsCount","game":"rdr3","apiset":"client","returnType":"int","params":[{"name":"bundle","type":"Hash"}],"summary":"Returns the count of acquire costs in a bundle.","descriptions":[{"source":"alloc8or","format":"text","body":"Returns the count of acquire costs in a bundle."},{"source":"vorp","format":"text","body":"eg: BUNDLE_CLOTHING_ITEM_F_OFFHAND_000_TINT_001"}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or","vorp"],"doc":2,"url":"https://natives.borderlinerp.com/natives/ITEMDATABASE/_ITEMDATABASE_GET_BUNDLE_ACQUIRE_COSTS_COUNT","markdownUrl":"https://natives.borderlinerp.com/natives/ITEMDATABASE/_ITEMDATABASE_GET_BUNDLE_ACQUIRE_COSTS_COUNT.md","snippets":{"lua":"local retval = ItemdatabaseGetBundleAcquireCostsCount(bundle)","luaInvoke":"local retval = Citizen.InvokeNative(0x7A35A72A692BE9DB, bundle, Citizen.ResultAsInteger())","js":"const retval = ItemdatabaseGetBundleAcquireCostsCount(bundle);","jsInvoke":"const retval = Citizen.invokeNative('0x7A35A72A692BE9DB', bundle, Citizen.returnResultAnyway(), Citizen.resultAsInteger());","csharp":"int retval = Function.Call<int>((Hash)0x7A35A72A692BE9DB, bundle);","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."]}}