{"hash":"0xCFB06801F5099B25","ns":"ITEMDATABASE","name":"_ITEMDATABASE_GET_SHOP_INVENTORIES_ITEM_INFO_BY_KEY","slug":"_ITEMDATABASE_GET_SHOP_INVENTORIES_ITEM_INFO_BY_KEY","official":false,"named":true,"luaName":"ItemdatabaseGetShopInventoriesItemInfoByKey","game":"rdr3","apiset":"client","returnType":"BOOL","params":[{"name":"shopType","type":"Hash"},{"name":"key","type":"Hash"},{"name":"outData","type":"Any*"}],"summary":"Same Native Function as 0x17721003A66C72BF","descriptions":[{"source":"alloc8or","format":"text","body":"Same Native Function as 0x17721003A66C72BF"}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/ITEMDATABASE/_ITEMDATABASE_GET_SHOP_INVENTORIES_ITEM_INFO_BY_KEY","markdownUrl":"https://natives.borderlinerp.com/natives/ITEMDATABASE/_ITEMDATABASE_GET_SHOP_INVENTORIES_ITEM_INFO_BY_KEY.md","snippets":{"lua":"local retval, outData = ItemdatabaseGetShopInventoriesItemInfoByKey(shopType, key, outData)","luaInvoke":"local retval, outData = Citizen.InvokeNative(0xCFB06801F5099B25, shopType, key, Citizen.PointerValueIntInitialized(outData), Citizen.ReturnResultAnyway())","js":"const [retval, outData] = ItemdatabaseGetShopInventoriesItemInfoByKey(shopType, key, outData);","jsInvoke":"const [retval, outData] = Citizen.invokeNative('0xCFB06801F5099B25', shopType, key, Citizen.pointerValueIntInitialized(outData), Citizen.returnResultAnyway());","csharp":"var outData = new OutputArgument();\nbool retval = Function.Call<bool>((Hash)0xCFB06801F5099B25, shopType, key, 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."]}}