{"hash":"0x74F7928816E4E181","ns":"ITEMDATABASE","name":"_ITEMDATABASE_FILLOUT_ACQUIRE_COST","slug":"_ITEMDATABASE_FILLOUT_ACQUIRE_COST","official":false,"named":true,"luaName":"ItemdatabaseFilloutAcquireCost","game":"rdr3","apiset":"client","returnType":"BOOL","params":[{"name":"key","type":"Hash"},{"name":"costtype","type":"Hash"},{"name":"outData","type":"Any*"}],"summary":"","descriptions":[],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or"],"doc":1,"url":"https://natives.borderlinerp.com/natives/ITEMDATABASE/_ITEMDATABASE_FILLOUT_ACQUIRE_COST","markdownUrl":"https://natives.borderlinerp.com/natives/ITEMDATABASE/_ITEMDATABASE_FILLOUT_ACQUIRE_COST.md","snippets":{"lua":"local retval, outData = ItemdatabaseFilloutAcquireCost(key, costtype, outData)","luaInvoke":"local retval, outData = Citizen.InvokeNative(0x74F7928816E4E181, key, costtype, Citizen.PointerValueIntInitialized(outData), Citizen.ReturnResultAnyway())","js":"const [retval, outData] = ItemdatabaseFilloutAcquireCost(key, costtype, outData);","jsInvoke":"const [retval, outData] = Citizen.invokeNative('0x74F7928816E4E181', key, costtype, Citizen.pointerValueIntInitialized(outData), Citizen.returnResultAnyway());","csharp":"var outData = new OutputArgument();\nbool retval = Function.Call<bool>((Hash)0x74F7928816E4E181, key, costtype, outData);\n// outData.GetResult<int>()","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 last argument is an in/out pointer: pass its initial value, and the updated value is returned after the result.","`Any*` arguments are often structs. Build them with a DataView buffer and pass it with `:Buffer()` — see the examples and notes below.","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."]}}