{"hash":"0x6452B1D357D81742","ns":"INVENTORY","name":"_GET_DEFAULT_ITEM_SLOT_INFO","slug":"_GET_DEFAULT_ITEM_SLOT_INFO","official":false,"named":true,"luaName":"GetDefaultItemSlotInfo","game":"rdr3","apiset":"client","returnType":"Hash","params":[{"name":"item","type":"Hash"},{"name":"p1","type":"Hash"}],"summary":"Returns slot hash","descriptions":[{"source":"alloc8or","format":"text","body":"p1: WARDROBE, KIT_CAMP, CHARACTER, KIT_MOONSHINER_PROPERTY\nReturns slot hash"}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/INVENTORY/_GET_DEFAULT_ITEM_SLOT_INFO","markdownUrl":"https://natives.borderlinerp.com/natives/INVENTORY/_GET_DEFAULT_ITEM_SLOT_INFO.md","snippets":{"lua":"local retval = GetDefaultItemSlotInfo(item, p1)","luaInvoke":"local retval = Citizen.InvokeNative(0x6452B1D357D81742, item, p1, Citizen.ResultAsInteger())","js":"const retval = GetDefaultItemSlotInfo(item, p1);","jsInvoke":"const retval = Citizen.invokeNative('0x6452B1D357D81742', item, p1, Citizen.returnResultAnyway(), Citizen.resultAsInteger());","csharp":"int retval = Function.Call<int>((Hash)0x6452B1D357D81742, item, p1);","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 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."]}}