{"hash":"0x6B89FAA36FC909A3","ns":"PED","name":"_COMPUTE_SATCHEL_ITEM_FOR_PED_CARCASS","slug":"_COMPUTE_SATCHEL_ITEM_FOR_PED_CARCASS","official":false,"named":true,"luaName":"ComputeSatchelItemForPedCarcass","game":"rdr3","apiset":"client","returnType":"int","params":[{"name":"outInventoryItemArray","type":"Any*"},{"name":"ped","type":"Ped"},{"name":"damageCleanliness","type":"int"},{"name":"skinningQuality","type":"int"}],"summary":"Related to dead animals items/loots","descriptions":[{"source":"alloc8or","format":"text","body":"Related to dead animals items/loots\nNotice: skinningQuality is partially calculated using pedQuality"}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/PED/_COMPUTE_SATCHEL_ITEM_FOR_PED_CARCASS","markdownUrl":"https://natives.borderlinerp.com/natives/PED/_COMPUTE_SATCHEL_ITEM_FOR_PED_CARCASS.md","snippets":{"lua":"local retval, outInventoryItemArray = ComputeSatchelItemForPedCarcass(ped, damageCleanliness, skinningQuality)","luaInvoke":"local retval, outInventoryItemArray = Citizen.InvokeNative(0x6B89FAA36FC909A3, Citizen.PointerValueInt(), ped, damageCleanliness, skinningQuality, Citizen.ResultAsInteger())","js":"const [retval, outInventoryItemArray] = ComputeSatchelItemForPedCarcass(ped, damageCleanliness, skinningQuality);","jsInvoke":"const [retval, outInventoryItemArray] = Citizen.invokeNative('0x6B89FAA36FC909A3', Citizen.pointerValueInt(), ped, damageCleanliness, skinningQuality, Citizen.returnResultAnyway(), Citizen.resultAsInteger());","csharp":"var outInventoryItemArray = new OutputArgument();\nint retval = Function.Call<int>((Hash)0x6B89FAA36FC909A3, outInventoryItemArray, ped, damageCleanliness, skinningQuality);\n// outInventoryItemArray.GetResult<int>()","notes":["Pointer (out) arguments are not passed in Lua/JS: their values are returned after the result, in order.","`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."]}}