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