{"hash":"0xA88E215CEB0435C0","ns":"ENTITY","name":"_REQUEST_ENTITY_LOOT_LIST","slug":"_REQUEST_ENTITY_LOOT_LIST","official":false,"named":true,"luaName":"RequestEntityLootList","game":"rdr3","apiset":"client","returnType":"BOOL","params":[{"name":"mount","type":"Ped"},{"name":"argStruct","type":"Any*"},{"name":"visiblelootslotrequestType","type":"Hash"},{"name":"flag","type":"int"},{"name":"p4","type":"int"},{"name":"p5","type":"BOOL"}],"summary":"","descriptions":[],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or"],"doc":1,"url":"https://natives.borderlinerp.com/natives/ENTITY/_REQUEST_ENTITY_LOOT_LIST","markdownUrl":"https://natives.borderlinerp.com/natives/ENTITY/_REQUEST_ENTITY_LOOT_LIST.md","snippets":{"lua":"local retval, argStruct = RequestEntityLootList(mount, visiblelootslotrequestType, flag, p4, p5)","luaInvoke":"local retval, argStruct = Citizen.InvokeNative(0xA88E215CEB0435C0, mount, Citizen.PointerValueInt(), visiblelootslotrequestType, flag, p4, p5, Citizen.ReturnResultAnyway())","js":"const [retval, argStruct] = RequestEntityLootList(mount, visiblelootslotrequestType, flag, p4, p5);","jsInvoke":"const [retval, argStruct] = Citizen.invokeNative('0xA88E215CEB0435C0', mount, Citizen.pointerValueInt(), visiblelootslotrequestType, flag, p4, p5, Citizen.returnResultAnyway());","csharp":"var argStruct = new OutputArgument();\nbool retval = Function.Call<bool>((Hash)0xA88E215CEB0435C0, mount, argStruct, visiblelootslotrequestType, flag, p4, p5);\n// argStruct.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.","`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."]}}