{"hash":"0xF32BEF578B3DBAE8","ns":"ITEMDATABASE","name":"_ITEMDATABASE_GET_SHOP_LAYOUT_PAGE_ITEM_KEY","slug":"_ITEMDATABASE_GET_SHOP_LAYOUT_PAGE_ITEM_KEY","official":false,"named":true,"luaName":"ItemdatabaseGetShopLayoutPageItemKey","game":"rdr3","apiset":"client","returnType":"BOOL","params":[{"name":"layout","type":"Hash"},{"name":"pageKey","type":"Hash"},{"name":"index","type":"int"},{"name":"outItemKey","type":"Hash*"},{"name":"outMenuId","type":"int*"},{"name":"outLayout","type":"Hash*"}],"summary":"","descriptions":[],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or"],"doc":1,"url":"https://natives.borderlinerp.com/natives/ITEMDATABASE/_ITEMDATABASE_GET_SHOP_LAYOUT_PAGE_ITEM_KEY","markdownUrl":"https://natives.borderlinerp.com/natives/ITEMDATABASE/_ITEMDATABASE_GET_SHOP_LAYOUT_PAGE_ITEM_KEY.md","snippets":{"lua":"local retval, outItemKey, outMenuId, outLayout = ItemdatabaseGetShopLayoutPageItemKey(layout, pageKey, index)","luaInvoke":"local retval, outItemKey, outMenuId, outLayout = Citizen.InvokeNative(0xF32BEF578B3DBAE8, layout, pageKey, index, Citizen.PointerValueInt(), Citizen.PointerValueInt(), Citizen.PointerValueInt(), Citizen.ReturnResultAnyway())","js":"const [retval, outItemKey, outMenuId, outLayout] = ItemdatabaseGetShopLayoutPageItemKey(layout, pageKey, index);","jsInvoke":"const [retval, outItemKey, outMenuId, outLayout] = Citizen.invokeNative('0xF32BEF578B3DBAE8', layout, pageKey, index, Citizen.pointerValueInt(), Citizen.pointerValueInt(), Citizen.pointerValueInt(), Citizen.returnResultAnyway());","csharp":"var outItemKey = new OutputArgument();\nvar outMenuId = new OutputArgument();\nvar outLayout = new OutputArgument();\nbool retval = Function.Call<bool>((Hash)0xF32BEF578B3DBAE8, layout, pageKey, index, outItemKey, outMenuId, outLayout);\n// outItemKey.GetResult<int>()\n// outMenuId.GetResult<int>()\n// outLayout.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` ``.","Pointer (out) arguments are not passed in Lua/JS: their values are returned after the result, in order.","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."]}}