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