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