{"hash":"0x6C9F12700BCE69F4","ns":"NETSHOPPING","name":"_CASHINVENTORY_TRANSACTION_VALIDATE_ITEM","slug":"_CASHINVENTORY_TRANSACTION_VALIDATE_ITEM","official":false,"named":true,"luaName":"CashinventoryTransactionValidateItem","game":"rdr3","apiset":"client","returnType":"int","params":[{"name":"p0","type":"Hash"},{"name":"p1","type":"Any*"}],"summary":"","descriptions":[],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or"],"doc":1,"url":"https://natives.borderlinerp.com/natives/NETSHOPPING/_CASHINVENTORY_TRANSACTION_VALIDATE_ITEM","markdownUrl":"https://natives.borderlinerp.com/natives/NETSHOPPING/_CASHINVENTORY_TRANSACTION_VALIDATE_ITEM.md","snippets":{"lua":"local retval, p1 = CashinventoryTransactionValidateItem(p0, p1)","luaInvoke":"local retval, p1 = Citizen.InvokeNative(0x6C9F12700BCE69F4, p0, Citizen.PointerValueIntInitialized(p1), Citizen.ResultAsInteger())","js":"const [retval, p1] = CashinventoryTransactionValidateItem(p0, p1);","jsInvoke":"const [retval, p1] = Citizen.invokeNative('0x6C9F12700BCE69F4', p0, Citizen.pointerValueIntInitialized(p1), Citizen.returnResultAnyway(), Citizen.resultAsInteger());","csharp":"var p1 = new OutputArgument();\nint retval = Function.Call<int>((Hash)0x6C9F12700BCE69F4, p0, p1);\n// p1.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."]}}