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