{"hash":"0xD05590C1AB38F068","ns":"UIFEED","name":"_UI_FEED_POST_LOCATION_SHARD","slug":"_UI_FEED_POST_LOCATION_SHARD","official":false,"named":true,"luaName":"UiFeedPostLocationShard","game":"rdr3","apiset":"client","returnType":"int","params":[{"name":"duration","type":"Any*"},{"name":"data","type":"Any*"},{"name":"p2","type":"BOOL"},{"name":"p3","type":"BOOL"}],"summary":"","descriptions":[{"source":"alloc8or","format":"text","body":"Example : https://pastebin.com/h1YzycuR"}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/UIFEED/_UI_FEED_POST_LOCATION_SHARD","markdownUrl":"https://natives.borderlinerp.com/natives/UIFEED/_UI_FEED_POST_LOCATION_SHARD.md","snippets":{"lua":"local retval, duration, data = UiFeedPostLocationShard(p2, p3)","luaInvoke":"local retval, duration, data = Citizen.InvokeNative(0xD05590C1AB38F068, Citizen.PointerValueInt(), Citizen.PointerValueInt(), p2, p3, Citizen.ResultAsInteger())","js":"const [retval, duration, data] = UiFeedPostLocationShard(p2, p3);","jsInvoke":"const [retval, duration, data] = Citizen.invokeNative('0xD05590C1AB38F068', Citizen.pointerValueInt(), Citizen.pointerValueInt(), p2, p3, Citizen.returnResultAnyway(), Citizen.resultAsInteger());","csharp":"var duration = new OutputArgument();\nvar data = new OutputArgument();\nint retval = Function.Call<int>((Hash)0xD05590C1AB38F068, duration, data, p2, p3);\n// duration.GetResult<int>()\n// data.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."]}}