_UI_FEED_POST_SAMPLE_NOTIFICATION
Based on its name and signature, here is our best reading:
Posts a sample-style notification to the UI feed from the given data and returns the feed message id.
Signature
int _UI_FEED_POST_SAMPLE_NOTIFICATION(Any* p0, Any* p1, int p2, int p3); // 0xC927890AA64E9661 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | p0 | Any* (out pointer) |
| 2 | p1 | Any* (out pointer) |
| 3 | p2 | int |
| 4 | p3 | int |
Facts
| Name | _UI_FEED_POST_SAMPLE_NOTIFICATION |
|---|---|
| Hash | 0xC927890AA64E9661 |
| Namespace | |
| Returns | int |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local result, p0, p1 = Citizen.InvokeNative(0xC927890AA64E9661, -- _UI_FEED_POST_SAMPLE_NOTIFICATION
Citizen.PointerValueInt(), -- Any* p0
Citizen.PointerValueInt(), -- Any* p1
0, -- int p2
0, -- int p3
Citizen.ResultAsInteger()
)
print(result, p0, p1)const [result, p0, p1] = Citizen.invokeNative("0xC927890AA64E9661", // _UI_FEED_POST_SAMPLE_NOTIFICATION
Citizen.pointerValueInt(), // Any* p0
Citizen.pointerValueInt(), // Any* p1
0, // int p2
0, // int p3
Citizen.resultAsInteger()
);
console.log(result, p0, p1)var p0Arg = new OutputArgument();
var p1Arg = new OutputArgument();
int result = Function.Call<int>((Hash)0xC927890AA64E9661, // _UI_FEED_POST_SAMPLE_NOTIFICATION
p0Arg, // Any* p0
p1Arg, // Any* p1
0, // int p2
0 // int p3
);
int p0 = p0Arg.GetResult<int>();
int p1 = p1Arg.GetResult<int>();Related UIFEED natives
- _UI_FEED_POST_SAMPLE_TOAST
- _UI_FEED_POST_SAMPLE_TOAST_RIGHT
- _UI_FEED_POST_SAMPLE_TOAST_WITH_APP_LINK
- _UI_FEED_POST_FEED_TICKER
- _UI_FEED_POST_VOICE_CHAT_FEED
- _UI_FEED_POST_GAME_UPDATE_SHARD
- _UI_FEED_POST_HELP_TEXT
- _UI_FEED_POST_LOCATION_SHARD
- _UI_FEED_POST_MISSION_NAME
- _UI_FEED_POST_OBJECTIVE
- _UI_FEED_POST_ONE_TEXT_SHARD
- _UI_FEED_POST_RANKUP_TOAST
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.