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